Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

杨青 1 year ago
parent
commit
a25127f8f7

+ 18 - 0
src/api/role/admin.js View File

@@ -133,4 +133,22 @@ export function toTestFive(params){
133 133
      method:"Get",
134 134
      params:params
135 135
   })
136
+}
137
+
138
+export function toTestSeven(params){
139
+ 
140
+  return request({
141
+    url:"api/sign/addcontractsignatory",
142
+    method:"Get",
143
+    params:params
144
+  })
145
+}
146
+
147
+export function toTestEight(params){
148
+  
149
+  return request({
150
+    url:"/api/sign/contractsignatory",
151
+    method:"Get",
152
+    params:params,
153
+  })
136 154
 }

+ 3 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue View File

@@ -78,13 +78,14 @@
78 78
               <div class="inline_block">
79 79
                 病区:
80 80
                 <div class="under_line" style="width: 50px; text-align: center">
81
-                  {{ "/" }}
81
+                  {{ record.device_zone.name? record.device_zone.name:"/" }}
82 82
                 </div>
83 83
               </div>
84 84
               <div class="inline_block">
85 85
                 床号:
86 86
                 <div class="under_line" style="width: 50px; text-align: center">
87
-                  {{ "/" }}
87
+                 
88
+                  {{ record.device_number.number? record.device_number.number:"/" }}
88 89
                 </div>
89 90
               </div>
90 91
               <div class="inline_block">

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixty.vue View File

@@ -890,7 +890,7 @@
890 890
                           class="under_line"
891 891
                           style="width: 100px; text-align: center"
892 892
                         >
893
-                          <span v-if="org_id == 10290">{{
893
+                          <span v-if="org_id == 10290 || org_id == 10138 || org_id == 10278">{{
894 894
                             record.lastafterweight.weight_after
895 895
                           }}</span>
896 896
                           <span v-else>{{

+ 19 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue View File

@@ -740,7 +740,9 @@
740 740
                             class="under_line"
741 741
                             style="width: 100px; text-align: center"
742 742
                           >
743
-                            /
743
+                          {{
744
+                          getDisplaceLiquiPart(record.prescription.displace_liqui_part)
745
+                        }}
744 746
                           </div>
745 747
                         </div>
746 748
                         <div
@@ -1887,13 +1889,13 @@
1887 1889
                 <div class="inline_block">
1888 1890
                   病区:
1889 1891
                   <div class="under_line" style="width: 50px; text-align: center">
1890
-                    {{ "/" }}
1892
+                    {{ record.device_zone.name? record.device_zone.name:"/" }}
1891 1893
                   </div>
1892 1894
                 </div>
1893 1895
                 <div class="inline_block">
1894 1896
                   床号:
1895 1897
                   <div class="under_line" style="width: 50px; text-align: center">
1896
-                    {{ "/" }}
1898
+                    {{ record.device_number.number? record.device_number.number:"/" }}
1897 1899
                   </div>
1898 1900
                 </div>
1899 1901
                 <div class="inline_block">
@@ -2909,9 +2911,11 @@
2909 2911
           "腹痛",
2910 2912
         ],
2911 2913
         org_id: "",
2914
+        displaceLiquiPartOptions:[],
2912 2915
       };
2913 2916
     },
2914 2917
     created() {
2918
+      this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
2915 2919
       var bloodAccessParOpera = getDataConfig(
2916 2920
         "hemodialysis",
2917 2921
         "vascular_access_desc"
@@ -3139,6 +3143,18 @@
3139 3143
         });
3140 3144
     },
