huangyw 2 anos atrás
pai
commit
79319070d3

+ 94 - 46
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Ver arquivo

@@ -462,7 +462,10 @@
462 462
                       style="padding: 2px 0; line-height: 23px; display: flex"
463 463
                     >
464 464
                       <div class="inline_block" style="flex: 1">
465
-                        透析方式:
465
+                        <span v-if="org_id == 10138 || org_id == 9675"
466
+                          >治疗模式:</span
467
+                        >
468
+                        <span v-else>透析方式:</span>
466 469
                         <div
467 470
                           class="under_line"
468 471
                           style="
@@ -1202,8 +1205,22 @@
1202 1205
                             透析液温度(°C)
1203 1206
                           </td>
1204 1207
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
1205
-                        <td width="50" v-if="org_id != 10121 && org_id != 9675&& org_id != 0">电导度<br />(ms/cm)</td>
1206
-                        <td width="50" v-if="org_id == 10121|| org_id == 9675|| org_id == 0">SpO₂<br />(%)</td>
1208
+                          <td
1209
+                            width="50"
1210
+                            v-if="
1211
+                              org_id != 10121 && org_id != 9675 && org_id != 0
1212
+                            "
1213
+                          >
1214
+                            电导度<br />(ms/cm)
1215
+                          </td>
1216
+                          <td
1217
+                            width="50"
1218
+                            v-if="
1219
+                              org_id == 10121 || org_id == 9675 || org_id == 0
1220
+                            "
1221
+                          >
1222
+                            SpO₂<br />(%)
1223
+                          </td>
1207 1224
                           <td width="50">超滤量<br />(ml)</td>
1208 1225
                           <td
1209 1226
                             v-if="
@@ -1215,8 +1232,20 @@
1215 1232
                           >
1216 1233
                             置换量<br />(ml)
1217 1234
                           </td>
1218
-                          <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675">KT/V</td>
1219
-                          <td width="50" v-if="org_id == 9538|| org_id == 9675">血容量<br />(L)</td>
1235
+                          <td
1236
+                            width="50"
1237
+                            v-if="
1238
+                              org_id == 9919 || org_id == 9538 || org_id == 9675
1239
+                            "
1240
+                          >
1241
+                            KT/V
1242
+                          </td>
1243
+                          <td
1244
+                            width="50"
1245
+                            v-if="org_id == 9538 || org_id == 9675"
1246
+                          >
1247
+                            血容量<br />(L)
1248
+                          </td>
1220 1249
                           <td width="200">病情变化及处理</td>
1221 1250
                         </tr>
1222 1251
                         <tr
@@ -1288,38 +1317,48 @@
1288 1317
                                 : ""
1289 1318
                             }}
1290 1319
                           </td>
1291
-                          <td v-if="org_id != 10121 && org_id != 9675&& org_id != 0">
1320
+                          <td
1321
+                            v-if="
1322
+                              org_id != 10121 && org_id != 9675 && org_id != 0
1323
+                            "
1324
+                          >
1292 1325
                             {{
1293 1326
                               monitor_record.conductivity
1294 1327
                                 ? monitor_record.conductivity
1295 1328
                                 : ""
1296 1329
                             }}
1297 1330
                           </td>
1298
-                          <td v-if="org_id == 10121|| org_id == 9675|| org_id == 0">
1299
-                          {{
1300
-                            monitor_record.blood_oxygen_saturation
1301
-                              ? monitor_record.blood_oxygen_saturation
1302
-                              : ""
1303
-                          }}
1304
-                        </td>
1305
-                        <td
1306
-                          v-if="
1307
-                            org_id != 9538 &&
1308
-                            org_id != 10121 &&
1309
-                            org_id != 9675 &&
1310
-                            org_id != 0
1311
-                          "
1312
-                        >
1313
-                          {{ monitor.conductivity ? monitor.conductivity : "" }}
1314
-                        </td>
1331
+                          <td
1332
+                            v-if="
1333
+                              org_id == 10121 || org_id == 9675 || org_id == 0
1334
+                            "
1335
+                          >
1336
+                            {{
1337
+                              monitor_record.blood_oxygen_saturation
1338
+                                ? monitor_record.blood_oxygen_saturation
1339
+                                : ""
1340
+                            }}
1341
+                          </td>
1342
+                          <td
1343
+                            v-if="
1344
+                              org_id != 9538 &&
1345
+                              org_id != 10121 &&
1346
+                              org_id != 9675 &&
1347
+                              org_id != 0
1348
+                            "
1349
+                          >
1350
+                            {{
1351
+                              monitor_record.conductivity ? monitor_record.conductivity : ""
1352
+                            }}
1353
+                          </td>
1315 1354
 
