Browse Source

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

杨青 2 years ago
parent
commit
7a2aba7ac8

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

823
                           }}
823
                           }}
824
                         </div>
824
                         </div>
825
                       </div>
825
                       </div>
826
+
827
+                      <div class="inline_block" style="flex: 1" v-if="org_id ==0 || org_id ==10440">
828
+                        衣物重:
829
+                        <div
830
+                          class="under_line"
831
+                          style="width: 70px; text-align: center"
832
+                        >
833
+                          {{
834
+                            record.assessment_before_dislysis &&
835
+                            record.assessment_before_dislysis.additional_weight
836
+                              ? record.assessment_before_dislysis.additional_weight
837
+                              : "/"
838
+                          }}
839
+                        </div>
840
+                      </div>
826
                       <div
841
                       <div
827
                         class="inline_block"
842
                         class="inline_block"
828
                         style="flex: 1"
843
                         style="flex: 1"
874
                     </div>
889
                     </div>
875
 
890
 
876
                     <div
891
                     <div
892
+                    
877
                       class="row"
893
                       class="row"
878
                       style="padding: 2px 0; line-height: 23px; display: flex"
894
                       style="padding: 2px 0; line-height: 23px; display: flex"
879
                     >
895
                     >
880
-                      <div class="inline_block" style="flex: 1">
896
+                      <div class="inline_block" style="flex: 1"
897
+                        v-if="org_id!=10440 && org_id !=0">
881
                         上次透后体重:
898
                         上次透后体重:
882
                         <div
899
                         <div
883
                           class="under_line"
900
                           class="under_line"
2442
                           }}
2459
                           }}
2443
                         </div>
2460
                         </div>
2444
                       </div>
2461
                       </div>
2462
+                    </div>
2463
+                     <div
2464
+                     v-if="org_id ==0 || org_id ==10440"
2465
+                      class="row"
2466
+                      style="padding: 2px 0; line-height: 23px; display: flex"
2467
+                    >
2468
+                      <div
2469
+                        class="inline_block"
2470
+                        style="flex: 1; display: inline-block"
2471
+                      >
2472
+                        衣物重:
2473
+                        <div
2474
+                          class="under_line"
2475
+                          style="
2476
+                            width: 100px;
2477
+                            line-height: 25px;
2478
+                            text-align: left;
2479
+                            margin-left: 2px;
2480
+                            display: inline-block;
2481
+                            white-space: normal;
2482
+                          "
2483
+                        >
2484
+                          {{
2485
+                            record.assessment_after_dislysis && record.assessment_after_dislysis.additional_weight
2486
+                              ? record.assessment_after_dislysis.additional_weight
2487
+                              : "/"
2488
+                          }}
2489
+                        </div>
2490
+                      </div>
2445
                     </div>
2491
                     </div>
2446
                     <div
2492
                     <div
2447
                       class="row"
2493
                       class="row"

+ 21 - 15
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

236
                 template_id == 56 ||
236
                 template_id == 56 ||
237
                 template_id == 60 ||
237
                 template_id == 60 ||
238
                 org_id == 10210 ||
238
                 org_id == 10210 ||
239
-                org_id == 9555 || org_id == 10387
239
+                org_id == 9555 
240
                 || org_id == 10432
240
                 || org_id == 10432
241
                 || org_id == 10445
241
                 || org_id == 10445
242
-                || org_id == 10410)
242
+                || org_id == 10410) &&
243
+                org_id!=10387
243
             "
244
             "
244
           >
245
           >
245
             <template slot-scope="scope">
246
             <template slot-scope="scope">
266
             width="110"
267
             width="110"
267
             v-if="
268
             v-if="
268
               isShow('超滤量') &&
269
               isShow('超滤量') &&
269
-              template_id != 6 &&
270
+              (template_id != 6 &&
270
               template_id != 9 &&
271
               template_id != 9 &&
271
               template_id != 10 &&
272
               template_id != 10 &&
272
               template_id != 11 &&
273
               template_id != 11 &&
304
               template_id != 56 &&
305
               template_id != 56 &&
305
               template_id != 60 &&
306
               template_id != 60 &&
306
               org_id!= 10210 &&
307
               org_id!= 10210 &&
307
-              org_id != 9555 && org_id!=10387
308
+              org_id != 9555 
308
               && org_id!=10432 && org_id!=10445
309
               && org_id!=10432 && org_id!=10445
309
-              && org_id!=10410
310
+              && org_id!=10410)
311
+              || org_id == 10387
310
             "
312
             "
311
           >
313
           >
312
             <template slot-scope="scope">
314
             <template slot-scope="scope">
358
                 org_id == 10432 ||
360
                 org_id == 10432 ||
359
                 org_id == 10445 ||
361
                 org_id == 10445 ||
360
                 org_id == 10410)
362
                 org_id == 10410)
363
+                && org_id!=10387
361
             "
364
             "
362
           >
365
           >
363
             <template slot-scope="scope">
366
             <template slot-scope="scope">
375
             width="100"
378
             width="100"
376
             v-if="
379
             v-if="
377
               isShow('超滤率') &&
380
               isShow('超滤率') &&
378
-              template_id != 6 &&
381
+              (template_id != 6 &&
379
               template_id != 10 &&
382
               template_id != 10 &&
380
               template_id != 11 &&
383
               template_id != 11 &&
381
               template_id != 12 &&
384
               template_id != 12 &&
407
               template_id != 60 &&
410
               template_id != 60 &&
408
               org_id!=10432 &&
411
               org_id!=10432 &&
409
               org_id!=10445 &&
412
               org_id!=10445 &&
410
-              org_id!=10410
413
+              org_id!=10410) || 
414
+              org_id == 10387
411
             "
415
             "
412
           >
416
           >
413
             <template slot-scope="scope">
417
             <template slot-scope="scope">
1098
                 template_id == 60 ||
1102
                 template_id == 60 ||
1099
                 org_id== 10432 || 
1103
                 org_id== 10432 || 
1100
                 org_id== 10445 ||
1104
                 org_id== 10445 ||
1101
-                org_id== 10410)
1105
+                org_id== 10410) &&
1106
+                org_id!=10387
1102
             "
1107
             "