3141 3145
     methods: {
3146
+      getDisplaceLiquiPart: function(val) {
3147
+       
3148
+        let displace_liqui_part_name = "/";
3149
+        const displace_liqui_part = this.displaceLiquiPartOptions;
3150
+      
3151
+        for (let i = 0; i < displace_liqui_part.length; i++) {
3152
+           if (displace_liqui_part[i].id == val) {
3153
+           displace_liqui_part_name = displace_liqui_part[i].name;
3154
+        }
3155
+      }
3156
+      return displace_liqui_part_name;
3157
+     },
3142 3158
       getUnit: function (val) {
3143 3159
         if (val.assessment_after_dislysis == null) {
3144 3160
           return "";

+ 8 - 13
src/xt_pages/dialysis/batch_print/batch_print_order_sixtysix.vue View File

@@ -84,13 +84,13 @@
84 84
               <div class="inline_block">
85 85
                 病区:
86 86
                 <div class="under_line" style="width: 50px; text-align: center">
87
-                  {{ "/" }}
87
+                  {{ record.device_zone.name? record.device_zone.name:"/" }}
88 88
                 </div>
89 89
               </div>
90 90
               <div class="inline_block">
91 91
                 床号:
92 92
                 <div class="under_line" style="width: 50px; text-align: center">
93
-                  {{ "/" }}
93
+                  {{ record.device_number.number? record.device_number.number:"/" }}
94 94
                 </div>
95 95
               </div>
96 96
               <div class="inline_block">
@@ -204,14 +204,7 @@
204 204
                             class="under_line"
205 205
                             style="width: 150px; text-align: center"
206 206
                           >
207
-                            {{
208
-                              record.assessment_before_dislysis &&
209
-                              record.assessment_before_dislysis
210
-                                .symptom_before_dialysis
211
-                                ? record.assessment_before_dislysis
212
-                                    .symptom_before_dialysis
213
-                                : "/"
214
-                            }}
207
+                          {{ getTime(record.lastSchedule.schedule_date, "{y}-{m}-{d}") }}
215 208
                           </div>
216 209
                         </div>
217 210
                       </div>
@@ -713,6 +706,7 @@
713 706
                         </div>
714 707
   
715 708
                         <div
709
+                        v-if="record.prescription.mode_id == 2 ||  record.prescription.mode_id == 5 ||   record.prescription.mode_id == 12 ||  record.prescription.mode_id == 28"
716 710
                           class="inline_block"
717 711
                           style="margin-left: 10px; flex: 1"
718 712
                         >
@@ -725,6 +719,7 @@
725 719
                           </div>
726 720
                         </div>
727 721
                         <div
722
+                        v-if="record.prescription.mode_id == 2 ||  record.prescription.mode_id == 5 ||   record.prescription.mode_id == 12 ||  record.prescription.mode_id == 28"
728 723
                           class="inline_block"
729 724
                           style="margin-left: 10px; flex: 1"
730 725
                         >
@@ -1160,7 +1155,7 @@
1160 1155
                             >iu</span
1161 1156
                           >
1162 1157
                           <span v-if="record.prescription.anticoagulant == 2"
1163
-                            >iu</span
1158
+                            >mg</span
1164 1159
                           >
1165 1160
                           <span v-if="record.prescription.anticoagulant == 1"
1166 1161
                             >mg</span
@@ -1208,7 +1203,7 @@
1208 1203
                             >iu/h</span
1209 1204
                           >
1210 1205
                           <span v-if="record.prescription.anticoagulant == 2"
1211
-                            >iu/h</span
1206
+                            >mg/h</span
1212 1207
                           >
1213 1208
                           <span v-if="record.prescription.anticoagulant == 1"
1214 1209
                             >mg/h</span
@@ -1234,7 +1229,7 @@
1234 1229
                             >iu</span
1235 1230
                           >
1236 1231
                           <span v-if="record.prescription.anticoagulant == 2"
1237
-                            >iu</span
1232
+                            >mg</span
1238 1233
                           >
1239 1234
                           <span v-if="record.prescription.anticoagulant == 1"
1240 1235
                             >mg</span

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1284,7 +1284,7 @@
1284 1284
             </span>
1285 1285
           </el-row>
1286 1286
         </el-form>
1287
-      
1287
+
1288 1288
       </span>
1289 1289
       <span slot="footer" class="dialog-footer">
1290 1290
         <el-button @click="infoDialogVisible = false">取 消</el-button>

+ 12 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -243,7 +243,8 @@
243 243
                 || org_id == 10410 ||
244 244
                 org_id == 10495 ||
245 245
                 org_id == 10375 ||
246
-                org_id == 10485) &&
246
+                org_id == 10485 ||
247
+                org_id == 10375) &&
247 248
                 org_id!=10387
248 249
             "
249 250
           >
@@ -313,7 +314,7 @@
313 314
               org_id != 9555
314 315
               && org_id!=10432 && org_id!=10445
315 316
               && org_id!=10410 && org_id!=10495 &&
316
-               org_id!=10485 && org_id!=10395 )
317
+               org_id!=10485 && org_id!=10395 && org_id!=10375 )
317 318
               || org_id == 10387
318 319
             "
319 320
           >
@@ -369,7 +370,7 @@
369 370
                 org_id == 10410 ||
370 371
                 org_id == 10495  ||
371 372
                 org_id == 10395
372
-                || org_id == 10485)
373
+                || org_id == 10485 || org_id == 10375)
373 374
                 && org_id!=10387
374 375
             "
375 376
           >
@@ -422,7 +423,7 @@
422 423
               org_id!=10432 &&
423 424
               org_id!=10445 &&
424 425
               org_id!=10410 && org_id!=10495
425
-              && org_id!=10485 && org_id!=10395) ||
426
+              && org_id!=10485 && org_id!=10395 && org_id!=10375) ||
426 427
               org_id == 10387
427 428
             "
428 429
           >
@@ -1147,7 +1148,7 @@
1147 1148
                 org_id== 10432 ||
1148 1149
                 org_id== 10445 ||
1149 1150
                 org_id== 10410 ||
1150
-                org_id == 10485) &&
1151
+                org_id == 10485 || org_id == 10375) &&
1151 1152
                 org_id!=10387
1152 1153
             "
1153 1154
           >
@@ -1194,7 +1195,8 @@
1194 1195
               org_id!=10432 &&
1195 1196
               org_id!=10445 &&
1196 1197
               org_id!=10410 &&
1197
-              org_id!=10485)
1198
+              org_id!=10485 &&
1199
+              org_id!=10375)
1198 1200
               || org_id == 10387
1199 1201
             "
1200 1202
           >
@@ -1252,7 +1254,8 @@
1252 1254
                 org_id == 10410 ||
1253 1255
                 org_id == 10495 ||
1254 1256
                 org_id == 10485 ||
