huangyw 2 years ago
parent
commit
d97bbaacaf

+ 130 - 77
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue View File

@@ -26,17 +26,6 @@
26 26
               </div>
27 27
             </td>
28 28
           </tr>
29
-          <!-- <tr>
30
-            <td colspan="11" style="padding-left: 10px">
31
-              <div class="list_table">
32
-                <div>姓 名:&nbsp;{{ patientInfo.name }}</div>
33
-                <div>
34
-                  性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
35
-                </div>
36
-                <div>透析机号:&nbsp;{{ getNumber() }}</div>
37
-              </div>
38
-            </td>
39
-          </tr> -->
40 29
           <tr class="list_table_1">
41 30
             <td colspan="11" style="padding-left: 10px">
42 31
               <div style="display: flex">
@@ -52,6 +41,11 @@
52 41
                       predialysis.systolic_blood_pressure
53 42
                         ? predialysis.systolic_blood_pressure
54 43
                         : ""
44
+                    }}/
45
+                    {{
46
+                      predialysis.diastolic_blood_pressure
47
+                        ? predialysis.diastolic_blood_pressure
48
+                        : ""
55 49
                     }}</span
56 50
                   >mmHg
57 51
                 </div>
@@ -131,15 +125,30 @@
131 125
               >
132 126
               </label-box>
133 127
               <label-box
134
-                :isChecked="prescription.mode_id > 2 ? true : false"
128
+                :isChecked="
129
+                  prescription.mode_id != 2 &&
130
+                  prescription.mode_id != 1 &&
131
+                  prescription.mode_id != 5 &&
132
+                  prescription.mode_id != 31 &&
133
+                  prescription.mode_id != 32
134
+                    ? true
135
+                    : false
136
+                "
135 137
                 showValue="其他:"
136 138
               ></label-box>
137 139
               &nbsp;
138
-              <span v-if="prescription.mode_id > 2">
140
+              <span
141
+                v-if="
142
+                  prescription.mode_id != 2 &&
143
+                  prescription.mode_id != 1 &&
144
+                  prescription.mode_id != 5 &&
145
+                  prescription.mode_id != 31 &&
146
+                  prescription.mode_id != 32
147
+                "
148
+              >
139 149
                 {{ prescription.mode }}
140 150
               </span>
141 151
             </td>
142
-            <!-- <td width="20" style="border: none"></td> -->
143 152
             <td width="200" style="padding-left: 10px">