1103
           >
1108
           >
1104
             <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
1109
             <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
1110
             :span="8"
1115
             :span="8"
1111
             v-if="
1116
             v-if="
1112
               isShow('超滤率') &&
1117
               isShow('超滤率') &&
1113
-              template_id != 6 &&
1118
+              (template_id != 6 &&
1114
               template_id != 10 &&
1119
               template_id != 10 &&
1115
               template_id != 11 &&
1120
               template_id != 11 &&
1116
               template_id != 12 &&
1121
               template_id != 12 &&
1142
               template_id != 60 &&
1147
               template_id != 60 &&
1143
               org_id!=10432 && 
1148
               org_id!=10432 && 
1144
               org_id!=10445 &&
1149
               org_id!=10445 &&
1145
-              org_id!=10410
1150
+              org_id!=10410)
1151
+              || org_id == 10387
1146
             "
1152
             "
1147
           >
1153
           >
1148
             <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
1154
             <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
1193
                 org_id == 10210 ||
1199
                 org_id == 10210 ||
1194
                 org_id == 9555 ||
1200
                 org_id == 9555 ||
1195
                 org_id == 10340 ||
1201
                 org_id == 10340 ||
1196
-                org_id == 10387 ||
1197
                 org_id == 10432 ||
1202
                 org_id == 10432 ||
1198
                 org_id == 10445 ||
1203
                 org_id == 10445 ||
1199
-                org_id == 10410)
1204
+                org_id == 10410) 
1205
+                && org_id!=10387
1200
             "
1206
             "
1201
           >
1207
           >
1202
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
1208
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
1209
             :span="8"
1215
             :span="8"
1210
             v-if="
1216
             v-if="
1211
               isShow('超滤量') &&
1217
               isShow('超滤量') &&
1212
-              template_id != 6 &&
1218
+              (template_id != 6 &&
1213
               template_id != 9 &&
1219
               template_id != 9 &&
1214
               template_id != 10 &&
1220
               template_id != 10 &&
1215
               template_id != 11 &&
1221
               template_id != 11 &&
1247
               org_id !=  10210 &&
1253
               org_id !=  10210 &&
1248
               org_id !=  10340 &&
1254
               org_id !=  10340 &&
1249
               org_id != 9555 &&
1255
               org_id != 9555 &&
1250
-              org_id!=10387&&
1251
               org_id!=10432 && 
1256
               org_id!=10432 && 
1252
               org_id!=10445 && 
1257
               org_id!=10445 && 
1253
-              org_id!=10410
1258
+              org_id!=10410)
1259
+              || org_id == 10387
1254
             "
1260
             "
1255
           >
1261
           >
1256
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"
1262
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"

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

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
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 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10387 || 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)" 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 && 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!=10387 && 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"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || 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)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && 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" 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 || 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!=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 && 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 == 10387"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || 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!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && (template_id !=6 && 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==10387" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
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) " width="92px" > 置换率(ml/min) </th>
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) " width="92px" > 置换率(ml/min) </th>

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue View File

814
                                   : "mmHg"
814
                                   : "mmHg"
815
                               }})
815
                               }})
816
                             </td>
816
                             </td>
817
-                            <td width="60">透析液温度(°C)</td>
817
+                            <td width="60">动脉压</td>
818
                             <!-- <td width="50">电导度<br />(ms/cm)</td> -->
818
                             <!-- <td width="50">电导度<br />(ms/cm)</td> -->
819
                             <td width="50">超滤率<br />ml/h</td>
819
                             <td width="50">超滤率<br />ml/h</td>
820
                             <td width="50">超滤量<br />(ml)</td>
820
                             <td width="50">超滤量<br />(ml)</td>
884
                             <!-- 透析液温度 -->
884
                             <!-- 透析液温度 -->
885
                             <td>
885
                             <td>
886
                               {{
886
                               {{
887
-                                monitor.dialysate_temperature
888
-                                  ? monitor.dialysate_temperature
887
+                                monitor.arterial_pressure
888
+                                  ? monitor.arterial_pressure
889
                                   : ""
889
                                   : ""
890
                               }}
890
                               }}
891
                             </td>
891
                             </td>

+ 59 - 14
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

832
                         }}
832
                         }}
833
                       </div>
833
                       </div>
834
                     </div>
834
                     </div>
835
+
836
+                     <div class="inline_block" style="flex: 1" v-if="org_id ==0 || org_id ==10440">
837
+                      衣物重:
838
+                      <div
839
+                        class="under_line"
840
+                        style="width: 70px; text-align: center"
841
+                      >
842
+                        {{
843
+                          predialysis.additional_weight
844
+                            ? predialysis.additional_weight
845
+                            : "/"
846
+                        }}
847
+                      </div>
848
+                    </div>
835
                     <div class="inline_block" style="flex: 1" v-if="org_id==10290">
849
                     <div class="inline_block" style="flex: 1" v-if="org_id==10290">
836
                       透析器/灌流器:
850
                       透析器/灌流器:
837
                       <div
851
                       <div
901
                     class="row"
915
                     class="row"
902
                     style="padding: 2px 0; line-height: 23px; display: flex"
916
                     style="padding: 2px 0; line-height: 23px; display: flex"
903
                   >
917
                   >
904
-                    <div class="inline_block" style="flex: 1">
918
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10440">
905
                       上次透后体重:
919
                       上次透后体重:
906
                       <div
920
                       <div
907
                         class="under_line"
921
                         class="under_line"
1493
                       
1507
                       
1494
 
1508
 
1495
                         <td>
1509
                         <td>
1496
-                          <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10471"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1497
-                          <span v-if="org_id==9671 || org_id==10440 || org_id == 10471"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1510
+                          <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1511
+                          <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1498
                         </td>
1512
                         </td>
1499
                         <!-- <td style="width:50px">
1513
                         <!-- <td style="width:50px">
1500
                           <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))">
1514
                           <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))">
2468
                     </div>
2482
                     </div>
2469
                   </div>
2483
                   </div>
2470
 
2484
 
