Browse Source

打印单逻辑修改

张保健 4 years ago
parent
commit
13ef9132f3

+ 11 - 3
src/pages/main/template/DialysisPrintOrderOne.vue View File

@@ -569,8 +569,10 @@
569 569
               <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
570 570
               <td>&nbsp;{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
571 571
               <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
572
-              <td>&nbsp;{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
573
-              <td>&nbsp;{{monitor.displacement_quantity?monitor.displacement_quantity:''}}</td>
572
+              <td v-if="isShowZero && monitor.operate_time">&nbsp;{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
573
+              <td v-else>&nbsp;{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
574
+              <td v-if="isShowZero && monitor.operate_time">&nbsp;{{monitor.displacement_quantity?monitor.displacement_quantity:0}}</td>
575
+              <td v-else>&nbsp;{{monitor.displacement_quantity?monitor.displacement_quantity:''}}</td>
574 576
               <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
575 577
               <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
576 578
               <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
@@ -606,7 +608,7 @@
606 608
                     <td width="70">
607 609
                       <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:''}}</div>
608 610
                     </td>
609
-                    <td width="20">ml</td>
611
+                    <td width="20">L</td>
610 612
                     <td></td>
611 613
                     <td width="60">透后体重</td>
612 614
                     <td width="50">
@@ -1092,6 +1094,7 @@
1092 1094
         summary: {},
1093 1095
         receiverTreatmentAccess: {},
1094 1096
         org_template_info: {},
1097
+        isShowZero: false,
1095 1098
 
1096 1099
         doctor_advices: [],
1097 1100
         advice_groups: [],
@@ -1353,6 +1356,11 @@
1353 1356
             this.advices = response.data.data.advices;
1354 1357
             this.monitors = response.data.data.monitors;
1355 1358
             this.summary = response.data.data.summary;
1359
+            this.org_template_info = response.data.data.org_template_info
1360
+            // 配置超滤量和置换量是否要显示0还是空
1361
+            if(this.org_template_info.org_id == 9535){
1362
+              this.isShowZero = true
1363
+            }
1356 1364
 
1357 1365
             if (this.monitors.length < 8) {
1358 1366
               var nl = 8 - this.monitors.length;

+ 21 - 7
src/pages/main/template/DialysisPrintOrderSix.vue View File

@@ -352,7 +352,7 @@
352 352
                       {{prescription.anticoagulant_name?prescription.anticoagulant_name:'/'}}
353 353
                     </div>
354 354
                   </div>
355
-                  <div class="inline_block" style="margin-left:20px;">
355
+                  <div class="inline_block" style="margin-left:20px;" v-if="prescription.anticoagulant != 5">
356 356
                     首剂:
357 357
                     <div class="under_line" style="width: 50px;text-align: center;">
358 358
                       {{prescription.anticoagulant_shouji?prescription.anticoagulant_shouji:'/'}}
@@ -361,15 +361,29 @@
361 361
                   </div>
362 362
                   <div class="inline_block" style="margin-left:20px;">
363 363
                   维持:
364
-                    <div v-if="prescription.anticoagulant == 1" class="under_line" style="width: 50px;text-align: center;">
365
-                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:'/'}}
364
+                    <div v-if="prescription.anticoagulant == 1"  class="under_line" style="width: 50px;text-align: center;">
365
+                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:"/"}}
366 366
                     </div>
367
-                    <div v-if="prescription.anticoagulant != 1" class="under_line" style="width: 50px;text-align: center;">
368
-                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:0}}
367
+                    <div v-if="prescription.anticoagulant != 1"  class="under_line" style="width: 50px;text-align: center;">
368
+                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:"0"}}
369 369
                     </div>
370
-                    lu
370
+                    <span v-if="prescription.anticoagulant != 5">lu</span>
371
+                    <span v-if="prescription.anticoagulant == 5">ml/h</span>
371 372
                   </div>
372
-                  <div class="inline_block" style="margin-left:20px;">
373
+                  <div class="inline_block" style="margin-left:20px;" v-if="prescription.anticoagulant == 5">
374
+                    钙名称:
375
+                    <div class="under_line" style="width: 150px;text-align: center;">
376
+                      {{prescription.anticoagulant_gaimingcheng?prescription.anticoagulant_gaimingcheng:'/'}}
377
+                    </div>
378
+                  </div>
379
+                  <div class="inline_block" style="margin-left:20px;" v-if="prescription.anticoagulant == 5">
380
+                    钙剂量:
381
+                    <div class="under_line" style="width: 50px;text-align: center;">
382
+                      {{prescription.anticoagulant_gaijiliang?prescription.anticoagulant_gaijiliang:'/'}}
383
+                    </div>
384
+                    ml/h
385
+                  </div>
386
+                  <div class="inline_block" style="margin-left:20px;" v-if="prescription.anticoagulant != 5">
373 387
                   总量:
374 388
                     <div class="under_line" style="width: 50px;text-align: center;">
375 389
                       {{prescription.anticoagulant_zongliang?prescription.anticoagulant_zongliang:'/'}}