Browse Source

打印单

huangyw 3 years ago
parent
commit
a0e60d28dd
1 changed files with 19 additions and 17 deletions
  1. 19 17
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue

+ 19 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue View File

@@ -49,15 +49,15 @@
49 49
           <div class="inline_block">
50 50
             病区:
51 51
             <div class="under_line" style="width: 50px;text-align: center;">
52
-              <span v-if="org_id == 10121">{{ patientInfo.DialysisSchedule.device_zone.name ? patientInfo.DialysisSchedule.device_zone.name : '' }}</span>
53
-              <span v-else>{{ "/" }}</span>
52
+              <span>{{ patientInfo.DialysisSchedule.device_zone.name ? patientInfo.DialysisSchedule.device_zone.name : '' }}</span>
53
+              
54 54
             </div>
55 55
           </div>
56 56
           <div class="inline_block">
57 57
             床号:
58 58
             <div class="under_line" style="width: 50px;text-align: center;">
59
-              <span v-if="org_id == 10121">{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}</span>
60
-              <span v-else>{{ "/" }}</span>
59
+              <span>{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}</span>
60
+              
61 61
             </div>
62 62
           </div>
63 63
           <div class="inline_block">
@@ -91,7 +91,9 @@
91 91
               :key="index"
92 92
               class="under_line"
93 93
               v-if="receiverTreatmentAccess.consciousness == item.id"
94
-              style="width: 180px; text-align: left"
94
+              
95
+              style="width: 100px; text-align: left"
96
+
95 97
             >
96 98
               {{ item.name }}
97 99
             </div>
@@ -99,7 +101,7 @@
99 101
           
100 102
           <div class="inline_block" style="margin-left: 10px;">
101 103
             诊断:
102
-            <div class="under_line" style="width: 640px;text-align: left;word-wrap: break-word;white-space: inherit;">
104
+            <div class="under_line" style="width: 500px;text-align: left;word-wrap: break-word;white-space: inherit;">
103 105
               {{ patientInfo.diagnose }}
104 106
             </div>
105 107
           </div>
@@ -138,13 +140,11 @@
138 140
                       <div class="inline_block" style="flex: 1">
139 141
                       病人食欲:
140 142
                       <div
141
-                        v-for="(item, index) in appetite_arr"
142
-                        :key="index"
143
+                        
143 144
                         class="under_line"
144
-                        v-if="receiverTreatmentAccess.appetite == item.id"
145
-                        style="width: 180px; text-align: left"
145
+                        style="width: 135px; text-align: left"
146 146
                       >
147
-                        {{ item.name ? item.name : '/' }}
147
+                        11
148 148
                       </div>
149 149
                     </div>
150 150
 
@@ -888,11 +888,11 @@
888 888
                     <div class="inline_block" style="margin-left:10px;flex:1.5;">
889 889
                       BP:
890 890
                       <div class="under_line" style="width: 50px;text-align: center;">
891
-                        {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "/" }}
891
+                        {{ afterBP.systolic_blood_pressure ? afterBP.systolic_blood_pressure : "/" }}
892 892
                       </div>
893 893
                       /
894 894
                       <div class="under_line" style="width: 50px;text-align: center;">
895
-                        {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "/" }}
895
+                        {{ afterBP.diastolic_blood_pressure ? afterBP.diastolic_blood_pressure : "/" }}
896 896
                       </div>
897 897
                       mmHg
898 898
                     </div>
@@ -1186,6 +1186,7 @@ export default {
1186 1186
       jilurow: 0,
1187 1187
       advice_jilurow: 0,
1188 1188
       loading: false,
1189
+      afterBP:{},
1189 1190
       orgname: '',
1190 1191
       patientInfo_gender_1: false,
1191 1192
       patientInfo_gender_2: false,
@@ -1588,7 +1589,6 @@ export default {
1588 1589
         this.lastafterdialysis = response.data.data.assessmentAfterDislysis
1589 1590
         console.log("上次透后体重",this.lastafterdialysis.weight_after)
1590 1591
         this.operators = response.data.data.operators
1591
-        console.log('operators', this.operators)
1592 1592
         this.dialysisOrder =
1593 1593
           response.data.data.dialysisOrder === null
1594 1594
             ? null
@@ -1701,7 +1701,7 @@ export default {
1701 1701
 
1702 1702
         this.advices = response.data.data.advices
1703 1703
         this.tableAdvice = response.data.data.advices;
1704
-        console.log('医嘱数据2222222222', this.advices)
1704
+        console.log('医嘱数据', this.advices)
1705 1705
         this.monitors = response.data.data.monitors
1706 1706
         this.summary = response.data.data.summary
1707 1707
         this.org_template_info = response.data.data.org_template_info
@@ -1721,6 +1721,8 @@ export default {
1721 1721
             }
1722 1722
           }
1723 1723
         }
1724
+        let arr = this.monitors.length
1725
+        this.afterBP = this.monitors[arr-1]
1724 1726
 
1725 1727
         var tempmonitorflag = true
1726 1728
         for (let index = 0; index < this.monitors.length; index++) {
@@ -2053,9 +2055,9 @@ export default {
2053 2055
     }
2054 2056
 
2055 2057
     const xtdate = this.$route.query && this.$route.query.xtdate
2056
-    console.log('xtdate', xtdate)
2058
+    
2057 2059
     const xtno = this.$route.query && this.$route.query.xtno
2058
-    console.log('xtno', xtno)
2060
+    
2059 2061
     if (
2060 2062
       typeof xtdate === 'string' &&
2061 2063
       xtdate.length > 0 &&