2485
+
2486
+                   <div
2487
+                    v-if="org_id == 10440 || org_id == 0"
2488
+                    class="row"
2489
+                    style="padding: 2px 0; line-height: 23px; display: flex"
2490
+                  >
2491
+                    <div
2492
+                      class="inline_block"
2493
+                      style="flex: 1; display: inline-block"
2494
+                    >
2495
+                      衣物重:
2496
+                      <div
2497
+                        class="under_line"
2498
+                        style="
2499
+                          width: 100px;
2500
+                          line-height: 25px;
2501
+                          text-align: left;
2502
+                          margin-left: 2px;
2503
+                          display: inline-block;
2504
+                          white-space: normal;
2505
+                        "
2506
+                      >
2507
+                        {{
2508
+                          afterdialysis.additional_weight
2509
+                            ? afterdialysis.additional_weight
2510
+                            : "/"
2511
+                        }}
2512
+                      </div>
2513
+                    </div>
2514
+                  </div>
2515
+
2471
                   <div
2516
                   <div
2472
                     class="row"
2517
                     class="row"
2473
                     style="padding: 2px 0; line-height: 23px; display: flex"
2518
                     style="padding: 2px 0; line-height: 23px; display: flex"
2596
                           }}</span
2641
                           }}</span
2597
                         >
2642
                         >
2598
                         <img
2643
                         <img
2599
-                          style="height: 30px"
2644
+                          style="height: 40px"
2600
                           :src="
2645
                           :src="
2601
                             setAdminUserES(
2646
                             setAdminUserES(
2602
                               dialysisOrder == null
2647
                               dialysisOrder == null
2639
                           }}</span
2684
                           }}</span
2640
                         >
2685
                         >
2641
                         <img
2686
                         <img
2642
-                          style="height: 30px"
2687
+                          style="height: 40px"
2643
                           :src="
2688
                           :src="
2644
                             setAdminUserES(
2689
                             setAdminUserES(
2645
                               dialysisOrder == null
2690
                               dialysisOrder == null
2667
                       >
2712
                       >
2668
                     
2713
                     
2669
                         <span
2714
                         <span
2670
-                          style="height: 30px; display: inline-block"
2715
+                          style="height: 40px; display: inline-block"
2671
                           v-if="
2716
                           v-if="
2672
                             setAdminUserES(
2717
                             setAdminUserES(
2673
                               dialysisOrder == null
2718
                               dialysisOrder == null
2685
                           }}</span
2730
                           }}</span
2686
                         >
2731
                         >
2687
                         <img
2732
                         <img
2688
-                          style="height: 30px"
2733
+                          style="height: 40px"
2689
                           :src="
2734
                           :src="
2690
                             setAdminUserES(
2735
                             setAdminUserES(
2691
                               dialysisOrder == null
2736
                               dialysisOrder == null
2732
                           }}</span
2777
                           }}</span
2733
                         >
2778
                         >
2734
                         <img
2779
                         <img
2735
-                          style="height: 30px"
2780
+                          style="height: 40px"
2736
                           :src="
2781
                           :src="
2737
                             setAdminUserES(
2782
                             setAdminUserES(
2738
                               dialysisOrder == null
2783
                               dialysisOrder == null
2768
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2813
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2769
                         </span>
2814
                         </span>
2770
                         <img
2815
                         <img
2771
-                          style="height: 30px"
2816
+                          style="height: 40px"
2772
                           :src="
2817
                           :src="
2773
                             setAdminUserES(check == null ? 0 : check.creater)
2818
                             setAdminUserES(check == null ? 0 : check.creater)
2774
                           "
2819
                           "
2795
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2840
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2796
                         </span>
2841
                         </span>
2797
                         <img
2842
                         <img
2798
-                          style="height: 30px"
2843
+                          style="height: 40px"
2799
                           :src="
2844
                           :src="
2800
                             setAdminUserES(check == null ? 0 : check.creater)
2845
                             setAdminUserES(check == null ? 0 : check.creater)
2801
                           "
2846
                           "
2823
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
2868
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
2824
                         </span>
2869
                         </span>
2825
                         <img
2870
                         <img
2826
-                          style="height: 30px"
2871
+                          style="height: 40px"
2827
                           :src="
2872
                           :src="
2828
                             setAdminUserES(check == null ? 0 : check.modifier)
2873
                             setAdminUserES(check == null ? 0 : check.modifier)
2829
                           "
2874
                           "
2851
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2896
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
2852
                         </span>
2897
                         </span>
2853
                         <img
2898
                         <img
2854
-                          style="height: 30px"
2899
+                          style="height: 40px"
2855
                           :src="
2900
                           :src="
2856
                             setAdminUserES(check == null ? 0 : check.creater)
2901
                             setAdminUserES(check == null ? 0 : check.creater)
2857
                           "
2902
                           "
2886
                           }}
2931
                           }}
2887
                         </span>
2932
                         </span>
2888
                         <img
2933
                         <img
2889
-                          style="height: 30px"
2934
+                          style="height: 40px"
2890
                           :src="
2935
                           :src="
2891
                             setAdminUserES(
2936
                             setAdminUserES(
2892
                               dialysisOrder == null
2937
                               dialysisOrder == null
2913
                           {{ getAdminUser(prescription.creater) }}
2958
                           {{ getAdminUser(prescription.creater) }}
2914
                         </span>
2959
                         </span>
2915
                         <img
2960
                         <img
2916
-                          style="height: 30px"
2961
+                          style="height: 40px"
2917
                           :src="setAdminUserES(prescription.creater)"
2962
                           :src="setAdminUserES(prescription.creater)"
2918
                           alt=""
2963
                           alt=""
2919
                           srcset=""
2964
                           srcset=""

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

345
       ></el-pagination>
345
       ></el-pagination>
346
     </el-row>
346
     </el-row>
347
 
347
 
348
-    <!-- 编辑维修记录 -->
348
+    <-- 编辑维修记录 -->
349
     <el-dialog
349
     <el-dialog
350
       title="编辑维修记录"
350
       title="编辑维修记录"
351
       :visible.sync="dialogVisible"
351
       :visible.sync="dialogVisible"

+ 1 - 2
src/xt_pages/management/components/UserForm.vue View File

1557
       });
1557
       });
1558
     },
1558
     },