1316
-                        <td v-if="org_id == 9538">
1317
-                          {{
1318
-                            monitor.sodium_concentration
1319
-                              ? monitor.sodium_concentration
1320
-                              : ""
1321
-                          }}
1322
-                        </td>
1355
+                          <td v-if="org_id == 9538">
1356
+                            {{
1357
+                              monitor_record.sodium_concentration
1358
+                                ? monitor_record.sodium_concentration
1359
+                                : ""
1360
+                            }}
1361
+                          </td>
1323 1362
 
1324 1363
                           <td>
1325 1364
                             <span v-if="monitor_record.operate_time">{{
@@ -1342,12 +1381,20 @@
1342 1381
                                 : ""
1343 1382
                             }}
1344 1383
                           </td>
1345
-                          <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675">
1346
-                          {{ monitor_record.ktv }}
1347
-                        </td>
1348
-                        <td width="50" v-if="org_id == 9538|| org_id == 9675">
1349
-                          {{ monitor_record.accumulated_blood_volume }}
1350
-                        </td>
1384
+                          <td
1385
+                            width="50"
1386
+                            v-if="
1387
+                              org_id == 9919 || org_id == 9538 || org_id == 9675
1388
+                            "
1389
+                          >
1390
+                            {{ monitor_record.ktv }}
1391
+                          </td>
1392
+                          <td
1393
+                            width="50"
1394
+                            v-if="org_id == 9538 || org_id == 9675"
1395
+                          >
1396
+                            {{ monitor_record.accumulated_blood_volume }}
1397
+                          </td>
1351 1398
                           <td style="line-height: 16px; padding: 0px">
1352 1399
                             <div
1353 1400
                               style="
@@ -1407,8 +1454,12 @@
1407 1454
                           <td></td>
1408 1455
                           <td></td>
1409 1456
                           <td></td>
1410
-                          <td v-if="org_id == 9919||org_id == 9538|| org_id == 9675"></td>
1411
-                          <td v-if="org_id == 9538|| org_id == 9675"></td>
1457
+                          <td
1458
+                            v-if="
1459
+                              org_id == 9919 || org_id == 9538 || org_id == 9675
1460
+                            "
1461
+                          ></td>
1462
+                          <td v-if="org_id == 9538 || org_id == 9675"></td>
1412 1463
                           <td style="line-height: 16px; padding: 0px">
1413 1464
                             <div
1414 1465
                               style="
@@ -2622,7 +2673,6 @@ export default {
2622 2673
     };
2623 2674
   },