144 153
               透析时间:&nbsp;{{
145 154
                 afterdialysis.actual_treatment_hour
@@ -217,30 +226,30 @@
217 226
               ></label-box>
218 227
             </td>
219 228
           </tr>
220
-          <tr class="list_table_1" style="line-height: 40px">
229
+          <tr class="list_table_1" style="line-height:40px;">
221 230
             <td
222
-              width="100"
231
+              width="250"
223 232
               style="border-right: none; padding-left: 10px"
224 233
               colspan="2"
225 234
             >
226 235
               脱水量:
227
-              <p style="display: inline-block; width: 40px">
236
+              <span style="display: inline-block; width: 40px">
228 237
                 {{
229 238
                   prescription.target_ultrafiltration
230 239
                     ? prescription.target_ultrafiltration
231 240
                     : ""
232 241
                 }}
233
-              </p>
234
-              ml; 透析液流量:
235
-              <p style="display: inline-block; width: 40px">
242
+              </span>
243
+              <span>ml; </span>
244
+              <span style="padding-left: 185px">透析液流量:</span>
245
+              <span style="display: inline-block; width: 40px">
236 246
                 {{
237 247
                   prescription.dialysate_flow ? prescription.dialysate_flow : ""
238 248
                 }}
239
-              </p>
249
+              </span>
240 250
               ml/h;
241 251
             </td>
242
-            <!-- <td style="border: none"></td> -->
243
-            <td width="20" style="padding-left: 10px">
252
+            <td width="200" style="padding-left: 10px">
244 253
               医师签名:
245 254
               <span v-if="setAdminUserES(prescription.creater) == ''">
246 255
                 {{ getAdminUser(prescription.creater) }}
@@ -260,19 +269,24 @@
260 269
               <div class="td_div1" style="display: flex">
261 270
                 <div style="padding-left: 10px">
262 271
                   透析液处方:钾:
263
-                  <span style="width: 30px; display: inline-block">
272
+                  <span style="width: 50px; display: inline-block">
264 273
                     {{ prescription.kalium ? prescription.kalium : "" }} </span
265 274
                   >mmol/L&nbsp; 钙:
266
-                  <span style="width: 30px; display: inline-block">
275
+                  <span style="width: 50px; display: inline-block">
267 276
                     {{
268 277
                       prescription.calcium ? prescription.calcium : ""
269 278
                     }} </span
270 279
                   >mmol/L&nbsp; 碳酸氢根:
271
-                  <span style="width: 30px; display: inline-block">
280
+                  <span style="width: 50px; display: inline-block">
272 281
                     {{
273 282
                       prescription.bicarbonate ? prescription.bicarbonate : ""
274 283
                     }} </span
284
+                  >mmol/L&nbsp;钠:<span
285
+                    style="width: 50px; display: inline-block"
286
+                  >
287
+                    {{ prescription.sodium ? prescription.sodium : "" }} </span
275 288
                   >mmol/L
289
+                  <span> </span>
276 290
                 </div>
277 291
               </div>
278 292
             </td>
@@ -292,9 +306,7 @@
292 306
                 </div>
293 307
                 <div style="display: flex; min-width: 250px; padding: 0 10px">
294 308
                   透析机型号:{{
295
-                    prescription.dialyzer_perfusion_apparatus
296
-                      ? prescription.dialyzer_perfusion_apparatus
297
-                      : ""
309
+                    predialysis.machine_type ? predialysis.machine_type : ""
298 310
                   }}
299 311
                 </div>
300 312
                 <div style="min-width: 250px; padding-left: 10px">
@@ -345,21 +357,34 @@
345 357
                   >&nbsp; &nbsp;
346 358
                   <label-box
347 359
                     :isChecked="
348
-                      predialysis.blood_access_part_opera_name == '内瘘' &&
360
+                      predialysis.blood_access_part_opera_name &&
361
+                      predialysis.blood_access_part_opera_name != '内瘘' &&
349 362
                       predialysis.blood_access_part_opera_name.indexOf(
350
-                        '临时静脉导管'
351
-                      ) > -1 &&
363
+                        '长期静脉导管'
364
+                      ) == -1 &&
352 365
                       predialysis.blood_access_part_opera_name.indexOf(
353 366
                         '临时静脉导管'
354
-                      ) > -1
355
-                        ? false
356
-                        : true
367
+                      ) == -1
368
+                        ? true
369
+                        : false
357 370
                     "
358
-                    showValue="其他"
371
+                    showValue="其他:"
359 372
                   ></label-box
360 373
                   >&nbsp; &nbsp;
374
+                  <span
375
+                    v-if="
376
+                      predialysis.blood_access_part_opera_name != '内瘘' &&
377
+                      predialysis.blood_access_part_opera_name.indexOf(
378
+                        '长期静脉导管'
379
+                      ) == -1 &&
380
+                      predialysis.blood_access_part_opera_name.indexOf(
381
+                        '临时静脉导管'
382
+                      ) == -1
383
+                    "
384
+                    >{{ predialysis.blood_access_part_opera_name }}</span
385
+                  >
361 386
                 </div>
362
-                <div style="width: 25%">
387
+                <div style="width: 17%">
363 388
                   执行者:
364 389
                   <span
365 390
                     v-if="
@@ -388,7 +413,7 @@
388 413
                   />
389 414
                 </div>
390 415
 
391
-                <div style="width: 25%">
416
+                <div style="width: 19%">
392 417
                   核对者:
393 418
                   <span
394 419
                     v-if="
@@ -444,9 +469,9 @@
444 469
           <td style="width: 60px" rowspan="2">时间</td>
445 470
           <td colspan="6">透析参数</td>
446 471
           <td colspan="5">生命体征</td>