1559
     EditUser(id, patientid) {
1559
     EditUser(id, patientid) {
1560
-       console.log("hh2h333232332233232323322323",id)
1561
-       console.log("patient_id2323223323223322332323322323",patientid)
1562
       EditUser(id, patientid).then(response => {
1560
       EditUser(id, patientid).then(response => {
1563
         if (response.data.state === 1) {
1561
         if (response.data.state === 1) {
1564
           this.dialogVisible = true;
1562
           this.dialogVisible = true;
2509
           }else{
2507
           }else{
2510
             this.form.bed = ""
2508
             this.form.bed = ""
2511
             this.bedNumberTwo = []
2509
             this.bedNumberTwo = []
2510
+            this.getAllSubregion()
2512
 
2511
 
2513
           }
2512
           }
2514
 
2513
 

+ 187 - 56
src/xt_pages/management/components/WaterForm.vue View File

37
          <el-row>
37
          <el-row>
38
             <el-col :span="8">
38
             <el-col :span="8">
39
                 <el-form-item label="原水电导度(μs/cm):" prop="water_conductivity"  class="st" label-width="100px">
39
                 <el-form-item label="原水电导度(μs/cm):" prop="water_conductivity"  class="st" label-width="100px">
40
-                    <el-input  v-model="form.water_conductivity" style="width:100px" 
40
+                    <el-input  v-model="form.water_conductivity" style="width:100px"
41
                         oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
41
                         oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
42
                     >
42
                     >
43
                     </el-input>
43
                     </el-input>
48
             </el-col>
48
             </el-col>
49
             <el-col :span="8">
49
             <el-col :span="8">
50
                 <el-form-item label="原水压力(Mpa):"  class="st">
50
                 <el-form-item label="原水压力(Mpa):"  class="st">
51
-                    <el-input  v-model="form.water_pressure" style="width:100px" 
51
+                    <el-input  v-model="form.water_pressure" style="width:100px"
52
                     oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
52
                     oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
53
                     >
53
                     >
54
                     </el-input>
54
                     </el-input>
174
                     <el-input  v-model="form.total_chlorine_detection" style="width:100px"
174
                     <el-input  v-model="form.total_chlorine_detection" style="width:100px"
175
                     oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
175
                     oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
176
                      ></el-input>
176
                      ></el-input>
177
-                     
177
+
178
                 </el-form-item>
178
                 </el-form-item>
179
             </el-col>
179
             </el-col>
180
             <el-col :span="8">
180
             <el-col :span="8">
237
             </el-col>
237
             </el-col>
238
             <el-col :span="8">
238
             <el-col :span="8">
239
                 <el-form-item label="时长(h):"  class="st">
239
                 <el-form-item label="时长(h):"  class="st">
240
-                    <el-input  v-model="form.last_disinfection_time"  style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
240
+                    <el-input  v-model="form.last_disinfection_time" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
241
                 </el-form-item>
241
                 </el-form-item>
242
             </el-col>
242
             </el-col>
243
          </el-row>
243
          </el-row>
244
 
244
 
245
          <el-row>
245
          <el-row>
246
-          
246
+
247
             <el-col :span="8">
247
             <el-col :span="8">
248
                 <el-form-item label="过滤器更换(只):"  class="st">
248
                 <el-form-item label="过滤器更换(只):"  class="st">
249
-                    <el-input  v-model="form.filter_replacement" style="width:100px" 
249
+                    <el-input  v-model="form.filter_replacement" style="width:100px"
250
                     oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
250
                     oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
251
                     ></el-input>
251
                     ></el-input>
252
                 </el-form-item>
252
                 </el-form-item>
273
               </el-form-item>
273
               </el-form-item>
274
           </el-col>
274
           </el-col>
275
 
275
 
276
-        
276
+
277
         </el-row>
277
         </el-row>
278
-       
278
+
279
         </el-form>
279
         </el-form>
280
         <div style="float:right">
280
         <div style="float:right">
281
             <el-button type="primary" @click="saveWater('form')">保存</el-button>
281
             <el-button type="primary" @click="saveWater('form')">保存</el-button>
282
         </div>
282
         </div>
283
 
283
 
284
-      
284
+
285
     </div>
285
     </div>
286
 </template>
286
 </template>
287
 <script>
287
 <script>
314
               last_ro_membrane_effluent:"",
314
               last_ro_membrane_effluent:"",
315
               last_production_of_water_conductivity:"",//产水电导度
315
               last_production_of_water_conductivity:"",//产水电导度
316
               last_water_yield:"",//产水量
316
               last_water_yield:"",//产水量
317
-             
317
+
318
               carbon_tank:"",//碳罐
318
               carbon_tank:"",//碳罐
319
               snd_tank:"",//砂罐,
319
               snd_tank:"",//砂罐,
320
               resin_tank:"",//树脂罐
320
               resin_tank:"",//树脂罐
332
               remark:"",//备注
332
               remark:"",//备注
333
               filter_replacement:"",//过滤器更换
333
               filter_replacement:"",//过滤器更换
334
               admin_user_id:"",//记录人
334
               admin_user_id:"",//记录人
335
-              
335
+
336
             },
336
             },
337
             machineType:[
337
             machineType:[
338
-               {id:0,name:"全部"}, 
339
-               {id:1,name:"正常"}, 
340
-               {id:2,name:"故障"}, 
338
+               {id:0,name:"全部"},
339
+               {id:1,name:"正常"},
340
+               {id:2,name:"故障"},
341
             ],
341
             ],
342
             forcePumpList:[
342
             forcePumpList:[
343
               {id:0,name:"全部"},
343
               {id:0,name:"全部"},
347
             disinfectionType:[
347
             disinfectionType:[
348
             { id: 0, name: "请选择" },
348
             { id: 0, name: "请选择" },
349
             { id: 1, name: "热消毒" },
349
             { id: 1, name: "热消毒" },
350
-            { id: 2, name: "化学消毒" }   
350
+            { id: 2, name: "化学消毒" }
351
             ],
351
             ],
352
             checked:"",
352
             checked:"",
353
             rules: {
353
             rules: {
355
            },
355
            },
356
            nurseList:[],
356
            nurseList:[],
357
         }
357
         }
358
-       
358
+
359
     },
359
     },
360
     methods:{
360
     methods:{
361
         saveWater(formName){
361
         saveWater(formName){
366
         if(this.form.machine_status!=""){
366
         if(this.form.machine_status!=""){
367
           this.form.machine_status = parseInt(this.form.machine_status)
367
           this.form.machine_status = parseInt(this.form.machine_status)
368
         }
368
         }
369
-      
370
-       
369
+
370
+
371
         if(this.form.reverse_osmosis_membrane_disinfection == true){
371
         if(this.form.reverse_osmosis_membrane_disinfection == true){
372
            this.form.reverse_osmosis_membrane_disinfection = 1
372
            this.form.reverse_osmosis_membrane_disinfection = 1
373
         }
373
         }
383
         if(this.form.water_conductivity!=""){
383
         if(this.form.water_conductivity!=""){
384
           this.form.water_conductivity = parseFloat(this.form.water_conductivity)== NaN ? 0:parseFloat(this.form.water_conductivity)
384
           this.form.water_conductivity = parseFloat(this.form.water_conductivity)== NaN ? 0:parseFloat(this.form.water_conductivity)
385
         }else{
385
         }else{
386
-           this.form.water_conductivity = 0 
386
+           this.form.water_conductivity = 0
387
         }
387
         }
388
-        
388
+
389
         if(this.form.water_pressure!=""){
389
         if(this.form.water_pressure!=""){
390
           this.form.water_pressure = parseFloat(this.form.water_pressure) == NaN ? 0:parseFloat(this.form.water_pressure)
390
           this.form.water_pressure = parseFloat(this.form.water_pressure) == NaN ? 0:parseFloat(this.form.water_pressure)
391
         }else{
391
         }else{
395
         if(this.form.temperature!=""){
395
         if(this.form.temperature!=""){
396
           this.form.temperature = parseFloat(this.form.temperature)== NaN ? 0:parseFloat(this.form.temperature)
396
           this.form.temperature = parseFloat(this.form.temperature)== NaN ? 0:parseFloat(this.form.temperature)
397
         }else{
397
         }else{
398
-          this.form.temperature = 0    
398
+          this.form.temperature = 0
399
         }
399
         }
400
-        
400
+
401
         if(this.form.force_pump_status!=""){
401
         if(this.form.force_pump_status!=""){
402
           this.form.force_pump_status = parseFloat(this.form.force_pump_status) ==  NaN ? 0: parseFloat(this.form.force_pump_status)
402
           this.form.force_pump_status = parseFloat(this.form.force_pump_status) ==  NaN ? 0: parseFloat(this.form.force_pump_status)
403
         }else{
403
         }else{
404
             this.form.force_pump_status = 0
404
             this.form.force_pump_status = 0
405
         }
405
         }
406
-        
406
+
407
         if(this.form.first_ro_membrane_water!=""){
407
         if(this.form.first_ro_membrane_water!=""){
408
           this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water) == NaN?0:parseFloat(this.form.first_ro_membrane_water)
408
           this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water) == NaN?0:parseFloat(this.form.first_ro_membrane_water)
409
         }else{
409
         }else{
415
         }else{
415
         }else{
416
           this.form.first_ro_film_thick_water = 0
416
           this.form.first_ro_film_thick_water = 0
417
         }
417
         }
418
-        
418
+
419
         if(this.form.first_ro_membrane_effluent!=""){
419
         if(this.form.first_ro_membrane_effluent!=""){
420
-          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent) 
420
+          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent)
421
         }else{
421
         }else{
422
-           this.form.first_ro_membrane_effluent = 0 
422
+           this.form.first_ro_membrane_effluent = 0
423
         }
423
         }
424
 
424
 
425
         if(this.form.first_production_of_water_conductivity!=""){
425
         if(this.form.first_production_of_water_conductivity!=""){
427
         }else{
427
         }else{
428
           this.form.first_production_of_water_conductivity = 0
428
           this.form.first_production_of_water_conductivity = 0
429
         }
429
         }
430
-        
430
+
431
         if(this.form.first_water_yield !=""){
431
         if(this.form.first_water_yield !=""){
432
-           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)  
432
+           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)
433
         }else{
433
         }else{
434
             this.form.first_water_yield =0
434
             this.form.first_water_yield =0
435
         }
435
         }
436
-       
436
+
437
         if(this.form.last_ro_membrane_water!=""){
437
         if(this.form.last_ro_membrane_water!=""){
438
-          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)  
438
+          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)
439
         }else{
439
         }else{
440
           this.form.last_ro_membrane_water = 0
440
           this.form.last_ro_membrane_water = 0
441
         }
441
         }