2624 2675
   created() {
2625
-    
2626 2676
     var bloodAccessParOpera = getDataConfig(
2627 2677
       "hemodialysis",
2628 2678
       "vascular_access_desc"
@@ -2642,15 +2692,15 @@ export default {
2642 2692
     this.modeOptions = this.$store.getters.treatment_mode;
2643 2693
     //   this.replacementWays = this.$store.getters.replacement_ways;
2644 2694
     //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
2645
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
2695
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
2646 2696
     // for(let i = 0 ; i < this.records.length ; i++){
2647 2697
     //   console.log(i,'jhk')
2648 2698
     //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2649 2699
     //   i.assessment_before_dislysis.blood_access_part_opera_id
2650 2700
     // );
2651 2701
     // }
2652
-    console.log(this.bloodAccessParOpera,'this.bloodAccessParOpera')
2653
-    
2702
+    console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
2703
+
2654 2704
     for (var key in bloodAccessParOpera) {
2655 2705
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2656 2706
         bloodAccessParOpera[key];
@@ -2677,7 +2727,6 @@ export default {
2677 2727
     //     this.$message.error("参数不齐");
2678 2728
     //     return false;
2679 2729
     //   }
2680
-    
2681 2730
   },
2682 2731
   mounted() {
2683 2732
     this.loading = true;
@@ -2690,7 +2739,6 @@ export default {
2690 2739
       .then((rs) => {
2691 2740
         var resp = rs.data;
2692 2741
         if (resp.state == 1) {
2693
-
2694 2742
           this.records = this.records.concat(resp.data.schedules);
2695 2743
 
2696 2744
           for (const recordIndex in this.records) {
@@ -2812,7 +2860,7 @@ export default {
2812 2860
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2813 2861
           //   o.assessment_before_dislysis.blood_access_part_opera_id)
2814 2862
           // })
2815
-          
2863
+
2816 2864
           this.operators = resp.data.medical_staffs;
2817 2865
           if (this.operators.length > 0) {
2818 2866
             var operatorsLen = this.operators.length;
@@ -2911,7 +2959,7 @@ export default {
2911 2959
       return "";
2912 2960
     },
2913 2961
     bloodAccessParOperaName(id) {
2914
-      console.log(tihs.records,'hhh')
2962
+      console.log(tihs.records, "hhh");
2915 2963
       if (id in this.bloodAccessParOpera) {
2916 2964
         return this.bloodAccessParOpera[id].name;
2917 2965
       }

+ 11 - 4
src/xt_pages/dialysis/dialysisPrintOrder.vue Ver arquivo

@@ -1146,6 +1146,10 @@
1146 1146
             v-bind:childResponse="childResponse"
1147 1147
             v-if="org_template_info.template_id == 57">
1148 1148
           </DialysisPrintOrderFiftySeven>
1149
+          <DialysisPrintOrderFiftyEight
1150
+            v-bind:childResponse="childResponse"
1151
+            v-if="org_template_info.template_id == 58">
1152
+          </DialysisPrintOrderFiftyEight>
1149 1153
           
1150 1154
         </div>
1151 1155
       </el-container>
@@ -1219,12 +1223,14 @@ import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
1219 1223
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1220 1224
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1221 1225
 import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour";
1222
-import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive"
1223
-import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix"
1224
-import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven"
1226
+import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive";
1227
+import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix";
1228
+import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven";
1229
+import DialysisPrintOrderFiftyEight from "./template/DialysisPrintOrderFiftyEight";
1225 1230
 export default {
1226 1231
   name: "dialysisPrintOrder",
1227 1232
   components: {
1233
+    DialysisPrintOrderFiftyEight,
1228 1234
     DialysisPrintOrderFiftySeven,
1229 1235
     DialysisPrintOrderFiftySix,
1230 1236
     DialysisPrintOrderFiftyfive,
@@ -1518,7 +1524,8 @@ export default {
1518 1524
         this.org_template_info.template_id == 11 ||
1519 1525
         this.org_template_info.template_id == 49 ||
1520 1526
         this.org_template_info.template_id == 50 ||
1521
-        this.org_template_info.template_id == 51
1527
+        this.org_template_info.template_id == 51 ||
1528
+        this.org_template_info.template_id == 58
1522 1529
       ) {
1523 1530
         printJS({
1524 1531
           printable: "dialysis-print-box-1",

Diferenças do arquivo suprimidas por serem muito extensas
+ 3706 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue


+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue Ver arquivo

@@ -595,7 +595,7 @@
595 595
               {{
596 596
                 monitor.blood_oxygen_saturation
597 597
                   ? monitor.blood_oxygen_saturation
598
-                  : "0"
598
+                  : ""
599 599
               }}
600 600
             </span>
601 601
           </td>
@@ -746,7 +746,7 @@
746 746
 
747 747
           <tr v-for="(advice, advice_index) in advices" :key="advice_index">
748 748
             <td>{{ getTime(advice.start_time, "{h}:{i}") }}</td>
749
-            <td>
749
+            <td style="text-align:left;">
750 750
               <span v-if="advice.parent_id > 0">---></span>
751 751
               <span>{{ advice.advice_name }}</span>
752 752
               <span v-if="advice && advice.advice_desc"

+ 34 - 21
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Ver arquivo

@@ -59,7 +59,7 @@
59 59
           <div class="inline_block">
60 60
             病区:
61 61
             <div class="under_line" style="width: 50px; text-align: center">
62
-              <span v-if="org_id == 10121">{{
62
+              <span v-if="org_id == 10121||org_id == 10138">{{
63 63
                 patientInfo.DialysisSchedule.device_zone.name
64 64
                   ? patientInfo.DialysisSchedule.device_zone.name
65 65
                   : ""
@@ -1672,14 +1672,26 @@
1672 1672
             <div class="inline_block">
1673 1673
               病区:
1674 1674
               <div class="under_line" style="width: 50px; text-align: center">
1675
-                {{ "/" }}
1676
-              </div>
1675
+              <span v-if="org_id == 10121||org_id == 10138">{{
1676
+                patientInfo.DialysisSchedule.device_zone.name
1677
+                  ? patientInfo.DialysisSchedule.device_zone.name
1678
+                  : ""
1679
+              }}</span>
1680
+              <span v-else>{{ "/" }}</span>
1681
+            </div>
1677 1682
             </div>
1678 1683
             <div class="inline_block">
1679 1684
               床号:
1680 1685
               <div class="under_line" style="width: 50px; text-align: center">
1681
-                {{ "/" }}
1682
-              </div>
1686
+              <span v-if="org_id == 10121">{{
1687
+                dialysisOrder &&
1688
+                dialysisOrder.DeviceNumber &&
1689
+                dialysisOrder.DeviceNumber.number.length > 0
1690
+                  ? dialysisOrder.DeviceNumber.number
1691
+                  : patientInfo.DialysisSchedule.device_number.number
1692
+              }}</span>
1693
+              <span v-else>{{ "/" }}</span>
1694
+            </div>
1683 1695
             </div>
1684 1696
             <div class="inline_block">
1685 1697
               透析号:
@@ -1688,23 +1700,23 @@
1688 1700
               </div>
1689 1701
             </div>
1690 1702
             <div class="inline_block" style="margin-left: 5px">
1691
-              住院号/门诊号:
1692
-              <div
1693
-                class="under_line"
1694
-                style="width: 70px; text-align: left"
1695
-                v-if="receiverTreatmentAccess.admission_number"
1696
-              >
1697
-                {{ receiverTreatmentAccess.admission_number }}
1698
-              </div>
1699
-              <div
1700
-                class="under_line"
1701
-                style="width: 70px; text-align: left"
1702
-                v-else
1703
-              >
1704
-                {{ "/" }}
1705
-              </div>
1703
+            住院号/门诊号:
1704
+            <div
1705
+              class="under_line"
1706
+              style="width: 70px; text-align: left"
1707
+              v-if="receiverTreatmentAccess.admission_number"
1708
+            >
1709
+              {{ receiverTreatmentAccess.admission_number }}
1710
+            </div>
1711
+            <div
1712
+              class="under_line"
1713
+              style="width: 70px; text-align: left"
1714
+              v-else
1715
+            >
1716
+              {{ "/" }}
1706 1717
             </div>
1707 1718
           </div>
1719
+          </div>
1708 1720
           <div class="row" style="margin-bottom: 10px">
1709 1721
             <div class="inline_block">
1710 1722
               入科方式:
@@ -2427,7 +2439,8 @@
2427 2439
                       </div>
2428 2440
                     </div>
2429 2441
                     <div class="inline_block" style="flex: 1">
2430
-                      核对人员:
2442
+                      <span v-if="org_id==10387||org_id==9675" >核对护士:</span> 
2443
+                      <span v-else >核对人员:</span> 
2431 2444
                       <div
2432 2445
                         class="under_line"
2433 2446
                         style="width: 80px; text-align: center"