1255
-                org_id == 10395)
1257
+                org_id == 10395 ||
1258
+                org_id == 10375)
1256 1259
                 && org_id!=10387
1257 1260
             "
1258 1261
           >
@@ -1310,7 +1313,8 @@
1310 1313
               org_id!=10410 &&
1311 1314
               org_id!=10495 &&
1312 1315
               org_id!=10485 &&
1313
-              org_id!=10395
1316
+              org_id!=10395 &&
1317
+              org_id!=10375
1314 1318
               )
1315 1319
               || org_id == 10387
1316 1320
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -14,10 +14,10 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <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!=10387 " width="76px" > 超滤量(ml)</th>
18
-          <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 == 10387"  width="76px"> 超滤量(L) </th>
19
-          <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!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <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==10387" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <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!=10387 " width="76px" > 超滤量(ml)</th>
18
+          <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 == 10387"  width="76px"> 超滤量(L) </th>
19
+          <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!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <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==10387" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23 23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) " width="92px" > 置换率(ml/min) </th>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

@@ -777,7 +777,7 @@
777 777
             <td>{{ monitor.blood_flow_volume }}</td>
778 778
             <td>{{ monitor.venous_pressure }}</td>
779 779
             <td>{{ monitor.transmembrane_pressure }}</td>
780
-            <td>{{ monitor.ultrafiltration_rate }}</td>//
780
+            <td>{{ monitor.ultrafiltration_rate }}</td>
781 781
             <td>{{ monitor.ultrafiltration_volume }}</td>
782 782
             <td>{{ monitor.sodium_concentration }}</td>
783 783
             <td>

+ 15 - 37
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue View File

@@ -80,11 +80,11 @@
80 80
                       class="under_line"
81 81
                       style="width: 50px; text-align: center"
82 82
                     >
83
-                      <span>{{
84
-                        patientInfo.DialysisSchedule.device_zone.name
85
-                          ? patientInfo.DialysisSchedule.device_zone.name
86
-                          : ""
87
-                      }}</span>
83
+                    <span>{{
84
+                      patientInfo.DialysisSchedule.device_zone.name
85
+                        ? patientInfo.DialysisSchedule.device_zone.name
86
+                        : "/"
87
+                    }}</span>
88 88
                     </div>
89 89
                   </div>
90 90
                   <div
@@ -100,38 +100,16 @@
100 100
                       class="under_line"
101 101
                       style="width: 50px; text-align: center"
102 102
                     >
103
-                      <!-- <span>{{
104
-                        (dialysisOrder &&
105
-                          dialysisOrder != null &&
106
-                          dialysisOrder.DeviceNumber &&
107
-                          dialysisOrder.DeviceNumber.number.length > 0) ||
108
-                        (dialysisOrder &&
109
-                          dialysisOrder != null &&
110
-                          receiverTreatmentAccess.condition &&
111
-                          receiverTreatmentAccess.condition != 1)
112
-                          ? patientInfo.DialysisSchedule.device_number.number
113
-                          : dialysisOrder.DeviceNumber.number
114
-                      }}</span> -->
115
-
116
-                      <span
117
-                        v-if="
118
-                          dialysisOrder == null ||
119
-                          receiverTreatmentAccess.condition != 1
120
-                        "
121
-                      >
122
-                        {{ patientInfo.DialysisSchedule.device_number.number }}
123
-                      </span>
124
-                      <span
125
-                        v-else-if="
126
-                          dialysisOrder &&
127
-                          dialysisOrder != null &&
128
-                          dialysisOrder.DeviceNumber &&
129
-                          receiverTreatmentAccess.condition == 1
130
-                        "
131
-                      >
132
-                        {{ dialysisOrder.DeviceNumber.number }}
133
-                      </span>
134
-                      <span v-else>/</span>
103
+                    <span>{{
104
+                      dialysisOrder &&
105
+                      dialysisOrder.DeviceNumber &&
106
+                      dialysisOrder.DeviceNumber.number.length > 0
107
+                        ? dialysisOrder.DeviceNumber.number
108
+                        : patientInfo.DialysisSchedule.device_number.number
109
+                    }}</span>
110
+              
111
+
112
+                     
135 113
                     </div>
136 114
                   </div>
137 115
                   <div

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue View File

@@ -820,10 +820,10 @@
820 820
                         class="under_line"
821 821
                         style="width: 100px; text-align: center"
822 822
                       >
823
-                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956">{{
823
+                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10138 || org_id == 10278">{{
824 824
                           lastafterdialysis.weight_after
825 825
                         }}</span>
826
-                        <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956">{{
826
+                        <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id!=10138&&org_id!=10278">{{
827 827
                           predialysis.weight_after_last_transparency
828 828
                             ? predialysis.weight_after_last_transparency
829 829
                             : "未称重"

+ 29 - 14
src/xt_pages/dialysis/template/DialysisPrintOrderSixtysix.vue View File

@@ -80,25 +80,25 @@
80 80
             <div class="inline_block">
81 81
               病区:
82 82
               <div class="under_line" style="width: 50px; text-align: center">
83
-                <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447">{{
83
+                <span>{{
84 84
                   patientInfo.DialysisSchedule.device_zone.name
85 85
                     ? patientInfo.DialysisSchedule.device_zone.name
86
-                    : ""
86
+                    : "/"
87 87
                 }}</span>