447
-          <td colspan="1">治疗中病情变化</td>
472
+          <!-- <td colspan="1">治疗中病情变化</td> -->
448 473
           <td rowspan="2">血容量L</td>
449
-          <td rowspan="2">血温</td>
474
+          <td rowspan="2">血温</td>
450 475
           <td rowspan="2">Kt/V</td>
451 476
           <td rowspan="2">护士签名</td>
452 477
         </tr>
@@ -471,7 +496,7 @@
471 496
             <p style="height: 20px; line-height: 20px">电导度</p>
472 497
             <p style="height: 20px; line-height: 20px">ms/cm</p>
473 498
           </th>
474
-          <th style="width: 70px">
499
+          <th style="width: 70px; font-weight: normal">
475 500
             <p style="height: 20px; line-height: 20px">脱水量</p>
476 501
             <p style="height: 20px; line-height: 20px">ml</p>
477 502
           </th>
@@ -495,11 +520,11 @@
495 520
             <p style="height: 20px; line-height: 20px">SpO₂</p>
496 521
             <p style="height: 20px; line-height: 20px">%</p>
497 522
           </th>
498
-          <th style="width: 333px; font-weight: normal">
523
+          <!-- <th style="width: 333px; font-weight: normal">
499 524
             <p style="height: 20px; line-height: 20px">
500 525
               记&nbsp;&nbsp;&nbsp;&nbsp;录
501 526
             </p>
502
-          </th>
527
+          </th> -->
503 528
         </tr>
504 529
 
505 530
         <tr v-for="(monitor, monindex) in monitors" :key="monindex">
@@ -532,12 +557,10 @@
532 557
           </td>
533 558
           <td>
534 559
             <span v-if="getTime(monitor.operate_time) != ''">
535
-              {{
536
-                monitor.monitor_conductivity ? monitor.monitor_conductivity : ""
537
-              }}
560
+              {{ monitor.conductivity ? monitor.conductivity : "" }}
538 561
             </span>
539 562
           </td>
540
-          <td style="min-width: 45px;">
563
+          <td style="min-width: 45px">
541 564
             <span v-if="getTime(monitor.operate_time) != ''">
542 565
               {{
543 566
                 monitor.ultrafiltration_volume
@@ -572,9 +595,7 @@
572 595
           </td>
573 596
           <td>
574 597
             <span v-if="getTime(monitor.operate_time) != ''">
575
-              {{
576
-                 monitor.temperature ? monitor.temperature : "" 
577
-              }}
598
+              {{ monitor.temperature ? monitor.temperature : "" }}
578 599
             </span>
579 600
           </td>
580 601
           <td>
@@ -586,24 +607,46 @@
586 607
               }}
587 608
             </span>
588 609
           </td>
589
-          <td>
610
+          <!-- <td>
590 611
             <span v-if="monitor.symptom || monitor.dispose || monitor.result">
591 612
               {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{
592 613
                 monitor.result
593 614
               }}
594 615
             </span>
595
-          </td>
616
+          </td> -->
596 617
           <td style="min-width: 60px; height: 30px">
597
-            {{ getTime(monitor.operate_time, "{h}:{i}") }}
618
+            {{
619
+              monitor.accumulated_blood_volume
620
+                ? monitor.accumulated_blood_volume
621
+                : ""
622
+            }}
598 623
           </td>
599 624
           <td style="min-width: 60px; height: 30px">
600
-            {{ getTime(monitor.operate_time, "{h}:{i}") }}
625
+            {{ monitor.blood_temperature ? monitor.blood_temperature : "" }}
601 626
           </td>
602 627
           <td style="min-width: 60px; height: 30px">
603
-            {{ getTime(monitor.operate_time, "{h}:{i}") }}
628
+            {{ monitor.ktv ? monitor.ktv : "" }}
604 629
           </td>
605 630
           <td style="min-width: 60px; height: 30px">