442
-      
442
+
443
         if(this.form.last_ro_membrane_effluent!=""){
443
         if(this.form.last_ro_membrane_effluent!=""){
444
           this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent) == NaN?0:parseFloat(this.form.last_ro_membrane_effluent)
444
           this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent) == NaN?0:parseFloat(this.form.last_ro_membrane_effluent)
445
         }else{
445
         }else{
446
           this.form.last_ro_membrane_effluent = 0
446
           this.form.last_ro_membrane_effluent = 0
447
         }
447
         }
448
-      
448
+
449
         if(this.form.last_ro_film_thick_water!=""){
449
         if(this.form.last_ro_film_thick_water!=""){
450
             this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water) == NaN?0:parseFloat(this.form.last_ro_film_thick_water)
450
             this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water) == NaN?0:parseFloat(this.form.last_ro_film_thick_water)
451
         }else{
451
         }else{
452
           this.form.last_ro_film_thick_water = 0
452
           this.form.last_ro_film_thick_water = 0
453
         }
453
         }
454
-   
454
+
455
         if( this.form.last_production_of_water_conductivity!=""){
455
         if( this.form.last_production_of_water_conductivity!=""){
456
             this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity) == NaN?0:parseFloat(this.form.last_production_of_water_conductivity)
456
             this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity) == NaN?0:parseFloat(this.form.last_production_of_water_conductivity)
457
         }else{
457
         }else{
458
             this.form.last_production_of_water_conductivity =0
458
             this.form.last_production_of_water_conductivity =0
459
         }
459
         }