88
-                <span v-else>{{ "/" }}</span>
88
+               
89 89
               </div>
90 90
             </div>
91 91
             <div class="inline_block">
92 92
               床号:
93 93
               <div class="under_line" style="width: 50px; text-align: center">
94
-                <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675">{{
94
+                <span>{{
95 95
                   dialysisOrder &&
96 96
                   dialysisOrder.DeviceNumber &&
97 97
                   dialysisOrder.DeviceNumber.number.length > 0
98 98
                     ? dialysisOrder.DeviceNumber.number
99 99
                     : patientInfo.DialysisSchedule.device_number.number
100 100
                 }}</span>
101
-                <span v-else>{{ "/" }}</span>
101
+               
102 102
               </div>
103 103
             </div>
104 104
             <div class="inline_block">
@@ -222,11 +222,7 @@
222 222
                           class="under_line"
223 223
                           style="width: 150px; text-align: center"
224 224
                         >
225
-                          <!-- {{
226
-                            predialysis.symptom_before_dialysis
227
-                              ? predialysis.symptom_before_dialysis
228
-                              : "/"
229
-                          }} -->
225
+                          {{getTimeOne(lastSchedule.schedule_date)  }}
230 226
                         </div>
231 227
                       </div>
232 228
                     </div>
@@ -725,6 +721,7 @@
725 721
                       </div>
726 722
   
727 723
                       <div
724
+                        v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12 || prescription.mode_id == 28"
728 725
                         class="inline_block"
729 726
                         style="margin-left: 10px; flex: 1"
730 727
                       >
@@ -732,6 +729,7 @@
732 729
                         <div
733 730
                           class="under_line"
734 731
                           style="width: 100px; text-align: center"
732
+                          
735 733
                         >
736 734
                           {{
737 735
                             getDisplaceLiquiPart(prescription.displace_liqui_part)
@@ -739,7 +737,7 @@
739 737
                         </div>
740 738
                       </div>
741 739
                       <div
742
-                       
740
+                        v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12 || prescription.mode_id == 28"
743 741
                         class="inline_block"
744 742
                         style="margin-left: 10px; flex: 1"
745 743
                       >
@@ -1105,7 +1103,7 @@
1105 1103
                        <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
1106 1104
                         <span v-if="prescription.anticoagulant == 4">mg</span>
1107 1105
                         <span v-if="prescription.anticoagulant == 3">iu</span>
1108
-                        <span v-if="prescription.anticoagulant == 2">iu</span>
1106
+                        <span v-if="prescription.anticoagulant == 2">mg</span>
1109 1107
                         <span v-if="prescription.anticoagulant == 1">mg</span>
1110 1108
                       </span>
1111 1109
   
@@ -1153,7 +1151,7 @@
1153 1151
                           <span v-if="prescription.anticoagulant == 5">ml/h</span>
1154 1152
                             <span v-if="prescription.anticoagulant == 4">mg/h</span>
1155 1153
                             <span v-if="prescription.anticoagulant == 3">iu/h</span>
1156
-                            <span v-if="prescription.anticoagulant == 2">iu/h</span>
1154
+                            <span v-if="prescription.anticoagulant == 2">mg/h</span>
1157 1155
                             <span v-if="prescription.anticoagulant == 1">mg/h</span>
1158 1156
                         </span>
1159 1157
                         <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
@@ -1224,7 +1222,7 @@
1224 1222
                         <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
1225 1223
                         <span v-if="prescription.anticoagulant == 4">mg</span>
1226 1224
                         <span v-if="prescription.anticoagulant == 3">iu</span>
1227
-                        <span v-if="prescription.anticoagulant == 2">iu</span>
1225
+                        <span v-if="prescription.anticoagulant == 2">mg</span>
1228 1226
                         <span v-if="prescription.anticoagulant == 1">mg</span>
1229 1227
                        </span>
1230 1228
                       <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
@@ -3151,6 +3149,7 @@
3151 3149
           gaijiliang_unit: "",
3152 3150
         },
3153 3151
         org_id: 0,
3152
+        lastSchedule:{},
3154 3153
       };
3155 3154
     },
3156 3155
     methods: {
@@ -3452,6 +3451,17 @@
3452 3451
         }
3453 3452
         return "";
3454 3453
       },
