Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
ad1df33aae

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

49
           <div class="inline_block">
49
           <div class="inline_block">
50
             病区:
50
             病区:
51
             <div class="under_line" style="width: 50px;text-align: center;">
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
             </div>
54
             </div>
55
           </div>
55
           </div>
56
           <div class="inline_block">
56
           <div class="inline_block">
57
             床号:
57
             床号:
58
             <div class="under_line" style="width: 50px;text-align: center;">
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
             </div>
61
             </div>
62
           </div>
62
           </div>
63
           <div class="inline_block">
63
           <div class="inline_block">
91
               :key="index"
91
               :key="index"
92
               class="under_line"
92
               class="under_line"
93
               v-if="receiverTreatmentAccess.consciousness == item.id"
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
               {{ item.name }}
98
               {{ item.name }}
97
             </div>
99
             </div>
99
           
101
           
100
           <div class="inline_block" style="margin-left: 10px;">
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
               {{ patientInfo.diagnose }}
105
               {{ patientInfo.diagnose }}
104
             </div>
106
             </div>
105
           </div>
107
           </div>
138
                       <div class="inline_block" style="flex: 1">
140
                       <div class="inline_block" style="flex: 1">
139
                       病人食欲:
141
                       病人食欲:
140
                       <div
142
                       <div
141
-                        v-for="(item, index) in appetite_arr"
142
-                        :key="index"
143
+                        
143
                         class="under_line"
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
                       </div>
148
                       </div>
149
                     </div>
149
                     </div>
150
 
150
 
888
                     <div class="inline_block" style="margin-left:10px;flex:1.5;">
888
                     <div class="inline_block" style="margin-left:10px;flex:1.5;">
889
                       BP:
889
                       BP:
890
                       <div class="under_line" style="width: 50px;text-align: center;">
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
                       </div>
892
                       </div>
893
                       /
893
                       /
894
                       <div class="under_line" style="width: 50px;text-align: center;">
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
                       </div>
896
                       </div>
897
                       mmHg
897
                       mmHg
898
                     </div>
898
                     </div>
1186
       jilurow: 0,
1186
       jilurow: 0,
1187
       advice_jilurow: 0,
1187
       advice_jilurow: 0,
1188
       loading: false,
1188
       loading: false,
1189
+      afterBP:{},
1189
       orgname: '',
1190
       orgname: '',
1190
       patientInfo_gender_1: false,
1191
       patientInfo_gender_1: false,
1191
       patientInfo_gender_2: false,
1192
       patientInfo_gender_2: false,
1588
         this.lastafterdialysis = response.data.data.assessmentAfterDislysis
1589
         this.lastafterdialysis = response.data.data.assessmentAfterDislysis
1589
         console.log("上次透后体重",this.lastafterdialysis.weight_after)
1590
         console.log("上次透后体重",this.lastafterdialysis.weight_after)
1590
         this.operators = response.data.data.operators
1591
         this.operators = response.data.data.operators
1591
-        console.log('operators', this.operators)
1592
         this.dialysisOrder =
1592
         this.dialysisOrder =
1593
           response.data.data.dialysisOrder === null
1593
           response.data.data.dialysisOrder === null
1594
             ? null
1594
             ? null
1701
 
1701
 
1702
         this.advices = response.data.data.advices
1702
         this.advices = response.data.data.advices
1703
         this.tableAdvice = response.data.data.advices;
1703
         this.tableAdvice = response.data.data.advices;
1704
-        console.log('医嘱数据2222222222', this.advices)
1704
+        console.log('医嘱数据', this.advices)
1705
         this.monitors = response.data.data.monitors
1705
         this.monitors = response.data.data.monitors
1706
         this.summary = response.data.data.summary
1706
         this.summary = response.data.data.summary
1707
         this.org_template_info = response.data.data.org_template_info
1707
         this.org_template_info = response.data.data.org_template_info
1721
             }
1721
             }
1722
           }
1722
           }
1723
         }
1723
         }
1724
+        let arr = this.monitors.length
1725
+        this.afterBP = this.monitors[arr-1]
1724
 
1726
 
1725
         var tempmonitorflag = true
1727
         var tempmonitorflag = true
1726
         for (let index = 0; index < this.monitors.length; index++) {
1728
         for (let index = 0; index < this.monitors.length; index++) {
2053
     }
2055
     }
2054
 
2056
 
2055
     const xtdate = this.$route.query && this.$route.query.xtdate
2057
     const xtdate = this.$route.query && this.$route.query.xtdate
2056
-    console.log('xtdate', xtdate)
2058
+    
2057
     const xtno = this.$route.query && this.$route.query.xtno
2059
     const xtno = this.$route.query && this.$route.query.xtno
2058
-    console.log('xtno', xtno)
2060
+    
2059
     if (
2061
     if (
2060
       typeof xtdate === 'string' &&
2062
       typeof xtdate === 'string' &&
2061
       xtdate.length > 0 &&
2063
       xtdate.length > 0 &&

+ 2 - 2
src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue View File

6
         </div>
6
         </div>
7
         <div style="display:flex;justify-content: space-between;">
7
         <div style="display:flex;justify-content: space-between;">
8
             <!-- <div>{{ list.department_name }}</div> -->
8
             <!-- <div>{{ list.department_name }}</div> -->
9
-            <div  style="position: absolute;top:50px;left:260px">{{ list.id_card_no }}</div>
9
+            <div  style="position: absolute;top:50px;left:260px">{{ list.his_hospital_record.id_card_no }}</div>
10
             <div></div>
10
             <div></div>
11
         </div>
11
         </div>
12
         <div style="display:flex;justify-content: space-between;">
12
         <div style="display:flex;justify-content: space-between;">
13
             <!-- <div>{{ list.department_name }}</div> -->
13
             <!-- <div>{{ list.department_name }}</div> -->
14
             <div  style="position: absolute;top:70px;left:90px">门诊</div>
14
             <div  style="position: absolute;top:70px;left:90px">门诊</div>
15
             <div></div>
15
             <div></div>
16
-            <div  style="position: absolute;top:70px;left:240px">{{ list.number }}</div>
16
+            <div  style="position: absolute;top:70px;left:240px">{{ list.his_hospital_record.number }}</div>
17
             <div  style="position: absolute;left:470px;top:70px;">
17
             <div  style="position: absolute;left:470px;top:70px;">
18
                 <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
18
                 <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
19
             </div>
19
             </div>