460
-       
460
+
461
         if(this.form.last_water_yield!=""){
461
         if(this.form.last_water_yield!=""){
462
             this.form.last_water_yield = parseFloat(this.form.last_water_yield)==NaN?0: parseFloat(this.form.last_water_yield)
462
             this.form.last_water_yield = parseFloat(this.form.last_water_yield)==NaN?0: parseFloat(this.form.last_water_yield)
463
         }else{
463
         }else{
469
         }else{
469
         }else{
470
             this.form.carbon_tank = 0
470
             this.form.carbon_tank = 0
471
         }
471
         }
472
-        
472
+
473
         if( this.form.snd_tank!=""){
473
         if( this.form.snd_tank!=""){
474
             this.form.snd_tank = parseFloat(this.form.snd_tank) == NaN?0:parseFloat(this.form.snd_tank)
474
             this.form.snd_tank = parseFloat(this.form.snd_tank) == NaN?0:parseFloat(this.form.snd_tank)
475
         }else{
475
         }else{
476
             this.form.snd_tank = 0
476
             this.form.snd_tank = 0
477
         }
477
         }
478
-         
478
+
479
         if(this.form.resin_tank!=""){
479
         if(this.form.resin_tank!=""){
480
             this.form.resin_tank= parseFloat(this.form.resin_tank) ==NaN?0:parseFloat(this.form.resin_tank)
480
             this.form.resin_tank= parseFloat(this.form.resin_tank) ==NaN?0:parseFloat(this.form.resin_tank)
481
         }else{
481
         }else{
482
             this.form.resin_tank= 0
482
             this.form.resin_tank= 0
483
         }
483
         }
484
-      
484
+
485
         if( this.form.ultrafilter!=""){
485
         if( this.form.ultrafilter!=""){
486
             this.form.ultrafilter = parseFloat(this.form.ultrafilter)== NaN?0:parseFloat(this.form.ultrafilter)
486
             this.form.ultrafilter = parseFloat(this.form.ultrafilter)== NaN?0:parseFloat(this.form.ultrafilter)
487
         }else{
487
         }else{
488
           this.form.ultrafilter = 0
488
           this.form.ultrafilter = 0
489
         }
489
         }
490
-        
490
+
491
         if(this.form.hardness_monitoring !=""){
491
         if(this.form.hardness_monitoring !=""){
492
             this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring) ==NaN?0: parseFloat(this.form.hardness_monitoring)
492
             this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring) ==NaN?0: parseFloat(this.form.hardness_monitoring)
493
         }else{
493
         }else{
499
         }else{
499
         }else{
500
             this.form.total_chlorine_detection = 0
500
             this.form.total_chlorine_detection = 0
501
         }
501
         }
502
-        
502
+
503
         if( this.form.ph_detection!=""){
503
         if( this.form.ph_detection!=""){
504
             this.form.ph_detection = parseFloat(this.form.ph_detection) == NaN?0:parseFloat(this.form.ph_detection)
504
             this.form.ph_detection = parseFloat(this.form.ph_detection) == NaN?0:parseFloat(this.form.ph_detection)
505
         }else{
505
         }else{
507
         }
507
         }
508
 
508
 
509
         if(this.form.concentration_of_peroxyacetic_acid!="" ){
509
         if(this.form.concentration_of_peroxyacetic_acid!="" ){
510
-            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)   
510
+            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)
511
         }else{
511
         }else{
512
             this.form.concentration_of_peroxyacetic_acid = 0
512
             this.form.concentration_of_peroxyacetic_acid = 0
513
         }
513
         }
523
         }else{
523
         }else{
524
             this.form.first_disinfection_method = 0
524
             this.form.first_disinfection_method = 0
525
         }
525
         }
526
-      
527
-       
526
+
527
+
528
         if(this.form.last_disinfection_method !=""){
528
         if(this.form.last_disinfection_method !=""){
529
            this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method) == NaN?0:parseFloat(this.form.last_disinfection_method)
529
            this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method) == NaN?0:parseFloat(this.form.last_disinfection_method)
530
         }else{
530
         }else{
531
             this.form.last_disinfection_method = 0
531
             this.form.last_disinfection_method = 0
532
         }
532
         }
533
-       
533
+
534
         if(this.form.first_disinfection_time !=""){
534
         if(this.form.first_disinfection_time !=""){
535
           this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time) == NaN?0:parseFloat(this.form.first_disinfection_time)
535
           this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time) == NaN?0:parseFloat(this.form.first_disinfection_time)
536
         }else{
536
         }else{
537
             this.form.first_disinfection_time = 0
537
             this.form.first_disinfection_time = 0
538
         }
538
         }
539
-        
539
+
540
         if( this.form.last_disinfection_time!=""){
540
         if( this.form.last_disinfection_time!=""){
541
             this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time) == NaN?0:parseFloat(this.form.last_disinfection_time)
541
             this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time) == NaN?0:parseFloat(this.form.last_disinfection_time)
542
         }else{
542
         }else{
543
-            this.form.last_disinfection_time = 0  
543
+            this.form.last_disinfection_time = 0
544
         }
544
         }
545
-      
545
+
546
         if(this.form.filter_replacement!=""){
546
         if(this.form.filter_replacement!=""){
547
             this.form.filter_replacement = parseFloat(this.form.filter_replacement) == NaN?0:parseFloat(this.form.filter_replacement)
547
             this.form.filter_replacement = parseFloat(this.form.filter_replacement) == NaN?0:parseFloat(this.form.filter_replacement)
548
         }else{
548
         }else{
554
         }else{
554
         }else{
555
             this.form.admin_user_id =0
555
             this.form.admin_user_id =0
556
         }
556
         }
557
-        
557
+
558
         if(this.form.disinfection_of_water_pipeline !=""){
558
         if(this.form.disinfection_of_water_pipeline !=""){
559
             this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline) == NaN?0:parseFloat(this.form.disinfection_of_water_pipeline)
559
             this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline) == NaN?0:parseFloat(this.form.disinfection_of_water_pipeline)
560
         }else{
560
         }else{
561
             this.form.disinfection_of_water_pipeline =0
561
             this.form.disinfection_of_water_pipeline =0
562
         }
