Browse Source

打印单逻辑修改

张保健 4 years ago
parent
commit
13ef9132f3

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

569
               <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
569
               <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
570
               <td>&nbsp;{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
570
               <td>&nbsp;{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
571
               <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
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
               <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
576
               <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
575
               <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
577
               <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
576
               <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
578
               <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
606
                     <td width="70">
608
                     <td width="70">
607
                       <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:''}}</div>
609
                       <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:''}}</div>
608
                     </td>
610
                     </td>
609
-                    <td width="20">ml</td>
611
+                    <td width="20">L</td>
610
                     <td></td>
612
                     <td></td>
611
                     <td width="60">透后体重</td>
613
                     <td width="60">透后体重</td>
612
                     <td width="50">
614
                     <td width="50">
1092
         summary: {},
1094
         summary: {},
1093
         receiverTreatmentAccess: {},
1095
         receiverTreatmentAccess: {},
1094
         org_template_info: {},
1096
         org_template_info: {},
1097
+        isShowZero: false,
1095
 
1098
 
1096
         doctor_advices: [],
1099
         doctor_advices: [],
1097
         advice_groups: [],
1100
         advice_groups: [],
1353
             this.advices = response.data.data.advices;
1356
             this.advices = response.data.data.advices;
1354
             this.monitors = response.data.data.monitors;
1357
             this.monitors = response.data.data.monitors;
1355
             this.summary = response.data.data.summary;
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
             if (this.monitors.length < 8) {
1365
             if (this.monitors.length < 8) {
1358
               var nl = 8 - this.monitors.length;
1366
               var nl = 8 - this.monitors.length;

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

352
                       {{prescription.anticoagulant_name?prescription.anticoagulant_name:'/'}}
352
                       {{prescription.anticoagulant_name?prescription.anticoagulant_name:'/'}}
353
                     </div>
353
                     </div>
354
                   </div>
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
                     <div class="under_line" style="width: 50px;text-align: center;">
357
                     <div class="under_line" style="width: 50px;text-align: center;">
358
                       {{prescription.anticoagulant_shouji?prescription.anticoagulant_shouji:'/'}}
358
                       {{prescription.anticoagulant_shouji?prescription.anticoagulant_shouji:'/'}}
361
                   </div>
361
                   </div>
362
                   <div class="inline_block" style="margin-left:20px;">
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
                     </div>
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
                     </div>
369
                     </div>
370
-                    lu
370
+                    <span v-if="prescription.anticoagulant != 5">lu</span>
371
+                    <span v-if="prescription.anticoagulant == 5">ml/h</span>
371
                   </div>
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
                     <div class="under_line" style="width: 50px;text-align: center;">
388
                     <div class="under_line" style="width: 50px;text-align: center;">
375
                       {{prescription.anticoagulant_zongliang?prescription.anticoagulant_zongliang:'/'}}
389
                       {{prescription.anticoagulant_zongliang?prescription.anticoagulant_zongliang:'/'}}