3454
+     
3455
+      getTimeOne(val) {
3456
+         if(val < 0){
3457
+           return ""
3458
+         }
3459
+         if(val == ""){
3460
+          return ""
3461
+         }else {
3462
+          return uParseTime(val, '{y}-{m}-{d}')
3463
+         }
3464
+      },
3455 3465
       getUnit: function (val) {
3456 3466
         switch (val) {
3457 3467
           case 1:
@@ -3582,6 +3592,8 @@
3582 3592
               ? null
3583 3593
               : response.data.data.dialysisOrder;
3584 3594
           // console.log("上机233232323232", this.dialysisOrder);
3595
+
3596
+          this.lastSchedule = response.data.data.lastSchedule
3585 3597
           if (this.operators.length > 0) {
3586 3598
             var operatorsLen = this.operators.length;
3587 3599
             for (var index = 0; index < operatorsLen; index++) {
@@ -3898,7 +3910,10 @@
3898 3910
             }
3899 3911
             this.doctor_advices = doctor_advices_1;
3900 3912
             this.doctor_advices_2 = doctor_advices_2;
3913
+
3914
+
3901 3915
           }
3916
+
3902 3917
           // console.log(this.advice_groups);
3903 3918
         } else {
3904 3919
           this.loading = false;

+ 8 - 1
src/xt_pages/management/components/ManageForm.vue View File

@@ -750,6 +750,9 @@ export default {
750 750
       if (this.form.revers_mode === "") {
751 751
         this.form.revers_mode = 0;
752 752
       }
753
+      if(this.form.zone_id == ""){
754
+         this.form.zone_id = 0
755
+      }
753 756
       this.$refs[formName].validate(valid => {
754 757
         if (valid) {
755 758
           SaveManageInfo(this.form).then(response => {
@@ -817,7 +820,11 @@ export default {
817 820
       var disinfecction_modes = this.form.Disinfection_mode;
818 821
       var disinfecction_modess = parseInt(disinfecction_modes);
819 822
       this.form.Disinfection_mode = disinfecction_modess;
820
-
823
+      if(this.form.zone_id == ""){
824
+         this.form.zone_id = 0
825
+      }
826
+    
827
+      console.log("form23232wo",this.form)
821 828
       this.$refs[formName].validate(valid => {
822 829
         if (valid) {
823 830
           SaveManageInfoTwo(this.form, this.forms.beds).then(response => {

+ 4 - 0
src/xt_pages/management/home.vue View File

@@ -3783,6 +3783,10 @@ export default {
3783 3783
         var disinfecction_modess = parseInt(disinfecction_modes)
3784 3784
         this.form.Disinfection_mode = disinfecction_modess
3785 3785
 
3786
+        if (this.form.zone_id === '') {
3787
+          this.form.zone_id = 0
3788
+        }
3789
+
3786 3790
         this.$refs[formName].validate(valid => {
3787 3791
           if (valid) {
3788 3792
             UpdateMachineInfoTwo(this.form).then(response => {

+ 3 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -1113,8 +1113,6 @@ export default {
1113 1113
         { value: '1402', label: '门诊特殊病(1402)' },
1114 1114
         { value: '1401', label: '门诊慢性病(1401)' },
1115 1115
         { value: '2302', label: '异地就医(2302)' },
1116
-
1117
-
1118 1116
         { value: '0', label: '自费' }
1119 1117
 
1120 1118
       ],
@@ -4866,6 +4864,9 @@ export default {
4866 4864
         case 1401:
4867 4865
           return '门诊慢性病(1401)' + '处方' + index
4868 4866
           break
4867
+        case 2302:
4868
+          return '异地就医(2302)' + '处方' + index
4869
+          break
4869 4870
         case 9922:
4870 4871
           return '家庭通道' + '处方' + index
4871 4872
           break

File diff suppressed because it is too large
+ 600 - 600
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue


+ 8 - 8
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -1767,7 +1767,7 @@ export default {
1767 1767
               // }
1768 1768
 
1769 1769
               var preTime = nowTime
1770
-              if ( this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485){
1770
+              if ( this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191){
1771 1771
                 if (prescription.pre_time == 0) {
1772 1772
                   if (this.schedule.schedule_type == 1) {
1773 1773
                     preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -1924,7 +1924,7 @@ export default {
1924 1924
                   tempProject.push(obj)
1925 1925
                 }
1926 1926
                 var preTime = nowTime
1927
-                if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485) {
1927
+                if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191) {
1928 1928
                   if (this.schedule.schedule_type == 1) {
1929 1929
                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
1930 1930
                   } else if (this.schedule.schedule_type == 2) {
@@ -2234,7 +2234,7 @@ export default {
2234 2234
                     // }
2235 2235
 
2236 2236
                     var preTime = nowTime
2237
-                    if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 ) {
2237
+                    if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 ) {
2238 2238
                       if (prescription.pre_time == 0) {
2239 2239
                         if (this.schedule.schedule_type == 1) {
2240 2240
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -2392,7 +2392,7 @@ export default {
2392 2392
 
2393 2393
                       var preTime = nowTime
2394 2394
                       // var preTime = ''
2395
-                      if(this.org_id != 0 && this.org_id !=  9919 && this.org_id !=  10485) {
2395
+                      if(this.org_id != 0 && this.org_id !=  9919 && this.org_id !=  10485 && this.org_id !=  10191) {
2396 2396
                         if (this.schedule.schedule_type == 1) {
2397 2397
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2398 2398
                         } else if (this.schedule.schedule_type == 2) {
@@ -3898,7 +3898,7 @@ export default {
3898 3898
 
3899 3899
                     var preTime = nowTime
3900 3900
 
3901
-                    if(this.org_id != 0 && this.org_id != 9919 && this.org_id  != 10485 ) {
3901
+                    if(this.org_id != 0 && this.org_id != 9919 && this.org_id  != 10485 && this.org_id  != 10191 ) {
3902 3902
                       if (prescription.pre_time == 0) {
3903 3903
                         if (this.schedule.schedule_type == 1) {
3904 3904
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
@@ -4052,7 +4052,7 @@ export default {
4052 4052
 
4053 4053
                       // var preTime = nowTime
4054 4054
                       var preTime = nowTime
4055
-                      if( this.org_id != 0 && this.org_id != 9919 &&  this.org_id != 10485) {
4055
+                      if( this.org_id != 0 && this.org_id != 9919 &&  this.org_id != 10485 &&  this.org_id != 10191) {
4056 4056
                         if (this.schedule.schedule_type == 1) {
4057 4057
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4058 4058
                         } else if (this.schedule.schedule_type == 2) {
@@ -4535,7 +4535,7 @@ export default {
4535 4535
 
4536 4536
                     var preTime = nowTime
4537 4537
 
4538
-                    if(this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485) {
4538
+                    if(this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191) {
4539 4539
                       if (prescription.pre_time == 0) {
4540 4540
                         // preTime = nowTime
4541 4541
                         if (this.schedule.schedule_type == 1) {
@@ -4692,7 +4692,7 @@ export default {
4692 4692
 
4693 4693
                       var preTime = nowTime
4694 4694
                       // var preTime = ''
4695
-                      if(this.org_id != 0 && this.org_id != 9919  && this.org_id != 10485) {
4695
+                      if(this.org_id != 0 && this.org_id != 9919  && this.org_id != 10485 && this.org_id != 10191 ) {
4696 4696
                         if (this.schedule.schedule_type == 1) {
4697 4697
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4698 4698
                         } else if (this.schedule.schedule_type == 2) {

+ 17 - 11
src/xt_pages/qcd/indicatorControlAnalysis/components/office.vue View File

@@ -21,7 +21,7 @@
21 21
           v-for="item in item_columns"
22 22
           :key="item.id"
23 23
           :label="item.item_name"
24
-          :value="item.id"
24
+          :value="item.item_id"
25 25
         ></el-option>
26 26
       </el-select>
27 27
 
@@ -308,14 +308,14 @@
308 308
           }
309 309
         }
310 310
         this.item_columns = item_inspection_reference
311
-        
312
-        var projectInfo = this.getPojectInfo(this.item_columns[0].project_id, this.item_columns[0].id)
311
+
312
+        var projectInfo = this.getPojectInfo(this.item_columns[0].project_id, this.item_columns[0].item_id)
313 313
         console.log("projectInfo",projectInfo)
314 314
         this.query.project_id = projectInfo.project_id
315
-        this.query.item_id = projectInfo.id
315
+        this.query.item_id = projectInfo.item_id
316 316
         this.item_name = projectInfo.item_name
317 317
         this.query.range_type = projectInfo.range_type
318
-        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
318
+        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
319 319
 
320 320
       }, changeItem(val) {
321 321
         this.query.page = 1
@@ -324,7 +324,7 @@
324 324
         console.log(projectInfo)
325 325
         this.item_name = projectInfo.item_name
326 326
 
327
-        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
327
+        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
328 328
 
329 329
       }, changeRangeValue(val) {
330 330
         this.query.range_value = val
@@ -340,7 +340,13 @@
340 340
               let project = []
341 341
               let item = []
342 342
               this.all_inspection_reference = resp.data.references
343
-               console.log("====hhh",this.all_inspection_reference)
343
+
344
+              for(let i = 0; i <  this.all_inspection_reference.length; i++){
345
+                if(this.all_inspection_reference[i].org_id == 0){
346
+                  this.all_inspection_reference[i].item_id = this.all_inspection_reference[i].id
347
+                }
348
+              }
349
+
344 350
               for (let i = 0; i < this.all_inspection_reference.length; i++) {
345 351
                 project.push(this.all_inspection_reference[i])
346 352
               }
@@ -362,11 +368,11 @@
362 368
               this.item_columns = item
363 369
               this.item_name = item[0].item_name
364 370
 
365
-              var projectInfo = this.getPojectInfo(this.project_columns[0].project_id, this.item_columns[0].id)
371
+              var projectInfo = this.getPojectInfo(this.project_columns[0].project_id, this.item_columns[0].item_id)
366 372
               this.query.project_id = projectInfo.project_id
367
-              this.query.item_id = projectInfo.id
373
+              this.query.item_id = projectInfo.item_id
368 374
               this.query.range_type = projectInfo.range_type
369
-              this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
375
+              this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
370 376
             } else {
371 377
               this.$message.error(resp.msg)
372 378
 
@@ -379,7 +385,7 @@
379 385
       },
380 386
       getPojectInfo(project_id, item_id) {
381 387
         for (let i = 0; i < this.all_inspection_reference.length; i++) {
382
-          if (this.all_inspection_reference[i].project_id == project_id && this.all_inspection_reference[i].id == item_id) {
388
+          if (this.all_inspection_reference[i].project_id == project_id && this.all_inspection_reference[i].item_id == item_id) {
383 389
             return this.all_inspection_reference[i]
384 390
           }
385 391
         }

+ 14 - 9
src/xt_pages/qcd/indicatorControlAnalysis/components/personal.vue View File

@@ -345,9 +345,9 @@
345 345
                       { offset: 1, color: colorList[index][1] }
346 346
                     ])
347 347
                   },
348
-                  lineStyle:{ 
348
+                  lineStyle:{
349 349
                     color:'#409eff' //改变折线颜色
350
-                  }, 
350
+                  },
351 351
                   barBorderRadius: [5, 5, 0, 0] //柱状角成椭圆形
352 352
                 },
353 353
 
@@ -461,19 +461,19 @@
461 461
           }
462 462
         }
463 463
         this.item_columns = item_inspection_reference
464
-        var projectInfo = this.getPojectInfo(this.item_columns[0].project_id, this.item_columns[0].id)
464
+        var projectInfo = this.getPojectInfo(this.item_columns[0].project_id, this.item_columns[0].item_id)
465 465
         this.query.project_id = projectInfo.project_id
466
-        this.query.item_id = projectInfo.id
466
+        this.query.item_id = projectInfo.item_id
467 467
         this.item_name = projectInfo.item_name
468 468
         this.query.range_type = projectInfo.range_type
469
-        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
469
+        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
470 470
 
471 471
       }, changeItem(val) {
472 472
         this.query.page = 1
473 473
         this.query.item_id = val
474 474
         var projectInfo = this.getPojectInfo(this.query.project_id, val)
475 475
         this.item_name = projectInfo.item_name
476
-        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
476
+        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
477 477
 
478 478
       }, changeRangeValue(val) {
479 479
         this.query.range_value = val
@@ -490,6 +490,11 @@
490 490
               let project = []
491 491
               let item = []
492 492
               this.all_inspection_reference = resp.data.references
493
+              for(let i = 0; i <  this.all_inspection_reference.length; i++){
494
+                if(this.all_inspection_reference[i].org_id == 0){
495
+                  this.all_inspection_reference[i].item_id = this.all_inspection_reference[i].id
496
+                }
497
+              }
493 498
 
494 499
               for (let i = 0; i < this.all_inspection_reference.length; i++) {
495 500
                 project.push(this.all_inspection_reference[i])
@@ -511,11 +516,11 @@
511 516
               this.item_columns = item
512 517
               this.item_name = item[0].item_name
513 518
 
514
-              var projectInfo = this.getPojectInfo(this.project_columns[0].project_id, this.item_columns[0].id)
519
+              var projectInfo = this.getPojectInfo(this.project_columns[0].project_id, this.item_columns[0].item_id)
515 520
               this.query.project_id = projectInfo.project_id
516
-              this.query.item_id = projectInfo.id
521
+              this.query.item_id = projectInfo.item_id
517 522
               this.query.range_type = projectInfo.range_type
518
-              this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
523
+              this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
519 524
             } else {
520 525
               this.$message.error(resp.msg)
521 526
 

+ 17 - 1
src/xt_pages/role/admin.vue View File

@@ -65,6 +65,13 @@
65 65
           icon="el-icon-circle-plus-outline"
66 66
           style="float:left"
67 67
           @click="toTestSeven">添加合同签署人</el-button> -->
68
+
69
+          <!-- <el-button   type="primary"
70
+          size="small"
71
+          icon="el-icon-circle-plus-outline"
72
+          style="float:left"  @click="toTestEight">
73
+            脚本
74
+          </el-button> -->
68 75
           
69 76
      </div>
70 77
     
@@ -220,7 +227,7 @@
220 227
 </template>
221 228
 
222 229
 <script>
223
-import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive } from "@/api/role/admin";
230
+import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight } from "@/api/role/admin";
224 231
 import { getRoles } from "@/api/role/role";
225 232
 
226 233
 import { parseTime } from "@/utils";
@@ -565,6 +572,15 @@ export default {
565 572
           console.log("sign",sign)
566 573
         }
567 574
       })
575
+    },
576
+    toTestEight(){
577
+      toTestEight().then(response=>{
578
+        if(response.data.state== 1){
579
+          var sign =  response.data.data.sign
580
+          console.log("sign",sign)
581
+           this.$message.success("保存")
582
+        }
583
+      })
568 584
     }
569 585
   },
570 586
   watch: {

+ 7 - 3
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -809,7 +809,7 @@ export default {
809 809
         this.tableOut[i].specification_name = this.tableOut[i].specification_name
810 810
         this.tableOut[i].packing_unit = this.tableOut[i].packing_unit
811 811
         this.tableOut[i].ctime = this.getTime(this.tableOut[i].ctime)
812
-        if(this.orgId == 9919 || this.orgId == 10402 || this.orgId == 0){
812
+        if(this.orgId == 9919 || this.orgId == 10402){
813 813
           this.tableOut[i].total_price = (this.tableOut[i].count * this.tableOut[i].buy_price).toFixed(2)
814 814
           this.tableOut[i].packing_price = this.tableOut[i].buy_price
815 815
         }else if(this.orgId == 10265){
@@ -830,6 +830,10 @@ export default {
830 830
           this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
831 831
         }else if(this.orgId == 10188){
832 832
           this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
833
+        }else if(this.orgId == 10489){
834
+          this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
835
+        }else if(this.orgId == 10375){
836
+          this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
833 837
         }else{
834 838
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
835 839
         }
@@ -838,11 +842,11 @@ export default {
838 842
 
839 843
          this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
840 844
         }
841
-        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191){
845
+        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId == 0 || this.orgId ==10489 || this.orgId == 10375){
842 846
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
843 847
           console.log("out_count232233232332",this.tableOut[i].out_count)
844 848
         }
845
-        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402){
849
+        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375){
846 850
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
847 851
         }
848 852
        }

+ 6 - 3
src/xt_pages/user/inspection.vue View File

@@ -1343,9 +1343,12 @@ export default {
1343 1343
                   item.value_direction = '↑'
1344 1344
                 }
1345 1345
               }
1346
-              console.log("items23233232",item)
1347
-              this.items.push(item)
1348
-              console.log("items232232332wo",this.items)
1346
+              // console.log("items23233232",item)
1347
+              if(item.item_name!=""){
1348
+                this.items.push(item)
1349
+              }
1350
+            
1351
+              // console.log("items232232332wo",this.items)
1349 1352
 
1350 1353
               if(item.value.indexOf("http") >= 0){
1351 1354
                 this.isPic = true

+ 10 - 31
src/xt_pages/workforce/template.vue View File

@@ -187,22 +187,11 @@
187 187
 
188 188
         <el-tab-pane name="first" :disabled="template_mode.mode == 0" >
189 189
 
190
-          <span slot="label"> {{first_template.week?'一周模版':'一周模版'}}
191
-
192
-             <span v-if="schedule.mode ==1">(本周)</span>
193
-             <span v-if="schedule.mode == 2 && schedule.execute_times%2==0">(下一周)</span>
194
-             <span v-if="schedule.mode == 2 && schedule.execute_times%2!=0">(本周)</span>
195
-
196
-             <span v-if="schedule.mode == 3 && schedule.execute_times%3 ==0">(下下周)</span>
197
-             <span v-if="schedule.mode == 3 && schedule.execute_times%3 ==1">(下周)</span>
198
-             <span v-if="schedule.mode == 3 && schedule.execute_times%3 ==2">(本周)</span>
199
-
200
-
201
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==0">(下下周)</span>
202
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==1">(下周)</span>
203
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==2">(本周)</span>
204
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==3">(上周)</span>
190
+          <span slot="label"> {{first_template.week?'一周模版'+'('+first_template.week+'周'+')':'一周模版'+'('+first_template.week+'周'+')'}}
205 191
 
192
+             <span v-if="schedule.mode ==1">{{'(本周)'}}</span>
193
+             <span v-if="schedule.mode == 2 && schedule.execute_times%2==0">{{'(下一周)'}}</span>
194
+             <span v-if="schedule.mode == 2 && schedule.execute_times%2!=0">{{'(本周)'}}</span>
206 195
 
207 196
           </span>
208 197
 
@@ -210,29 +199,19 @@
210 199
 
211 200
         <el-tab-pane  name="second" :disabled="template_mode.mode != 2 && template_mode.mode != 3 && template_mode.mode  != 4">
212 201
 
213
-          <span slot="label"> {{second_template.week?'二周模版':'二周模版'}}
214
-
215
-              <span v-if="schedule.mode == 2 && schedule.execute_times%2==0">(本周)</span>
216
-             <span v-if="schedule.mode == 2 && schedule.execute_times%2!=0">(下一周)</span>
217
-
218
-             <span v-if="schedule.mode == 3 && schedule.execute_times%3 ==0">(本周)</span>
219
-             <span v-if="schedule.mode == 3 && schedule.execute_times%3 ==1">(下周)</span>
220
-             <span v-if="schedule.mode == 3 && schedule.execute_times%3 ==2">(下下周)</span>
202
+          <span slot="label"> {{second_template.week?'二周模版'+'('+second_template.week+'周'+')':'二周模版'+'('+second_template.week+'周'+')'}}
221 203
 
222
-
223
-              <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==0">(下下周)</span>
224
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==1">(下周)</span>
225
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==2">(本周)</span>
226
-             <span v-if="schedule.mode == 4 && schedule.execute_times%4 ==3">(上周)</span>
204
+             <span v-if="schedule.mode == 2 && schedule.execute_times%2==0">{{'(本周)'}}</span>
205
+             <span v-if="schedule.mode == 2 && schedule.execute_times%2!=0">{{'(下一周)'}}</span>
227 206
 
228 207
           </span>
229 208
         </el-tab-pane>
230
-
231
-        <el-tab-pane :label="  third_template.week? '三周模版':'三周模版'" name="third" :disabled="template_mode.mode != 3 && template_mode.mode  != 4">
209
+<!--                  {{ four_template.week?four_template.week+'周':""}}-->
210
+        <el-tab-pane :label="'三周模版'+'('+third_template.week+'周'+')'" name="third" :disabled="template_mode.mode != 3 && template_mode.mode  != 4">
232 211
 
233 212
         </el-tab-pane>
234 213
 
235
-      <el-tab-pane :label="four_template.week?'四周模版':'四周模版'" name="four" :disabled="template_mode.mode  != 4 ">
214
+      <el-tab-pane :label="'四周模版'+'('+four_template.week+'周'+')'" name="four" :disabled="template_mode.mode  != 4 ">
236 215
         </el-tab-pane>
237 216
       </el-tabs>
238 217
               </div>