606
-            {{ getTime(monitor.operate_time, "{h}:{i}") }}
631
+            <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
632
+              {{ getAdminUser(monitor.monitoring_nurse) }}
633
+            </span>
634
+            <span
635
+              v-else
636
+              style="
637
+                display: flex;
638
+                align-items: center;
639
+                justify-content: space-around;
640
+                height: 36px;
641
+              "
642
+            >
643
+              <img
644
+                style="height: 30px"
645
+                :src="setAdminUserES(monitor.monitoring_nurse)"
646
+                alt
647
+                srcset
648
+              />
649
+            </span>
607 650
           </td>
608 651
         </tr>
609 652
       </table>
@@ -620,8 +663,21 @@
620 663
                 class="list_table"
621 664
                 style="height: 100%; flex-direction: column"
622 665
               >
623
-                <div>治疗中病情变化:&nbsp;</div>
624
-                <div style="width: 80%; text-align: right">
666
+                <div>
667
+                  治疗中病情变化:&nbsp;
668
+                  <span v-for="(monitor, monindex) in monitors" :key="monindex">
669
+                    <span
670
+                      v-if="
671
+                        monitor.symptom || monitor.dispose || monitor.result
672
+                      "
673
+                    >
674
+                      {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{
675
+                        monitor.result
676
+                      }}
677
+                    </span>
678
+                  </span>
679
+                </div>
680
+                <div style="width: 93%; text-align: right">
625 681
                   护士签名:
626 682
                   <span
627 683
                     style="
@@ -748,14 +804,14 @@
748 804
               />
749 805
             </td> -->
750 806
             <td>
751
-              <span v-if="setAdminUserES(advice.checker) == ''">{{
752
-                getAdminUser(advice.checker)
753
-              }}</span>
807
+              <span v-if="setAdminUserES(advice.execution_staff) == ''">
808
+                {{ getAdminUser(advice.execution_staff) }}
809
+              </span>
754 810
               <img
755
-                style="height: 40px"
756
-                :src="setAdminUserES(advice.checker)"
757
-                alt=""
758
-                srcset=""
811
+                style="height: 30px"
812
+                :src="setAdminUserES(advice.execution_staff)"
813
+                alt
814
+                srcset
759 815
                 v-else
760 816
               />
761 817
             </td>
@@ -858,7 +914,7 @@
858 914
         </tr>
859 915
       </table>
860 916
 
861
-      <table class="table-box" style="margin-top: 10px">
917
+      <!-- <table class="table-box" style="margin-top: 10px">
862 918
         <tbody>
863 919
           <tr>
864 920
             <td width="" style="font-size: 13px">
@@ -867,7 +923,7 @@
867 923
             </td>
868 924
           </tr>
869 925
         </tbody>
870
-      </table>
926
+      </table> -->
871 927
     </div>
872 928
     <div style="position: absolute; top: 1380px; left: 50%"></div>
873 929
   </div>
@@ -1081,7 +1137,7 @@ export default {
1081 1137
       return name;
1082 1138
     },
1083 1139
     setAdminUserES(id) {
1084
-      console.log(id);
1140
+      // console.log(id);
1085 1141
       if (id == 0) {
1086 1142
         return "";
1087 1143
       }
@@ -1120,15 +1176,12 @@ export default {
1120 1176
           }
1121 1177
           this.check = response.data.data.check;
1122 1178
           this.predialysis = response.data.data.PredialysisEvaluation;
1179
+          // console.log(this.predialysis.blood_access_part_opera_id,'血管id')
1123 1180
           this.predialysis.blood_access_part_opera_name =
1124 1181
             this.bloodAccessParOperaName(
1125 1182
               this.predialysis.blood_access_part_opera_id
1126 1183
             );
1127 1184
 
1128
-          console.log(
1129
-            this.predialysis.blood_access_part_opera_name,
1130
-            "this.predialysis.blood_access_part_opera_name"
1131
-          );
1132 1185
           this.afterdialysis = response.data.data.AssessmentAfterDislysis;
1133 1186
           this.operators = response.data.data.operators;
1134 1187
           this.dialysisOrder =
@@ -1286,7 +1339,7 @@ export default {
1286 1339
           }
1287 1340
 
1288 1341
           var tableAdvice = this.advices;
1289
-          console.log("医生", tableAdvice);
1342
+          // console.log("医生", tableAdvice);
1290 1343
           if (tableAdvice.length === 0) {
1291 1344
             var obj = { advice_name: "", start_time: "" };
1292 1345
             var obj1 = { advice_name: "", start_time: "" };
@@ -1366,7 +1419,7 @@ export default {
1366 1419
             this.advices = tableAdvice;
1367 1420
           }
1368 1421
 
1369
-          console.log(this.advices, "this.advices");
1422
+          // console.log(this.advices, "this.advices");
1370 1423
 
1371 1424
           this.loading = false;
1372 1425
 
@@ -1459,7 +1512,7 @@ export default {
1459 1512
               this.advice_groups.push(group);
1460 1513
             }
1461 1514
           }
1462
-          console.log(this.advice_groups);
1515
+          // console.log(this.advice_groups);
1463 1516
         } else {
1464 1517
           this.loading = false;
1465 1518
           this.$message.error("请求数据失败");
@@ -1468,7 +1521,7 @@ export default {
1468 1521
       });