562
         }
563
-      
564
-       
563
+
564
+
565
         console.log("233223232323",this.form)
565
         console.log("233223232323",this.form)
566
          this.$refs[formName].validate((valid) => {
566
          this.$refs[formName].validate((valid) => {
567
           if (valid) {
567
           if (valid) {
570
                 var deviceWater =  response.data.data.deviceWater
570
                 var deviceWater =  response.data.data.deviceWater
571
                 console.log("保存成功!",deviceWater)
571
                 console.log("保存成功!",deviceWater)
572
                 this.$message.success("保存成功!")
572
                 this.$message.success("保存成功!")
573
+                console.log("2333333333333333333333333w",this.form.water_conductivity)
574
+                if(this.form.water_conductivity == 0){
575
+                   this.form.water_conductivity = ""
576
+                }
577
+                if(this.form.fault_description == 0){
578
+                   this.form.fault_description = ""
579
+                }
580
+
581
+                if(this.form.water_conductivity == 0){
582
+                   this.form.water_conductivity = ""
583
+                }
573
 
584
 
585
+                if(this.form.water_pressure == 0){
586
+                  this.form.water_pressure = ""
587
+                }
588
+
589
+                if(this.form.temperature == 0){
590
+                   this.form.temperature = ""
591
+                }
592
+
593
+                if(this.form.first_ro_membrane_water == 0){
594
+                   this.form.first_ro_membrane_water = ""
595
+                }
596
+
597
+                if(this.form.first_ro_film_thick_water ==0 ){
598
+                   this.form.first_ro_film_thick_water = ""
599
+                }
600
+
601
+                if(this.form.first_ro_membrane_effluent == 0){
602
+                   this.form.first_ro_membrane_effluent=""
603
+                }
604
+
605
+                if(this.form.first_production_of_water_conductivity == 0){
606
+                   this.form.first_production_of_water_conductivity = ""
607
+                }
608
+
609
+                if(this.form.first_water_yield == 0){
610
+                   this.form.first_water_yield = ""
611
+                }
612
+
613
+                if(this.form.last_ro_membrane_water == 0){
614
+                  this.form.last_ro_membrane_water= ""
615
+                }
616
+
617
+                if(this.form.last_ro_film_thick_water== 0){
618
+                   this.form.last_ro_film_thick_water = ""
619
+                }
620
+
621
+                if(this.form.last_ro_membrane_effluent == 0){
622
+                  this.form.last_ro_membrane_effluent = ""
623
+                }
624
+
625
+                if(this.form.last_production_of_water_conductivity == 0){
626
+                  this.form.last_production_of_water_conductivity = ""
627
+                }
628
+
629
+                if(this.form.last_water_yield  == 0){
630
+                  this.form.last_water_yield = ""
631
+                }
632
+
633
+                if(this.form.carbon_tank == 0){
634
+                   this.form.carbon_tank = ""
635
+                }
636
+
637
+                if(this.form.snd_tank == 0){
638
+                  this.form.snd_tank = ""
639
+                }
640
+
641
+                if(this.form.resin_tank == 0){
642
+                  this.form.resin_tank= ""
643
+                }
644
+
645
+                if(this.form.ultrafilter == 0){
646
+                   this.form.ultrafilter= ""
647
+                }
648
+
649
+                if(this.form.hardness_monitoring  ==0){
650
+                    this.form.hardness_monitoring = ""
651
+                }
652
+
653
+                if(this.form.total_chlorine_detection == 0){
654
+                  this.form.total_chlorine_detection= ""
655
+                }
656
+                if(this.form.concentration_of_peroxyacetic_acid == 0){
657
+                  this.form.concentration_of_peroxyacetic_acid = ""
658
+                }
659
+
660
+                if(this.form.reverse_osmosis_membrane_disinfection ==0){
661
+                  this.form.reverse_osmosis_membrane_disinfection = ""
662
+                }
663
+
664
+                if(this.form.disinfection_of_water_pipeline == 0){
665
+                  this.form.disinfection_of_water_pipeline= ""
666
+                }
667
+
668
+                if(this.form.first_disinfection_method == 0){
669
+                    this.form.first_disinfection_method = ""
670
+                }
671
+
672
+                if(this.form.last_disinfection_method  == 0){
673
+                    this.form.last_disinfection_method = ""
674
+                }
675
+
676
+                if(this.form.first_disinfection_time == 0){
677
+                  this.form.first_disinfection_time = ""
678
+                }
679
+
680
+                if(this.form.last_disinfection_time == 0){
681
+                  this.form.last_disinfection_time = ""
682
+                }
683
+
684
+                if(this.form.remark == 0){
685
+                  this.form.remark = ""
686
+                }
687
+
688
+                if(this.form.filter_replacement == 0){
689
+                    this.form.filter_replacement = ""
690
+                }
691
+
692
+                if(this.form.admin_user_id == 0){
693
+                   this.form.admin_user_id = ""
694
+                }
695
+
696
+
697
+
698
+
699
+                // this.$parent.toParent()
700
+
701
+             }else{
574
                 this.form.fault_description = ""
702
                 this.form.fault_description = ""
575
                 this.form.water_conductivity = ""
703
                 this.form.water_conductivity = ""
576
                 this.form.water_pressure = ""
704
                 this.form.water_pressure = ""
612
              var doctorList = response.data.data.list
740
              var doctorList = response.data.data.list
613
              console.log("dcotorlist",doctorList)
741
              console.log("dcotorlist",doctorList)
614
              for(let i=0;i<doctorList.length;i++){
742
              for(let i=0;i<doctorList.length;i++){
615
-              if(doctorList[i].user_type == 3){
616
-                 this.nurseList.push(doctorList[i])
617
-              }
743
+            //   if(doctorList[i].user_type == 3){
744
+            //      this.nurseList.push(doctorList[i])
745
+            //   }
746
+               this.nurseList.push(doctorList[i])
618
              }
747
              }
619
-
748
+             console.log("nurseLisrt===============",this.nurseList)
620
            }
749
            }
621
          })
750
          })
622
        },
751
        },
642
     //     }
771
     //     }
643
     },
772
     },
