소스 검색

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 8 달 전
부모
커밋
fcd6d7b5c3

+ 54 - 1
src/api/drug/drug.js 파일 보기

@@ -731,7 +731,7 @@ export function getSelfDrugWarehouseInfoById(id,params){
731 731
 export function ModifySelfDrugWarehouse(data,patient_id,warehousing_time,warehousing_id){
732 732
  
733 733
   return request({
734
-    url:"/api/drug/modifyselfdrugwarehouse?patient_id="+patient_id+"warehousing_time="+warehousing_time+"&warehousing_id="+warehousing_id,
734
+    url:"/api/drug/modifyselfdrugwarehouse?patient_id="+patient_id+"&warehousing_time="+warehousing_time+"&warehousing_id="+warehousing_id,
735 735
     method:"post",
736 736
     data:data,
737 737
   })
@@ -818,4 +818,57 @@ export function modifySelfDrugWarehouseOut(params, warehousing_time, dealer_id,
818 818
     method:"post",
819 819
     data:params,
820 820
    })
821
+}
822
+
823
+export function getSelfDrugQuery(params){
824
+  
825
+  return request({
826
+    url:"/api/drug/getselfdrugquery",
827
+    method:"get",
828
+    params:params
829
+  })
830
+}
831
+
832
+export function checkSelfOutDrugQuery(params){
833
+  
834
+  return request({
835
+    url:"/api/drug/checkselfdrugoutquery",
836
+    method:"Get",
837
+    params:params
838
+  })
839
+}
840
+
841
+export function returnCheckSelfOutDrugQuery(params){
842
+  
843
+   return request({
844
+    url:"/api/drug/returncheckselfoutdrugquery",
845
+    method:"get",
846
+    params:params,
847
+   })
848
+}
849
+
850
+export function returnSelfCheckWarehouse(params){
851
+ 
852
+  return request({
853
+    url:"/api/drug/returnselfcheckwarehouse",
854
+    method:"get",
855
+    params:params,
856
+  })
857
+}
858
+
859
+export function getSelfDrugFlow(params){
860
+  return request({
861
+    url:"/api/drug/getselfdrugflow",
862
+    method:"Get",
863
+    params:params,
864
+  })
865
+}
866
+
867
+export function getSelfDrugBatchNumberList(params){
868
+ 
869
+  return request({
870
+    url:"/api/drug/getselfdrugbatchnumberlist",
871
+    method:"Get",
872
+    params:params
873
+  })
821 874
 }

+ 32 - 5
src/router/modules/selfPreparedMedicine.js 파일 보기

@@ -12,6 +12,22 @@ export default {
12 12
     isChild: true
13 13
   },
14 14
   children: [
15
+    // {
16
+    //   path: '/stock/selfstockquery',
17
+    //   component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),
18
+    //   name: 'stockquery',
19
+    //   meta: { title: '库存查询', noCache: true }
20
+
21
+    // },
22
+
23
+    {
24
+      path:'/stock/selfdrugquery',
25
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/selfDrugQuery'),
26
+      name: 'stockquery',
27
+      meta: { title: '自备药库存查询', noCache: true }
28
+
29
+    },
30
+
15 31
     {
16 32
       path: '/stock/selfwarehouse/info',
17 33
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/warehouseInfo'),
@@ -58,14 +74,25 @@ export default {
58 74
       hidden: true,
59 75
       is_menu: false,
60 76
     },
61
-    {
62
-      path: '/stock/selfstockquery',
63
-      component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),
64
-      name: 'stockquery',
65
-      meta: { title: '库存查询', noCache: true }
66 77
 
78
+    {
79
+      path: '/stock/selfwarehouse/selfdrugflow',
80
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/selfDrugFlow'),
81
+      name: 'selfdrugflow',
82
+      meta: { title: '自备药流水', noCache: true },
83
+      hidden: true,
84
+      is_menu: false,
67 85
     },
68 86
 
87
+    {
88
+      path: '/stock/selfwarehouse/selfdrugbatchnumber',
89
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/selfDrugBatchNumber'),
90
+      name: 'selfdrugflow',
91
+      meta: { title: '自备药批次', noCache: true },
92
+      hidden: true,
93
+      is_menu: false,
94
+    },
95
+    
69 96
     {
70 97
       path: '/stock/selfPreparedMedicineIndex',
71 98
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/index'),

+ 31 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventeen.vue 파일 보기

@@ -184,13 +184,17 @@
184 184
                     
185 185
                     <span style="display:inline-block;">
186 186
                     <label-box :isChecked="record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>:
187
-                    <label-box :isChecked="record.prescription.anticoagulant == 6 ? true : false" showValue="低分子肝素钙"></label-box>:
187
+                    <!-- <label-box :isChecked="record.prescription.anticoagulant == 6 ? true : false" showValue="低分子肝素钙"></label-box>: -->
188 188
                     <label-box :isChecked="record.prescription.anticoagulant == 8 ? true : false" showValue="依诺肝素"></label-box>:
189 189
                     <label-box :isChecked="record.prescription.anticoagulant == 16 ? true : false" showValue="低分子量肝素钙"></label-box>:
190 190
                     </span>
191
-                    <span style="display:inline-block;">
191
+                    <!-- <span style="display:inline-block;">
192 192
                         <div style="display:inline-block;width:30px;text-align:center">
193
-                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "/" }}
193
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
194
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
195
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
196
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
197
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
194 198
                         </div>
195 199
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
196 200
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
@@ -199,14 +203,20 @@
199 203
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
200 204
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
201 205
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
202
-                    </span>
206
+                        <span v-if="record.prescription.anticoagulant == 8">iu</span>
207
+                        <span v-if="record.prescription.anticoagulant == 1">iu</span>
208
+                    </span> -->
203 209
                     <span style="display:inline-block;">
204 210
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
205 211
                     </span>
206 212
                     <span style="display:inline-block;">
207 213
                         首剂:
208 214
                         <div style="display:inline-block;width:30px;text-align:center">
209
-                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "/" }}
215
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
216
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
217
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
218
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
219
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_shouji ? record.prescription.anticoagulant_shouji : "" }}
210 220
                         </div>
211 221
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
212 222
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
@@ -215,11 +225,17 @@
215 225
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
216 226
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
217 227
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
228
+                        <span v-if="record.prescription.anticoagulant == 8">iu</span>
229
+                        <span v-if="record.prescription.anticoagulant == 16">iu</span>
218 230
                     </span>
219 231
                     <span style="display:inline-block;">
220 232
                         维持:
221 233
                         <div style="display:inline-block;width:30px;text-align:center">
222
-                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "/" }}
234
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
235
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
236
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
237
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
238
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi : "" }}
223 239
                         </div>
224 240
                         <span v-if="record.prescription.anticoagulant == 5">ml/h</span>
225 241
                         <span v-if="record.prescription.anticoagulant == 4">mg/h</span>
@@ -228,11 +244,17 @@
228 244
                         <span v-if="record.prescription.anticoagulant == 1">mg/h</span>
229 245
                         <span v-if="record.prescription.anticoagulant == 6">iu/h</span>
230 246
                         <span v-if="record.prescription.anticoagulant == 7">iu/h</span>
247
+                        <span v-if="record.prescription.anticoagulant == 8">iu/h</span>
248
+                        <span v-if="record.prescription.anticoagulant == 16">iu/h</span>
231 249
                     </span>
232 250
                     <span style="display:inline-block;">
233 251
                         总量:
234 252
                         <div style="display:inline-block;width:30px;text-align:center">