1469 1522
     },
1470 1523
     bloodAccessParOperaName(id) {
1471
-      console.log(this.bloodAccessParOpera);
1524
+      // console.log(id, "====", this.bloodAccessParOpera, "ooooooooo血管通路");
1472 1525
       if (id in this.bloodAccessParOpera) {
1473 1526
         return this.bloodAccessParOpera[id].name;
1474 1527
       }
@@ -1547,7 +1600,7 @@ export default {
1547 1600
     this.orgname = xtuser.org.org_name;
1548 1601
     // this.orgname = "遂溪方济医院";
1549 1602
     this.modeOptions = this.$store.getters.treatment_mode;
1550
-    console.log(this.modeOptions, "this.modeOptions");
1603
+    // console.log(this.modeOptions, "this.modeOptions");
1551 1604
     this.replacementWays = this.$store.getters.replacement_ways;
1552 1605
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
1553 1606
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;

+ 14 - 6
src/xt_pages/hospitalStation/summary.vue View File

@@ -372,6 +372,7 @@ export default {
372 372
   },
373 373
   data() {
374 374
     return {
375
+      loading1: true,
375 376
       orderObj: {},
376 377
       statementVisible: false,
377 378
       statementVisible9504: false,
@@ -417,7 +418,7 @@ export default {
417 418
     };
418 419
   },
419 420
 
420
-    //判断列表页是否刷新
421
+  //判断列表页是否刷新
421 422
   beforeRouteEnter(to, from, next) {
422 423
     console.log(from, "beforeRouteEnter");
423 424
     if (from.path == "/outpatientCharges/summaryDetail") {
@@ -432,8 +433,7 @@ export default {
432 433
         vm.sort_type = vm.$store.getters.pagedata.list.sort_type;
433 434
         setTimeout(() => {
434 435
           vm.getHisOrderList();
435
-        },300)
436
-        
436
+        }, 300);
437 437
       });
438 438
     } else {
439 439
       next();
@@ -1084,7 +1084,7 @@ export default {
1084 1084
         sort_type: this.sort_type,
1085 1085
         charge_type: this.charge_type,
1086 1086
       };
1087
-      console.log(params,'参数')
1087
+      console.log(params, "参数");
1088 1088
       getHisOrderList(params).then((response) => {
1089 1089
         if (response.data.state == 0) {
1090 1090
           this.$message.error(response.data.msg);
@@ -1122,8 +1122,16 @@ export default {
1122 1122
         setl_time: obj.setl_time,
1123 1123
       };
1124 1124
       this.invoiceParams = paramsObj;
1125
-      console.log(this.invoiceParams, "999");
1126
-      this.invoiceVisible = true;
1125
+      const loading = this.$loading({
1126
+          lock: true,
1127
+          text: '正在加载中...',
1128
+          spinner: 'el-icon-loading',
1129
+          background: 'rgba(0, 0, 0, 0.7)'
1130
+        });
1131
+        setTimeout(() => {
1132
+          loading.close();
1133
+          this.invoiceVisible = true;
1134
+        }, 1000);
1127 1135
     },
1128 1136
     shouJuPrint(obj) {
1129 1137
       let paramsObj = {