644
     created(){
773
     created(){
774
+       this.form.admin_user_id = this.$store.getters.xt_user.user.id
775
+    //    this.form.admin_user_id = 829
645
        this.getAllDoctorList()
776
        this.getAllDoctorList()
646
     },
777
     },
647
     mounted(){
778
     mounted(){
648
-        
779
+
649
     }
780
     }
650
  }
781
  }
651
- 
782
+
652
 </script>
783
 </script>
653
 <style scoped>
784
 <style scoped>
654
 .el-row {
785
 .el-row {
657
 .newMain .el-form-item__label {
788
 .newMain .el-form-item__label {
658
     width: 110px !important;
789
     width: 110px !important;
659
 }
790
 }
660
-</style>
791
+</style>

+ 11 - 0
src/xt_pages/management/components/WaterFormList.vue View File

5
           <span class="machineClass">日期查询:</span>
5
           <span class="machineClass">日期查询:</span>
6
           <el-date-picker
6
           <el-date-picker
7
             v-model="form.start_time"
7
             v-model="form.start_time"
8
+            @change="changeStartime"
8
             prefix-icon="none"
9
             prefix-icon="none"
9
             type="date"
10
             type="date"
10
             placeholder="请选择"
11
             placeholder="请选择"
14
           ></el-date-picker
15
           ></el-date-picker
15
           >-
16
           >-
16
           <el-date-picker
17
           <el-date-picker
18
+           @change="changeEndtime"
17
             v-model="form.end_time"
19
             v-model="form.end_time"
18
             prefix-icon="none"
20
             prefix-icon="none"
19
             type="date"
21
             type="date"
879
         }
881
         }
880
       },
882
       },
881
       methods:{
883
       methods:{
884
+        changeStartime(){
885
+         this.tableData = []
886
+         this.getlist()
887
+        },
888
+        changeEndtime(){
889
+         this.tableData = []
890
+         this.getlist()
891
+        },
882
          getlist(){
892
          getlist(){
883
            var params = {
893
            var params = {
884
              start_time:this.form.start_time,
894
              start_time:this.form.start_time,
1328
         },
1338
         },
1329
       },
1339
       },
1330
       created(){
1340
       created(){
1341
+        console.log("list+++++++++++++++++++++++")
1331
         this.getlist()
1342
         this.getlist()
1332
       }
1343
       }
1333
     }
1344
     }

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

1368
                           </el-tab-pane>
1368
                           </el-tab-pane>
1369
 
1369
 
1370
                            <el-tab-pane label="使用登记列表" name="second" >
1370
                            <el-tab-pane label="使用登记列表" name="second" >
1371
-                             <user-form ref="userForm" :userdata="userdata" v-if="device_type == 1"></user-form>
1372
-                             <water-form-list ref="waterFormList" v-if="device_type == 2" :equimentid="equimentid"></water-form-list>
1371
+                             <user-form ref="childFive" :userdata="userdata" v-if="device_type == 1"></user-form>
1372
+                             <water-form-list ref="childSix" v-if="device_type == 2" :equimentid="equimentid"></water-form-list>
1373
                            </el-tab-pane>
1373
                            </el-tab-pane>
1374
                        </el-tabs>
1374
                        </el-tabs>
1375
                      </div>
1375
                      </div>
3383
         this.getAllMachine()
3383
         this.getAllMachine()
3384
       },
3384
       },
3385
       changeDeviceId(val) {
3385
       changeDeviceId(val) {
3386
-        console.log("val-------",val)
3386
+       
3387
         if (val === 1) {
3387
         if (val === 1) {
3388
           this.zoneDisabled = false
3388
           this.zoneDisabled = false
3389
         } else {
3389
         } else {
3428
         this.tabIndex = index
3428
         this.tabIndex = index
3429
       },
3429
       },
3430
       handleCurrentChange(val) {
3430
       handleCurrentChange(val) {
3431
-      
3431
+        console.log("val3223323223",val)
3432
         // 通过设备型号区分质量控制
3432
         // 通过设备型号区分质量控制
3433
         this.device_type = val.device_type
3433
         this.device_type = val.device_type
3434
         this.unitType = val.unit_type
3434
         this.unitType = val.unit_type
3446
         this.GetUserTotalCount(val.bed_id)
3446
         this.GetUserTotalCount(val.bed_id)
3447
         this.getTimeBeteen(val.id)
3447
         this.getTimeBeteen(val.id)
3448
         this.getData(val.bed_id)
3448
         this.getData(val.bed_id)
3449
+        if(val.device_type == 2){
3450
+          this.$refs.childSix.getlist()
3451
+        }
3452
+       
3453
+      },
3454
+      toParent(){
3455
+        console.log("处方23322332")
3456
+        this.$refs.childSix.getlist()
3449
       },
3457
       },
3450
       getAutoData(id) {
3458
       getAutoData(id) {
3451
         getAutoData(id).then(response => {
3459
         getAutoData(id).then(response => {

+ 1 - 1
src/xt_pages/user/firstDiseasePrint.vue View File

71
                   {{getDoctor(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))}}
71
                   {{getDoctor(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))}}
72
                   </span>
72
                   </span>
73
                   <span v-else>
73
                   <span v-else>
74
-                    <img style="height:30px;" :src="setAdminUserES(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))" alt="" srcset="">
74
+                    <img style="height:50px;" :src="setAdminUserES(hosDetail==null?0:(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor))" alt="" srcset="">
75
                   </span>
75
                   </span>
76
               </div>
76
               </div>
77
           </div>
77
           </div>

+ 1 - 1
src/xt_pages/user/hospitalSummaryPrint.vue View File

273
                   {{getDoctor(hosDetail.doctor)}} 
273
                   {{getDoctor(hosDetail.doctor)}} 
274
              </span>
274
              </span>
275
               <span v-else>
275
               <span v-else>
276
-                <img style="height:30px;" :src="setAdminUserES(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor)" alt="" srcset="">
276
+                <img style="height:50px;" :src="setAdminUserES(hosDetail.doctor?hosDetail.doctor:hosDetail.doctor)" alt="" srcset="">
277
               </span>
277
               </span>
278
               </span>
278
               </span>
279
             </td>
279
             </td>

+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))