235
-                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "/" }}
253
+                            {{ record.prescription.anticoagulant == 2 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
254
+                            {{ record.prescription.anticoagulant == 6 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
255
+                            {{ record.prescription.anticoagulant == 7 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
256
+                            {{ record.prescription.anticoagulant == 8 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
257
+                            {{ record.prescription.anticoagulant == 16 && record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "" }}
236 258
                         </div>
237 259
                         <span v-if="record.prescription.anticoagulant == 5">mg</span>
238 260
                         <span v-if="record.prescription.anticoagulant == 4">mg</span>
@@ -241,6 +263,8 @@
241 263
                         <span v-if="record.prescription.anticoagulant == 1">mg</span>
242 264
                         <span v-if="record.prescription.anticoagulant == 6">iu</span>
243 265
                         <span v-if="record.prescription.anticoagulant == 7">iu</span>
266
+                        <span v-if="record.prescription.anticoagulant == 8">iu</span>
267
+                        <span v-if="record.prescription.anticoagulant == 16">iu</span>
244 268
                     </span>
245 269
                     <span style="display:inline-block;">
246 270
                     <label-box :isChecked="record.prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>

+ 4 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue 파일 보기

@@ -119,7 +119,7 @@
119 119
                       .blood_access_part_id
120 120
                       ? record.assessment_before_dislysis
121 121
                           .blood_access_part_id
122
-                      : 0
122
+                      : ''
123 123
                   }}
124 124
                   {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
125 125
                   <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
@@ -909,7 +909,7 @@
909 909
             </table>
910 910
           </div>
911 911
 
912
-          <div  style="border: 1px solid black;border-bottom:none;width: 99%;">
912
+          <div  style="border: 1px solid black;border-bottom:none;width: 99%;box-sizing: border-box;">
913 913
             <div class="row" style="display: flex;">
914 914
               <div class="inline_block" style="flex: 1">
915 915
                 上机护士:
@@ -1101,7 +1101,7 @@
1101 1101
               <div class="inline_block" style="flex: 1">
1102 1102
                 穿刺:
1103 1103
                 <div class="under_line"
1104
-                  style="width: 90px; text-align: center"
1104
+                  style="width: 70%; text-align: center;white-space: normal;"
1105 1105
                 >
1106 1106
                   {{ record.assessment_after_dislysis.internal_fistula ? record.assessment_after_dislysis.internal_fistula : "/" }}
1107 1107
                 </div>
@@ -1110,7 +1110,7 @@
1110 1110
               <div class="inline_block" style="flex: 1">
1111 1111
                 透析器:
1112 1112
                 <div class="under_line"
1113
-                  style="width: 90px; text-align: center"
1113
+                  style="width: 74%; text-align: center;white-space: normal;"
1114 1114
                 >
1115 1115
                   {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1116 1116
                 </div>

+ 32 - 32
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 파일 보기

@@ -400,7 +400,7 @@
400 400
                         血管通路:
401 401
                         <div
402 402
                           class="under_line"
403
-                          style="width: 200px; text-align: center"
403
+                          style="width: 280px; text-align: center"
404 404
                         >
405 405
                           {{
406 406
                             record.assessment_before_dislysis &&
@@ -408,15 +408,10 @@
408 408
                               .blood_access_part_id
409 409
                               ? record.assessment_before_dislysis
410 410
                                   .blood_access_part_id
411
-                              : 0
411
+                              :  ""
412 412
                           }}
413 413
                           {{
414
-                            record.assessment_before_dislysis &&
415
-                            record.assessment_before_dislysis
416
-                              .blood_access_part_opera_name
417
-                              ? record.assessment_before_dislysis
418
-                                  .blood_access_part_opera_name
419
-                              : ""
414
+                            bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id)
420 415
                           }}
421 416
                         </div>
422 417
                       </div>
@@ -3014,7 +3009,7 @@
3014 3009
                         实际超滤量:
3015 3010
                         <div
3016 3011
                           class="under_line"
3017
-                          style="width: 100px; text-align: center"
3012
+                          style="width: 80px; text-align: center"
3018 3013
                         >
3019 3014
                           {{
3020 3015
                             record.assessment_after_dislysis &&
@@ -3798,10 +3793,12 @@ export default {
3798 3793
     };
3799 3794
   },
3800 3795
   created() {
3796
+   
3801 3797
     var bloodAccessParOpera = getDataConfig(
3802 3798
       "hemodialysis",
3803 3799
       "vascular_access_desc"
3804 3800
     );
3801
+    this.bloodAccessParOpera = bloodAccessParOpera
3805 3802
     this.way_arr = getDataConfig("hemodialysis", "way");
3806 3803
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
3807 3804
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
@@ -3869,7 +3866,7 @@ export default {
3869 3866
           this.records = this.records.concat(resp.data.schedules);
3870 3867
 
3871 3868
           //华池
3872
-          if(this.org_id == 0 || this.org_id ==10440){
3869
+          if(this.org_id ==10440){
3873 3870
 
3874 3871
           var parint_id =0
3875 3872
 
@@ -3931,27 +3928,24 @@ export default {
3931 3928
             }
3932 3929
           }
3933 3930
           for (const recordIndex in this.records) {
3934
-            var dlegh = 0;
3935
-            if (
3936
-              this.records[recordIndex].monitor_records &&
3937
-              this.records[recordIndex].monitor_records.length < 8
3938
-            ) {
3939
-              dlegh = 8 - this.records[recordIndex].monitor_records.length;
3940
-            } else {
3941
-              dlegh = 0;
3942
-            }
3943
-            if (dlegh > 0) {
3944
-              if (
3945
-                typeof this.records[recordIndex].monitor_records ===
3946
-                  "undefined" ||
3947
-                this.records[recordIndex].monitor_records == null
3948
-              ) {
3949
-                this.records[recordIndex].monitor_records = [];
3950
-              }
3951
-              for (let index = 0; index < dlegh; index++) {
3952
-                this.records[recordIndex].monitor_records.push([]);
3953
-              }
3954
-            }
3931
+            var dlegh = this.records[recordIndex].monitor_records.length;
3932
+            // if (this.records[recordIndex].monitor_records &&this.records[recordIndex].monitor_records.length < 8) {
3933
+            //   dlegh = this.records[recordIndex].monitor_records.length;
3934
+            // } else {
3935
+            //   dlegh = 0;
3936
+            // }
3937
+            // if (dlegh > 0) {
3938
+            //   if (
3939
+            //     typeof this.records[recordIndex].monitor_records ===
3940
+            //       "undefined" ||
3941
+            //     this.records[recordIndex].monitor_records == null
3942
+            //   ) {
3943
+            //     this.records[recordIndex].monitor_records = [];
3944
+            //   }
3945
+            //   for (let index = 0; index < dlegh; index++) {
3946
+            //     this.records[recordIndex].monitor_records.push([]);
3947
+            //   }
3948
+            // }
3955 3949
 
3956 3950
             this.records[recordIndex].isShowZero = false;
3957 3951
             if (this.records[recordIndex].patient.user_org_id == 9535) {
@@ -4099,7 +4093,7 @@ export default {
4099 4093
 
4100 4094
 
4101 4095
           if(this.records!=null && this.records.length>0){
4102
-            console.log("进啦地方大丰")
4096
+           
4103 4097
             for(let i=0;i<this.records.length;i++){
4104 4098
               this.records[i].new_his_advices = []
4105 4099
                 for(let j=0;j<this.records[i].his_advices.length;j++){
@@ -4430,6 +4424,12 @@ export default {
4430 4424
       }
4431 4425
       return displace_liqui_part_name;
4432 4426
     },
4427
+    bloodAccessParOperaName(id) {
4428
+      if (id in this.bloodAccessParOpera) {
4429
+        return this.bloodAccessParOpera[id].name;
4430
+      }
4431
+      return "";
4432
+    },
4433 4433
   },
4434 4434
 };
4435 4435
 </script>

+ 63 - 43
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 파일 보기

@@ -13,8 +13,9 @@
13 13
            
14 14
             <span style="position: absolute;left: 20%;top: 3%">
15 15
               透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
-            
17 16
             </span>
17
+
18
+          
18 19
            
19 20
             <span style="position: absolute;left: 30%;top: 3%">
20 21
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
@@ -23,22 +24,28 @@
23 24
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
24 25
             </span> -->
25 26
             <span style="position: absolute;left:38%;top: 3%">
26
-              上次透后体重:{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg
27
+              上次透后体重:
28
+               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span> 
29
+               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span> 
27 30
             </span>
28 31
 
29
-            <span style="position: absolute;left:50%;top: 3%">
32
+            <span style="position: absolute;left:51%;top: 3%">
30 33
               4小时超滤量上限(5%):
31 34
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
32 35
               kg
33 36
             </span>
34
-            <span style="position: absolute;left: 70%;top: 3%">
37
+            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
35 38
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
36 39
             </span>
37 40
 
38
-            <!-- <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702">
39
-              透前体重:{{predialysis&&(predialysis.weight_before - predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
41
+            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702">
42
+             衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
43
+            </span>
44
+
45
+            <span style="position: absolute;left: 80%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702">
46
+              体重增长:{{predialysis&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
40 47
             
41
-            </span> -->
48
+            </span>
42 49
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
43 50
             <el-form
44 51
                     ref="dialysisPrescription"
@@ -347,41 +354,14 @@
347 354
                     </el-col>
348 355
 
349 356
                     <el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂')  && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
350
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 &&
351
-                        this.$store.getters.xt_user.template_info.template_id != 54 &&
352
-                        this.$store.getters.xt_user.template_info.org_id != 10340 &&
353
-                        this.$store.getters.xt_user.template_info.org_id != 10432 &&
354
-                        this.$store.getters.xt_user.template_info.org_id != 9829 &&
355
-                        this.$store.getters.xt_user.template_info.org_id != 10440 &&
356
-                        this.$store.getters.xt_user.template_info.org_id != 10469 &&
357
-                        this.$store.getters.xt_user.template_info.org_id != 10471 &&
358
-                        this.$store.getters.xt_user.template_info.org_id != 10495 &&
359
-                        this.$store.getters.xt_user.template_info.org_id != 10375 &&
360
-                        this.$store.getters.xt_user.template_info.org_id != 10600">
361
-                       <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
362
-                          this.$store.getters.xt_user.template_info.template_id != 45 &&
363
-                          this.$store.getters.xt_user.template_info.org_id != 10346 &&
364
-                          this.$store.getters.xt_user.template_info.org_id != 10387 &&
365
-                          this.$store.getters.xt_user.template_info.org_id != 10495 &&
366
-                          this.$store.getters.xt_user.template_info.org_id != 10375 &&
367
-                          this.$store.getters.xt_user.template_info.org_id != 10551 &&
368
-                          this.$store.getters.xt_user.template_info.org_id != 10600
369
-                           ">
370
-                            <el-form-item
371
-                                    v-if='dialysisPrescription.anticoagulant != 1 &&
372
-                                    this.$store.getters.xt_user.template_info.template_id != 21 &&
373
-                                     this.$store.getters.xt_user.template_info.template_id != 23 &&
374
-                                      this.$store.getters.xt_user.template_info.template_id != 38 &&
375
-                                       this.$store.getters.xt_user.template_info.org_id != 9987 &&
376
-                                        this.$store.getters.xt_user.template_info.org_id!=9990'
377
-                                    :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji"
378
-                                    :rules="isCheckmust('首剂')">
357
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 &&  this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 &&this.$store.getters.xt_user.template_info.org_id != 10495 &&this.$store.getters.xt_user.template_info.org_id != 10375 &&this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702">
358
+                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&this.$store.getters.xt_user.template_info.template_id != 45 &&this.$store.getters.xt_user.template_info.org_id != 10346 &&this.$store.getters.xt_user.template_info.org_id != 10387 &&this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 &&this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600">
359
+                            <el-form-item v-if='dialysisPrescription.anticoagulant != 1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.org_id != 9987 &&  this.$store.getters.xt_user.template_info.org_id!=9990' :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
379 360
 
380 361
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
381 362
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
382 363
 
383
-                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
384
-                                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
364
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1" v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
385 365
                             </el-form-item>
386 366
 
387 367
                             <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 &&
@@ -452,7 +432,20 @@
452 432
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
453 433
                             </el-form-item>
454 434
 
455
-                            <el-form-item v-else :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
435
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 13" :label="'首剂(AXaIU) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
436
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
437
+                                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
438
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
439
+                                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
440
+                            </el-form-item>
441
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 11" :label="'首剂(AXaIU) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
442
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
443
+                                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
444
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
445
+                                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
446
+                            </el-form-item>
447
+
448
+                            <el-form-item  v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13" :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
456 449
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
457 450
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
458 451
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -466,7 +459,7 @@
466 459
 
467 460
 
468 461
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
469
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10600">
462
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702">
470 463
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 ">
471 464
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
472 465
                                           v-if="anticoagulant.weichi != -1 &&
@@ -539,7 +532,22 @@
539 532
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
540 533
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
541 534
                             </el-form-item>
542
-                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else
535
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 13" :label="'维持(AXaIU) : '"
536
+                            prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
537
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
538
+                                          v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
539
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
540
+                                          v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
541
+                            </el-form-item>
542
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 11" :label="'维持(AXaIU) : '"
543
+                            prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
544
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
545
+                                          v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
546
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
547
+                                          v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
548
+                            </el-form-item>
549
+                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" 
550
+                            v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13"
543 551
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
544 552
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
545 553
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
@@ -562,7 +570,7 @@
562 570
 
563 571
 
564 572
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
565
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600">
573
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10702">
566 574
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495">
567 575
                             <el-form-item
568 576
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375  && this.$store.getters.xt_user.template_info.org_id != 10551 && this.$store.getters.xt_user.template_info.org_id != 10600'
@@ -624,7 +632,19 @@
624 632
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
625 633
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
626 634
                             </el-form-item>
627
-                            <el-form-item v-else :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
635
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 13" :label="'总量(AXaIU) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
636
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
637
+                                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
638
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
639
+                                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
640
+                            </el-form-item>
641
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 11" :label="'总量(AXaIU) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
642
+                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
643
+                                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
644
+                                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
645
+                                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
646
+                            </el-form-item>
647
+                            <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13" :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
628 648
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
629 649
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
630 650
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"

+ 9 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 파일 보기

@@ -387,7 +387,7 @@
387 387
                 org_id == 10599 || 
388 388
                 org_id == 10612 ||
389 389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702) &&
391 391
                 org_id!=10387
392 392
             "
393 393
           >
@@ -458,7 +458,7 @@
458 458
               && org_id!=10432 && org_id!=10445
459 459
               && org_id!=10410 && org_id!=10495 &&
460 460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635)
461
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702)
462 462
               || org_id == 10387
463 463
             "
464 464
           >
@@ -529,7 +529,7 @@
529 529
                 org_id == 10410 ||
530 530
                 org_id == 10495  ||
531 531
                 org_id == 10395
532
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635)
532
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702)
533 533
                 && org_id!=10387
534 534
             "
535 535
           >
@@ -584,7 +584,7 @@
584 584
               org_id!=10432 &&
585 585
               org_id!=10445 &&
586 586
               org_id!=10410 && org_id!=10495
587
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635) ||
587
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702) ||
588 588
               org_id == 10387
589 589
             "
590 590
           >
@@ -1681,7 +1681,7 @@
1681 1681
                 org_id== 10432 ||
1682 1682
                 org_id== 10445 ||
1683 1683
                 org_id== 10410 ||
1684
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635) &&
1684
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702) &&
1685 1685
                 org_id!=10387
1686 1686
             "
1687 1687
           >
@@ -1729,7 +1729,7 @@
1729 1729
               org_id!=10445 &&
1730 1730
               org_id!=10410 &&
1731 1731
               org_id!=10485 &&
1732
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635)
1732
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702)
1733 1733
               || org_id == 10387
1734 1734
             "
1735 1735
           >
@@ -1802,7 +1802,7 @@
1802 1802
                 org_id == 10599 ||
1803 1803
                 org_id ==10612 || 
1804 1804
                 org_id ==10617 || 
1805
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635)
1805
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702)
1806 1806
                 && org_id!=10387 && org_id!=10694
1807 1807
             "
1808 1808
           >
@@ -1874,7 +1874,8 @@
1874 1874
               org_id!=10667 &&
1875 1875
               org_id!=10693 &&
1876 1876
               org_id!=10697 &&
1877
-              org_id!=10635
1877
+              org_id!=10635 &&
1878
+              org_id!=10702
1878 1879
               )
1879 1880
               || org_id == 10387 || org_id == 10694
1880 1881
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue 파일 보기

@@ -20,11 +20,11 @@
20 20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21 21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22 22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
24
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
23
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
24
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
25 25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
26
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
28 28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
29 29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30 30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>

+ 24 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue 파일 보기

@@ -165,13 +165,13 @@
165 165
             <td style="text-align:left;padding-left:15px;" colspan="6">
166 166
               
167 167
               <span style="display:inline-block;">
168
-                <label-box :isChecked="anticoagulant == 6? true : false" showValue="低分子肝素钙"></label-box>:
168
+                <!-- <label-box :isChecked="anticoagulant == 6? true : false" showValue="低分子肝素钙"></label-box>: -->
169 169
                 <label-box :isChecked="anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>:
170 170
                 <label-box :isChecked="anticoagulant == 8? true : false" showValue="依诺肝素"></label-box>:
171 171
                 <label-box :isChecked="anticoagulant == 16? true : false" showValue="低分子量肝素钙"></label-box>:
172 172
                
173 173
               </span>
174
-              <span style="display:inline-block;">
174
+              <!-- <span style="display:inline-block;">
175 175
                   <div style="display:inline-block;width:30px;text-align:center">
176 176
                       {{ (anticoagulant == 6 || anticoagulant == 7) && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
177 177
                   </div>
@@ -182,14 +182,18 @@
182 182
                   <span v-if="prescription.anticoagulant == 1">mg</span>
183 183
                   <span v-if="prescription.anticoagulant == 6">iu</span>
184 184
                   <span v-if="prescription.anticoagulant == 7">iu</span>
185
-              </span>
185
+              </span> -->
186 186
               <span style="display:inline-block;">
187 187
                   <label-box :isChecked="anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
188 188
               </span>
189 189
               <span style="display:inline-block;">
190 190
                   首剂:
191 191
                   <div style="display:inline-block;width:30px;text-align:center">
192
-                      {{ anticoagulant == 2 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
192
+                      {{ anticoagulant == 2 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
193
+                      {{ anticoagulant == 6 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
194
+                      {{ anticoagulant == 7 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
195
+                      {{ anticoagulant == 8 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
196
+                      {{ anticoagulant == 16 && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
193 197
                   </div>
194 198
                   <span v-if="prescription.anticoagulant == 5">mg</span>
195 199
                   <span v-if="prescription.anticoagulant == 4">mg</span>
@@ -198,11 +202,17 @@
198 202
                   <span v-if="prescription.anticoagulant == 1">mg</span>
199 203
                   <span v-if="prescription.anticoagulant == 6">iu</span>
200 204
                   <span v-if="prescription.anticoagulant == 7">iu</span>
205
+                  <span v-if="prescription.anticoagulant == 8">iu</span>
206
+                  <span v-if="prescription.anticoagulant == 16">iu</span>
201 207
               </span>
202 208
               <span style="display:inline-block;">
203 209
                   维持:
204 210
                   <div style="display:inline-block;width:30px;text-align:center">
205
-                      {{ anticoagulant == 2 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}
211
+                      {{ anticoagulant == 2 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
212
+                      {{ anticoagulant == 6 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
213
+                      {{ anticoagulant == 7 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
214
+                      {{ anticoagulant == 8 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
215
+                      {{ anticoagulant == 16 && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
206 216
                   </div>
207 217
                   <span v-if="prescription.anticoagulant == 5">ml/h</span>
208 218
                   <span v-if="prescription.anticoagulant == 4">mg/h</span>
@@ -211,11 +221,17 @@
211 221
                   <span v-if="prescription.anticoagulant == 1">mg/h</span>
212 222
                   <span v-if="prescription.anticoagulant == 6">iu/h</span>
213 223
                   <span v-if="prescription.anticoagulant == 7">iu/h</span>
224
+                  <span v-if="prescription.anticoagulant == 8">iu/h</span>
225
+                  <span v-if="prescription.anticoagulant == 16">iu/h</span>
214 226
               </span>
215 227
               <span style="display:inline-block;">
216 228
                   总量:
217 229
                   <div style="display:inline-block;width:30px;text-align:center">
218
-                      {{ anticoagulant == 2 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/" }}
230
+                      {{ anticoagulant == 2 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
231
+                      {{ anticoagulant == 6 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
232
+                      {{ anticoagulant == 7 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
233
+                      {{ anticoagulant == 8 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
234
+                      {{ anticoagulant == 16 && prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "" }}
219 235
                   </div>
220 236
                   <span v-if="prescription.anticoagulant == 5">mg</span>
221 237
                   <span v-if="prescription.anticoagulant == 4">mg</span>
@@ -224,6 +240,8 @@
224 240
                   <span v-if="prescription.anticoagulant == 1">mg</span>
225 241
                   <span v-if="prescription.anticoagulant == 6">iu</span>
226 242
                   <span v-if="prescription.anticoagulant == 7">iu</span>
243
+                  <span v-if="prescription.anticoagulant == 8">iu</span>
244
+                  <span v-if="prescription.anticoagulant == 16">iu</span>
227 245
               </span>
228 246
               <span style="display:inline-block;">
229 247
                 <label-box :isChecked="anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>

+ 40 - 23
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue 파일 보기

@@ -103,8 +103,8 @@
103 103
                 style=" width: 52%;
104 104
                   text-align: center; white-space: normal;
105 105
                 ">
106
-                {{ predialysis.blood_access_part_id }}
107
-                {{ predialysis.blood_access_part_opera_name }}
106
+                {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id : '' }}
107
+                {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '' }}
108 108
               </div>
109 109
             </div>
110 110
             <div class="inline_block" style="flex: 1;" >
@@ -432,7 +432,7 @@
432 432
                 v-for="(advice, advice_index) in doctor_advices"
433 433
                 :key="advice_index"
434 434
               >
435
-                <td style="line-height:35px">
435
+                <td height="32px" style="line-height:35px">
436 436
                   <span v-if="advice.start_time">
437 437
                     {{ getTime(advice.start_time, "{h}:{i}") }}
438 438
                   </span>
@@ -515,6 +515,7 @@
515 515
                   />
516 516
                 </td>
517 517
               </tr>
518
+
518 519
             </tbody>
519 520
           </table>
520 521
         </div>
@@ -626,7 +627,7 @@
626 627
           </table>
627 628
         </div>
628 629
 
629
-        <div  style="border: 1px solid black;border-bottom:none;border-top:none;width: 99%;">
630
+        <div  style="border: 1px solid black;border-bottom:none;border-top:none;width: 99%;box-sizing: content-box;">
630 631
           <div class="row" style="display: flex;">
631 632
             <div class="inline_block" style="flex: 1">
632 633
               上机护士:
@@ -722,7 +723,7 @@
722 723
             <div class="inline_block" style="flex: 1">
723 724
               穿刺:
724 725
               <div class="under_line"
725
-                style="width: 90px; text-align: center"
726
+                style="width: 70%; text-align: center;white-space: normal;"
726 727
               >
727 728
                 {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
728 729
               </div>
@@ -731,7 +732,7 @@
731 732
             <div class="inline_block" style="flex: 1">
732 733
               透析器:
733 734
               <div class="under_line"
734
-                style="width: 90px; text-align: center"
735
+                style="width: 74%; text-align: center;white-space:normal;"
735 736
               >
736 737
                 {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
737 738
               </div>
@@ -809,7 +810,7 @@
809 810
           </div>
810 811
         </div>
811 812
         <!-- 透析小结 -->
812
-        <div style="width: 99%;border: 1px solid black;white-space: normal;">
813
+        <div style="width: 99%;border: 1px solid black;white-space: normal;box-sizing: content-box;">
813 814
           <div style="padding: 5px;">
814 815
             <div style="margin-bottom: 10px;">
815 816
               宣教知识:
@@ -1664,6 +1665,7 @@ export default {
1664 1665
           this.patientInfo.first_dialysis_date = "";
1665 1666
         }
1666 1667
         this.check = response.data.data.check;
1668
+        console.log('this.check12121',this.check);
1667 1669
         this.xtdate = response.data.data.xtdate;
1668 1670
         this.predialysis = response.data.data.PredialysisEvaluation;
1669 1671
         console.log('透前评估', this.predialysis)
@@ -1891,8 +1893,8 @@ export default {
1891 1893
           this.doctor_advices[index]["isShow"] = 2;
1892 1894
         }
1893 1895
 
1894
-        console.log("时间我我我哦我我",response.data.data.advices)
1895
-        console.log("新时间我哦我哦",this.doctor_advices)
1896
+        console.log("时间我我我哦我我",response.data.data)
1897
+        console.log("新时间我哦我哦医嘱121",this.doctor_advices)
1896 1898
 
1897 1899
 
1898 1900
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
@@ -2080,25 +2082,40 @@ export default {
2080 2082
         }
2081 2083
 
2082 2084
 
2083
-        if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2084
-            var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2085
-            this.print_length = 6;
2085
+        // if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2086
+        //   var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2087
+        //   this.print_length = 6;
2088
+
2089
+        //   for (let index = 0; index < nl; index++) {
2090
+        //     if (
2091
+        //       this.projectsOne[index] == undefined ||
2092
+        //       this.projectsOne[index].length <= 0
2093
+        //     ) {
2094
+        //       this.projectsOne.push([]);
2095
+        //     } else {
2096
+        //       continue;
2097
+        //     }
2098
+        //   }
2099
+        // }
2100
+        if (this.doctor_advices.length <= 5) {
2101
+          console.log('111111',this.doctor_advices.length);
2102
+          var nl = 5
2103
+          this.print_length = 5
2086 2104
 
2087
-            for (let index = 0; index < nl; index++) {
2088
-              if (
2089
-                this.projectsOne[index] == undefined ||
2090
-                this.projectsOne[index].length <= 0
2091
-              ) {
2092
-                this.projectsOne.push([]);
2093
-              } else {
2094
-                continue;
2095
-              }
2105
+          for (let index = 0; index < nl; index++) {
2106
+            if (
2107
+              this.doctor_advices[index] == undefined ||
2108
+              this.doctor_advices[index].length <= 0
2109
+            ) {
2110
+              this.doctor_advices.push([])
2111
+            } else {
2112
+              continue
2096 2113
             }
2097 2114
           }
2098
-
2115
+        }
2099 2116
 
2100 2117
         this.totollength = this.doctor_advices.length + this.monitors.length;
2101
-        console.log("this.totollength",this.totollength)
2118
+        console.log("this.totollength2222222",this.totollength)
2102 2119
         if (this.totollength > 18) {
2103 2120
           var temp_advice_length = 17 - this.monitors.length;
2104 2121
           var doctor_advices_1 = [];

+ 11 - 1
src/xt_pages/management/components/UserForm.vue 파일 보기

@@ -1101,7 +1101,8 @@ export default {
1101 1101
         { id: 2, name: "500mg/l含氯消毒剂" },
1102 1102
         { id: 3, name: "1000mg/l含氯消毒剂" },
1103 1103
         { id: 4, name: "1500mg/l含氯消毒剂" },
1104
-        { id: 5, name: "消毒湿巾" }
1104
+        { id: 5, name: "消毒湿巾" },
1105
+        { id: 6, name: "1.85g/L季铵盐" }
1105 1106
       ],
1106 1107
       // 夜路消毒方式
1107 1108
       sterilizeType: [
@@ -1406,6 +1407,9 @@ export default {
1406 1407
             if (information[index].disinfectant_type === 5) {
1407 1408
                information[index].disinfectant_type = "消毒湿巾";
1408 1409
             }
1410
+            if (information[index].disinfectant_type === 6) {
1411
+               information[index].disinfectant_type = "1.85g/L季铵盐";
1412
+            }
1409 1413
 
1410 1414
             if (information[index].disinfection === 1) {
1411 1415
               information[index].disinfection = "已消毒";
@@ -1989,6 +1993,9 @@ export default {
1989 1993
             if (information[index].disinfectant_type === 5) {
1990 1994
               information[index].disinfectant_type = "消毒湿巾";
1991 1995
             }
1996
+            if (information[index].disinfectant_type === 6) {
1997
+              information[index].disinfectant_type = "1.85g/L季铵盐";
1998
+            }
1992 1999
 
1993 2000
             if (information[index].disinfection === 0) {
1994 2001
               information[index].disinfection = "";
@@ -2327,6 +2334,9 @@ export default {
2327 2334
            if (information[index].disinfectant_type === 5) {
2328 2335
               information[index].disinfectant_type = "消毒湿巾";
2329 2336
             }
2337
+            if (information[index].disinfectant_type === 6) {
2338
+              information[index].disinfectant_type = "1.85g/L季铵盐";
2339
+            }
2330 2340
 
2331 2341
             if (information[index].disinfection === 0) {
2332 2342
               information[index].disinfection = "";

+ 8 - 1
src/xt_pages/management/home.vue 파일 보기

@@ -2999,7 +2999,8 @@ export default {
2999 2999
           { id: 2, name: '500mg/l含氯消毒剂' },
3000 3000
           { id: 3, name: '1000mg/l含氯消毒剂' },
3001 3001
           { id: 4, name: '1500mg/l含氯消毒剂' },
3002
-          { id: 5,  name:  "消毒湿巾"}
3002
+          { id: 5,  name:  "消毒湿巾"},
3003
+          { id:6,name:"1.85g/L季铵盐"}
3003 3004
         ],
3004 3005
         // 夜路消毒方式
3005 3006
         sterilizeType: [
@@ -3988,6 +3989,9 @@ export default {
3988 3989
               if(plan[index].machine_disinfectant === 5){
3989 3990
                  plan[index].machine_disinfectant = "消毒湿巾"
3990 3991
               }
3992
+              if(plan[index].machine_disinfectant === 6){
3993
+                 plan[index].machine_disinfectant = "1.85g/L季铵盐"
3994
+              }
3991 3995
 
3992 3996
               if (plan[index].disinfectan_way === 0) {
3993 3997
                 plan[index].disinfectan_way = '/'
@@ -4128,6 +4132,9 @@ export default {
4128 4132
               if(plandetail[index].machine_disinfectant === 5){
4129 4133
                   plandetail[index].machine_disinfectant = "消毒湿巾"
4130 4134
               }
4135
+              if(plandetail[index].machine_disinfectant === 6){
4136
+                  plandetail[index].machine_disinfectant = "1.85g/L季铵盐"
4137
+              }
4131 4138
 
4132 4139
               if (plandetail[index].disinfectan_way === 0) {
4133 4140
                 plandetail[index].disinfectan_way = '/'

+ 4 - 5
src/xt_pages/outpatientTool/components/detailStatistics.vue 파일 보기

@@ -73,11 +73,10 @@
73 73
           {{ scope.row.index }}
74 74
         </template>
75 75
       </el-table-column>
76
-<!--      <el-table-column align="center" label="处方日期">-->
77
-<!--        <template slot-scope="scope">{{-->
78
-<!--          getTime(scope.row.record_date)-->
79
-<!--        }}</template>-->
80
-<!--      </el-table-column>-->
76
+     <el-table-column align="center" label="处方日期">
77
+        <template slot-scope="scope">
78
+          {{getTime(scope.row.record_date)}}</template>
79
+      </el-table-column>
81 80
       <el-table-column align="center" label="费用编码">
82 81
         <template slot-scope="scope">
83 82
           {{ scope.row.number }}

+ 2 - 2
src/xt_pages/outpatientTool/components/gatherStatistics.vue 파일 보기

@@ -73,13 +73,13 @@
73 73
           {{ scope.$index + 1 }}
74 74
         </template>
75 75
       </el-table-column>
76
-      <el-table-column align="center" label="处方日期">
76
+      <!-- <el-table-column align="center" label="处方日期">
77 77
         <template slot-scope="scope">
78 78
           <span v-if="scope.row.record_date > 0"
79 79
             >{{ getTimes(scope.row.record_date) }}
80 80
           </span>
81 81
         </template>
82
-      </el-table-column>
82
+      </el-table-column> -->
83 83
       <el-table-column align="center" label="费用分类">
84 84
         <template slot-scope="scope">
85 85
           <span v-if="scope.row.type == 1">

+ 1 - 23
src/xt_pages/stock/selfPreparedMedicine/addWarehouseInfo.vue 파일 보기

@@ -969,29 +969,7 @@
969 969
            }
970 970
         })
971 971
       },
972
-      toReturnCheck(){
973
-         const loading = this.$loading({
974
-          lock: true,
975
-          text: "Loading",
976
-          spinner: "el-icon-loading",
977
-          background: "rgba(0, 0, 0, 0.7)",
978
-        });
979
-          var params = {
980
-            warehousing_id:this.warehousing_id,
981
-          }
982
-        toReturnCheckWarehousing(params).then(response=>{
983
-           if(response.data.state == 1){
984
-            var list = response.data.data.list
985
-             this.$message.success("反审核成功!")
986
-             this.showCheck = true
987
-             this.showReturnCheck = false
988
-             loading.close()
989
-           }else{
990
-            this.$message.error("反审核失败!")
991
-            loading.close()
992
-           }
993
-        })
994
-      },
972
+    
995 973
       changeUnit(val,index){
996 974
     
997 975
       },

+ 30 - 2
src/xt_pages/stock/selfPreparedMedicine/addWarehouseOut.vue 파일 보기

@@ -351,7 +351,7 @@
351 351
   import BreadCrumb from "../../components/bread-crumb";
352 352
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
353 353
   import { getAllDrugList, postSearchDrugList } from "@/api/data";
354
-    import { getallPatientList,postSearchSelfDrugList,postSelfDrugWarehouseOut,getSelfDrugBatchNumber} from "@/api/drug/drug"
354
+  import { getallPatientList,postSearchSelfDrugList,postSelfDrugWarehouseOut,getSelfDrugBatchNumber,checkSelfOutDrugQuery} from "@/api/drug/drug"
355 355
   export default {
356 356
     components: { BreadCrumb },
357 357
     name: "stockIn",
@@ -1162,7 +1162,35 @@
1162 1162
         }
1163 1163
         return total;
1164 1164
       },
1165
-    
1165
+      toCheck(){
1166
+         var params = {
1167
+            warehouse_out_id:this.warehouse_out_id,
1168
+            patient_id:this.patient_id,
1169
+         }
1170
+        checkSelfOutDrugQuery(params).then(response=>{
1171
+          if(response.data.state ==1){
1172
+            var warehousingOutInfoList = response.data.data.warehousingOutInfoList
1173
+              var msg =response.data.data.msg
1174
+              if(msg == 1){
1175
+                this.$message.success("审核成功!")
1176
+                this.showCheck = false
1177
+                this.showReturnCheck = true
1178
+                this.$router.back(-1)
1179
+              }
1180
+              if(msg == 2){
1181
+                var drug_name = response.data.data.drug_name
1182
+                var dose = response.data.data.dose
1183
+                var dose_unit = response.data.data.dose_unit
1184
+                var min_number = response.data.data.min_number
1185
+                var min_unit = response.data.data.min_unit
1186
+                var max_unit = response.data.data.max_unit
1187
+                var str = drug_name +" " +dose +dose_unit +"*" + min_number + min_unit +"/" + max_unit;
1188
+                this.$message.error(str+"库存不足,审核失败!")
1189
+              }
1190
+              loading.close()
1191
+          }
1192
+        })
1193
+      }
1166 1194
     
1167 1195
     },
1168 1196
     created() {

+ 39 - 19
src/xt_pages/stock/selfPreparedMedicine/editWarehouseInfo.vue 파일 보기

@@ -23,6 +23,14 @@
23 23
             class="filter-item"
24 24
             >审核</el-button
25 25
           >
26
+
27
+          <el-button
28
+            size="small"
29
+            type="primary"
30
+           v-if="is_check == 1 && parseInt(this.$route.query.is_sys) == 0"
31
+            @click="toReturnCheck()"
32
+            class="filter-item"
33
+            >反审核</el-button>
26 34
         </div>
27 35
       </div>
28 36
       <div class="app-container" v-loading="loading">
@@ -340,13 +348,11 @@
340 348
   import { uParseTime } from "@/utils/tools";
341 349
   import {
342 350
     GetAllDrugInfoByID,
343
-    toCheckWarehousingInfo,
344
-    toReturnCheckWarehousing,
345 351
   } from "@/api/drug/drug_stock";
346 352
   import BreadCrumb from "../../components/bread-crumb";
347 353
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
348 354
   import { getAllDrugList } from "@/api/data";
349
-  import { getallPatientList,postSearchSelfDrugList,ModifySelfDrugWarehouse,getSelfDrugWarehouseInfoById,deleteSelfWarehouseInfo} from "@/api/drug/drug"
355
+  import { getallPatientList,postSearchSelfDrugList,ModifySelfDrugWarehouse,getSelfDrugWarehouseInfoById,deleteSelfWarehouseInfo,toCheckSelfWarehousingInfo,returnSelfCheckWarehouse} from "@/api/drug/drug"
350 356
   export default {
351 357
     components: { BreadCrumb },
352 358
     name: "stockIn",
@@ -468,6 +474,8 @@
468 474
         showReturnCheck:false,
469 475
         patientList:[],
470 476
         id:0,
477
+        is_check:0,
478
+        is_sys:0,
471 479
       };
472 480
     },
473 481
     methods: {
@@ -739,6 +747,9 @@
739 747
               stockIn: this.recordInfo.recordData,
740 748
             };
741 749
             console.log("params=---------------",params)
750
+            console.log("patinet_id-----------",this.patient_id)
751
+            console.log("warehousing_time-----------",this.warehousing_time)
752
+            console.log("warehousing_id--------------",this.warehousing_id)
742 753
             ModifySelfDrugWarehouse(
743 754
               params,
744 755
               this.patient_id,
@@ -752,6 +763,8 @@
752 763
               } else {
753 764
                 this.loading = false;
754 765
                 this.$message.success("保存成功");
766
+                this.showCheck = true
767
+                this.showReturnCheck = false
755 768
                 this.listLoading = false;
756 769
                 var list = response.data.data.list
757 770
                 var manufacturerList = response.data.data.manufacturerList
@@ -795,8 +808,7 @@
795 808
                 this.recordInfo.recordData = []
796 809
                 console.log("list========================",list)
797 810
                 this.recordInfo.recordData = list
798
-                this.showCheck = true
799
-                this.showReturnCheck = false
811
+               
800 812
               }
801 813
             });
802 814
           } else {
@@ -929,8 +941,10 @@
929 941
         });
930 942
          var params = {
931 943
            warehousing_id:this.warehousing_id,
944
+           patient_id:this.patient_id
932 945
          }
933
-        toCheckWarehousingInfo(params).then(response=>{
946
+         console.log("praams------",params)
947
+        toCheckSelfWarehousingInfo(params).then(response=>{
934 948
            if(response.data.state == 1){
935 949
              var list = response.data.data.list
936 950
              this.$message.success("审核成功!")
@@ -953,8 +967,9 @@
953 967
         });
954 968
           var params = {
955 969
             warehousing_id:this.warehousing_id,
970
+            patient_id:this.patient_id,
956 971
           }
957
-        toReturnCheckWarehousing(params).then(response=>{
972
+        returnSelfCheckWarehouse(params).then(response=>{
958 973
            if(response.data.state == 1){
959 974
             var list = response.data.data.list
960 975
              this.$message.success("反审核成功!")
@@ -967,18 +982,21 @@
967 982
            }
968 983
         })
969 984
       },
970
-      changeUnit(val,index){
971
-    
972
-      },
973
-       
974
-
975 985
       //新
976 986
       getSelfDrugWarehouseInfoById(id){
977 987
         getSelfDrugWarehouseInfoById(id).then(response=>{
978 988
            if(response.data.state == 1){
979 989
              var info = response.data.data.info
990
+             if(info.is_check == 2){
991
+               this.showCheck = true
992
+               this.showReturnCheck = false
993
+             }
994
+             if(info.is_check == 1){
995
+                this.showCheck = false
996
+                this.showReturnCheck = true
997
+             }
980 998
              this.patient_id = info.patient_id
981
-             this.warehousing_time  =this.getTime(info.record_date)
999
+             this.warehousing_time  =this.getTimeOne(info.record_date)
982 1000
              this.manufacturerList = response.data.data.manufacturerList
983 1001
              this.dealerList = response.data.data.dealerList
984 1002
              this.drugTypeList = response.data.data.drugTypeList
@@ -990,9 +1008,9 @@
990 1008
              tempObj["drug_name"] = info.drug.drug_name;
991 1009
              tempObj["max_unit"] = info.max_unit;
992 1010
              tempObj["min_unit"] = info.min_unit,
993
-             tempObj["product_date"] = this.getTime(info.product_date);
994
-             tempObj["expiry_date"] = this.getTime(info.expiry_date);
995
-             tempObj["warehousing_count"] = info.warehousing_count;
1011
+             tempObj["product_date"] = this.getTimeOne(info.product_date);
1012
+             tempObj["expiry_date"] = this.getTimeOne(info.expiry_date);
1013
+             tempObj["warehousing_count"] = info.warehousing_count.toString();
996 1014
              tempObj["remark"] = info.remark;
997 1015
              tempObj["dealer"] =this.getDealer(info.dealer) 
998 1016
              tempObj["manufacturer"] = this.getManufacturer(info.manufacturer);
@@ -1033,14 +1051,16 @@
1033 1051
             }
1034 1052
             return name
1035 1053
       },
1054
+      
1036 1055
     },
1037 1056
     created() {
1038 1057
       var id =  this.$route.query.id
1039 1058
       var is_sys = this.$route.query.is_sys
1059
+      this.is_sys = is_sys
1060
+      console.log("is_check-=------------------------------------",is_sys)
1040 1061
       var is_check = this.$route.query.is_check
1041
-      console.log("id",id)
1042
-      console.log("is_sys",is_sys)
1043
-      console.log("is_check",is_check)
1062
+      console.log("is_check-=------------------------------------",is_check)
1063
+      this.is_check= is_check
1044 1064
       this.drugTypeList = getDictionaryDataConfig("system", "drug_type");
1045 1065
       this.getallPatientList() 
1046 1066
       this.getSelfDrugWarehouseInfoById(id)

+ 60 - 2
src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue 파일 보기

@@ -23,6 +23,15 @@
23 23
             class="filter-item"
24 24
             >审核</el-button
25 25
           >
26
+
27
+          <el-button
28
+          size="small"
29
+          type="primary"
30
+          v-if="is_check == 1 && parseInt(this.$route.query.is_sys) == 0"
31
+          @click="toReturnCheck"
32
+          class="filter-item"
33
+          >反 审 核</el-button
34
+        >
26 35
        
27 36
         </div>
28 37
       </div>
@@ -346,12 +355,11 @@
346 355
   import {
347 356
     GetAllConfig,
348 357
     GetAllDrugInfoByID,
349
-    postDrugWarehouse,
350 358
   } from "@/api/drug/drug_stock";
351 359
   import BreadCrumb from "../../components/bread-crumb";
352 360
   import { getDataConfig, getDictionaryDataConfig } from "@/utils/data";
353 361
   import { getAllDrugList, postSearchDrugList } from "@/api/data";
354
-    import { getallPatientList,postSearchSelfDrugList,modifySelfDrugWarehouseOut,getSelfDrugBatchNumber,getSelfDrugWarehouseOutById} from "@/api/drug/drug"
362
+  import { getallPatientList,postSearchSelfDrugList,modifySelfDrugWarehouseOut,getSelfDrugBatchNumber,getSelfDrugWarehouseOutById,checkSelfOutDrugQuery,returnCheckSelfOutDrugQuery} from "@/api/drug/drug"
355 363
   export default {
356 364
     components: { BreadCrumb },
357 365
     name: "stockIn",
@@ -1237,6 +1245,56 @@
1237 1245
             }
1238 1246
             return name
1239 1247
       },
1248
+
1249
+      toCheck(){
1250
+         var params = {
1251
+            warehouse_out_id:this.warehouse_out_id,
1252
+            patient_id:this.patient_id,
1253
+         }
1254
+        checkSelfOutDrugQuery(params).then(response=>{
1255
+          if(response.data.state ==1){
1256
+            var warehousingOutInfoList = response.data.data.warehousingOutInfoList
1257
+              var msg =response.data.data.msg
1258
+              if(msg == 1){
1259
+                this.$message.success("审核成功!")
1260
+                this.showCheck = false
1261
+                this.showReturnCheck = true
1262
+                this.$router.back(-1)
1263
+              }
1264
+              if(msg == 2){
1265
+                var drug_name = response.data.data.drug_name
1266
+                var dose = response.data.data.dose
1267
+                var dose_unit = response.data.data.dose_unit
1268
+                var min_number = response.data.data.min_number
1269
+                var min_unit = response.data.data.min_unit
1270
+                var max_unit = response.data.data.max_unit
1271
+                var str = drug_name +" " +dose +dose_unit +"*" + min_number + min_unit +"/" + max_unit;
1272
+                this.$message.error(str+"库存不足,审核失败!")
1273
+              }
1274
+              loading.close()
1275
+          }
1276
+        })
1277
+      },
1278
+      toReturnCheck(){
1279
+         var params = {
1280
+           warehouse_out_id:this.warehouse_out_id,
1281
+           patient_id:this.patient_id,
1282
+         }
1283
+        returnCheckSelfOutDrugQuery(params).then(response=>{
1284
+           if(response.data.state ==1){
1285
+            var out = response.data.data.out
1286
+            this.$message.success("反审核成功!")
1287
+            this.showCheck = true
1288
+            this.showReturnCheck = false
1289
+            loading.close()
1290
+            this.$router.back(-1)
1291
+           }else{
1292
+            this.$message.error(response.data.msg)
1293
+            loading.close()
1294
+            this.$router.back(-1);
1295
+           }
1296
+        })
1297
+      }
1240 1298
     
1241 1299
     
1242 1300
     },

+ 2 - 6
src/xt_pages/stock/selfPreparedMedicine/stockquery.vue 파일 보기

@@ -131,7 +131,7 @@
131 131
 import { uParseTime } from "@/utils/tools";
132 132
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
133 133
 import { getDictionaryDataConfig,getDataConfig } from "@/utils/data";
134
-import { getSelfStockQuery } from "@/api/drug/drug"
134
+import { getSelfDrugQuery } from "@/api/drug/drug"
135 135
 export default {
136 136
   name: "stockIn",
137 137
   created() {
@@ -172,15 +172,11 @@ export default {
172 172
 
173 173
      getlist(){
174 174
          var params ={
175
-           type_name:this.type_name,
176
-           start_time:this.start_time,
177
-           end_time:this.end_time,
178
-           keywords:this.keywords,
179 175
            page:this.page,
180 176
            limit:this.limit
181 177
          }
182 178
         console.log("params",params)
183
-       getSelfStockQuery(params).then(response=>{
179
+       getSelfDrugQuery(params).then(response=>{
184 180
           if(response.data.state == 1){
185 181
             var stockQuery =  response.data.data.stockQuery
186 182
             console.log("入库",stockQuery)

+ 23 - 57
src/xt_pages/stock/selfPreparedMedicine/warehouseInfo.vue 파일 보기

@@ -37,7 +37,7 @@
37 37
           style="width: 200px"
38 38
           v-model.trim="searchKey"
39 39
           class="filter-item"
40
-          placeholder="单据编码/制单人/药品名称"
40
+          placeholder="药品名称"
41 41
         />
42 42
         <el-button
43 43
           size="small"
@@ -191,6 +191,7 @@
191 191
 
192 192
         <el-table-column label="生产厂家" align="center">
193 193
           <template slot-scope="scope">
194
+           
194 195
             {{ getManufacturer(scope.row.manufacturer) }}
195 196
           </template>
196 197
         </el-table-column>
@@ -207,6 +208,13 @@
207 208
           </template>
208 209
         </el-table-column>
209 210
 
211
+        <el-table-column label="审核状态" align="center">
212
+          <template slot-scope="scope">
213
+             <span v-if="scope.row.is_check ==1">已审核</span>
214
+             <span v-if="scope.row.is_check ==2">未审核</span>
215
+          </template>
216
+        </el-table-column>
217
+
210 218
         <el-table-column label="备注" align="center">
211 219
           <template slot-scope="scope">
212 220
              {{ scope.row.remark }}
@@ -274,7 +282,6 @@ import {
274 282
   exportDrugList,
275 283
 
276 284
 } from "@/api/drug/drug_stock";
277
-import { getAllDrugList } from "@/api/data";
278 285
 import { getDictionaryDataConfig } from "@/utils/data";
279 286
 import BreadCrumb from "../../components/bread-crumb";
280 287
   import { getallPatientList,getAllSelfDrugWarehouseInfoList,deleteSelfWarehouseInfo} from "@/api/drug/drug"
@@ -368,7 +375,6 @@ export default {
368 375
       patient_id:0,
369 376
       patientList:[],
370 377
       tableList:[],
371
-      manufacturerList:[],
372 378
       dealerList:[],
373 379
       drugTypeList:[],
374 380
     };
@@ -384,9 +390,9 @@ export default {
384 390
         getAllSelfDrugWarehouseInfoList(params).then(response=>{
385 391
           if(response.data.state ==1){
386 392
             var infoList  =  response.data.data.infoList
387
-            console.log("infolist22222222222222",infoList)
388 393
             this.tableList = infoList
389 394
             this.manufacturerList = response.data.data.manufacturerList
395
+            console.log("infolist22222222222222",this.manufacturerList)
390 396
             this.dealerList = response.data.data.dealerList
391 397
             this.drugTypeList = response.data.data.drugTypeList
392 398
 
@@ -517,39 +523,18 @@ export default {
517 523
     },
518 524
     handleSearch(id) {
519 525
       this.WarehouseInfo.warehouseInfoDate = [];
520
-      this.GetOrderDetail(id);
521 526
       this.dialogVisible = true;
522 527
     },
523
-    GetOrderDetail(order_id) {
524
-      const params = {
525
-        id: order_id,
526
-      };
527
-
528
-      this.WarehouseInfo.warehouseInfoDate = [];
529
-      getDrugWarehouseInfoList(params).then((response) => {
530
-        if (response.data.state == 0) {
531
-          this.$message.error(response.data.msg);
532
-          return false;
533
-        } else {
534
-          var obj = {total_count:0,is_total:1}
535
-          for (let i = 0; i < response.data.data.info.length; i++) {
536
-            response.data.data.info[i].is_total = 0
537
-            this.showOne = true;
538
-            this.WarehouseInfo.warehouseInfoDate.push(
539
-              response.data.data.info[i]
540
-            );
541
-            obj.total_count += (response.data.data.info[i].warehousing_count *response.data.data.info[i].price)
542
-          }
543
-          this.WarehouseInfo.warehouseInfoDate.push(obj)
544
-        
545
-          this.WarehouseInfo.warehouse = response.data.data.warehousing;
546
-          this.getAllDrugList();
547
-        }
548
-      });
549
-    },
550 528
     handleDelete: function (index, row) {
551
-
552
-        this.$confirm('确定删除' + row.name + row.sub_name + '方案吗?', '提示', {
529
+        if(row.is_check ==1){
530
+          this.$message.error("该药品已经审核,不能删除!")
531
+          return false
532
+        }
533
+        if(row.is_sys ==1){
534
+          this.$message.error("该药瓶自动入库,不能删除!")
535
+          return false
536
+        }
537
+        this.$confirm('确定删除吗?', '提示', {
553 538
           confirmButtonText: '确定',
554 539
           cancelButtonText: '取消',
555 540
           type: 'warning'
@@ -650,7 +635,7 @@ export default {
650 635
         .catch(() => {});
651 636
     },
652 637
     handleCurrentChangeOne(val) {
653
-      this.GetOrderDetail(val.id);
638
+     
654 639
     },
655 640
     getTime(val) {
656 641
       if (val < 0) {
@@ -671,18 +656,12 @@ export default {
671 656
       }
672 657
       return name;
673 658
     },
674
-    getAllDrugList() {
675
-      getAllDrugList().then((response) => {
676
-        if (response.data.state == 1) {
677
-          var manufacturerList = response.data.data.manufacturerList;
678
-          this.manufacturerList = manufacturerList;
679
-          this.dealerList = response.data.data.dealerList;
680
-        }
681
-      });
682
-    },
659
+    
683 660
     getManufacturer(id) {
684 661
       var name = "";
662
+      console.log("manufacturerList-=------",this.manufacturerList)
685 663
       for (let i = 0; i < this.manufacturerList.length; i++) {
664
+
686 665
         if (id == this.manufacturerList[i].id) {
687 666
           name = this.manufacturerList[i].manufacturer_name;
688 667
         }
@@ -734,9 +713,6 @@ export default {
734 713
       });
735 714
     },
736 715
 
737
-    lili(){
738
-      console.log("exportList",this.exportList)
739
-    },
740 716
     toExport() {
741 717
       if (this.order_id == "") {
742 718
         this.$message.error("请勾选入库单");
@@ -853,7 +829,6 @@ export default {
853 829
         getallPatientList().then(response=>{
854 830
           if(response.data.state ==1){
855 831
             var patient = response.data.data.patient
856
-            console.log("patient====",patient)
857 832
             this.patientList = []
858 833
             var obj = {id:0,name:"全部"}
859 834
             this.patientList.push(obj)
@@ -872,15 +847,6 @@ export default {
872 847
         }
873 848
         return name
874 849
       },
875
-      getManufacturer(id){
876
-         var manufacturer_name = ""
877
-         for(let i=0;i<this.manufacturerList.length;i++){
878
-           if(id == this.manufacturerList[i].id){
879
-            manufacturer_name = this.manufacturerList[i].manufacturer_name
880
-           }
881
-         }
882
-         return
883
-      },
884 850
       getDealerName(id){
885 851
         var dealer_name = ""
886 852
         for(let i=0;i<this.dealerList.length;i++){