see999 3 years ago
parent
commit
e9865a7380

+ 267 - 153
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue View File

@@ -20,7 +20,7 @@
20 20
       </div>
21 21
       <div class="lineHeight">
22 22
           <div class="widthLength25">首次透析时间:{{ patientInfo.first_treatment_date ? getTime(patientInfo.first_treatment_date ? patientInfo.first_treatment_date : 0, "{y}-{m}-{d}") : '/' }}</div>
23
-          <div class="widthLength25">首入本院透析:</div>
23
+          <div class="widthLength25">首入本院透析:{{ patientInfo.hospital_first_dialysis_date ? getTime(patientInfo.hospital_first_dialysis_date ? patientInfo.hospital_first_dialysis_date : 0, "{y}-{m}-{d}") : '/' }}</div>
24 24
           <div class="widthLength25"></div>
25 25
           <div class="widthLength25"></div>
26 26
       </div>
@@ -29,8 +29,11 @@
29 29
       </div>
30 30
       <div class="lineHeight">透析前评估:</div>
31 31
       <div class="lineHeight">主诉:{{ patientInfo.patient_complains ? patientInfo.patient_complains : '无' }}</div>
32
-      <div class="lineHeight">透析前药物:暂无</div>
33
-      <div class="lineHeight">出血部位:暂无</div>
32
+      <div class="lineHeight">透析前药物:{{ predialysis.pre_dialysis_drugs ? predialysis.pre_dialysis_drugs : '' }}</div>
33
+      <div class="lineHeight">
34
+        <span v-if="predialysis.is_hemorrhage == 1">出血部位:{{ predialysis.hemorrhage ? predialysis.hemorrhage : '无' }}</span>
35
+        <span v-else>出血部位:无</span>
36
+      </div>
34 37
       <div class="lineHeight">
35 38
           <div class="widthLength25">是否跌倒:暂无</div>
36 39
           <div class="widthLength25">跌倒预防措施:{{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '/' }}</div>
@@ -46,7 +49,7 @@
46 49
           </div>
47 50
       </div>
48 51
       <div class="lineHeight">
49
-          <div class="widthLength25">围手术期:暂无</div>
52
+          <div class="widthLength25">围手术期:{{ predialysis.period == 1 ? '有' : "无" }}</div>
50 53
           <div class="widthLength25">尿量:{{ predialysis.urine_volume ? predialysis.urine_volume : 0 }}ml</div>
51 54
           <div class="widthLength25">就诊方式:
52 55
               <span v-if="receiverTreatmentAccess.condition == 1">住院</span>
@@ -54,90 +57,116 @@
54 57
               <span v-if="receiverTreatmentAccess.condition == 3">手术期</span>
55 58
               <span v-if="receiverTreatmentAccess.condition == 4">急诊</span>
56 59
           </div>
57
-          <div class="widthLength25">透析期间BP:</div>
60
+          <div class="widthLength25">透析期间BP:未测</div>
58 61
       </div>
59 62
       <div class="lineHeight">
60
-          <div class="widthLength25">内瘘功能:</div>
61
-          <div class="widthLength25">穿刺方法:</div>
62
-          <div class="widthLength25">通路皮肤:</div>
63
-          <div class="widthLength25">BP:</div>
63
+          <div class="widthLength25">内瘘功能:{{ predialysis.internal_fistula ? predialysis.internal_fistula : '' }}</div>
64
+          <div class="widthLength25">穿刺方法:{{ predialysis.puncture_way ? predialysis.puncture_way : '' }}</div>
65
+          <div class="widthLength25">通路皮肤:{{ predialysis.internal_fistula_skin ? predialysis.internal_fistula_skin : '' }}</div>
66
+          <div class="widthLength25">BP:{{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}/
67
+              {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }} mmHg
68
+          </div>
64 69
       </div>
65 70
       <div class="lineHeight">
66
-          <div class="widthLength25">T:</div>
67
-          <div class="widthLength25">P:</div>
68
-          <div class="widthLength25">意识:</div>
69
-          <div class="widthLength25">食欲:</div>
71
+          <div class="widthLength25">T:{{ predialysis.temperature ? predialysis.temperature : '' }} ℃</div>
72
+          <div class="widthLength25">P:{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : '' }}</div>
73
+          <div class="widthLength25">意识:
74
+            <span v-for="(item, index) in consciousness_arr" :key="index">
75
+              <span v-if="receiverTreatmentAccess.consciousness == item.id">{{ item.name }}</span>
76
+            </span>
77
+          </div>
78
+          <div class="widthLength25">食欲:
79
+            <span v-for="(item, index) in appetite_arr" :key="index">
80
+              <span v-if="receiverTreatmentAccess.appetite == item.id">{{ item.name }}</span>
81
+            </span>
82
+          </div>
70 83
       </div>
71 84
       <div class="lineHeight">
72
-          <div class="widthLength25">附加重物量:</div>
73
-          <div class="widthLength25">透前体重:</div>
74
-          <div class="widthLength25">干体重:</div>
75
-          <div class="widthLength25">预计进食量:</div>
85
+          <div class="widthLength25">附加重物量:{{ predialysis.additional_weight ? predialysis.additional_weight : 0 }} Kg</div>
86
+          <div class="widthLength25">透前体重:{{ predialysis.weight_before ? predialysis.weight_before : "" }} Kg</div>
87
+          <div class="widthLength25">干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "" }} Kg</div>
88
+          <div class="widthLength25">预计进食量:{{ predialysis.estimated_food_intake ? predialysis.estimated_food_intake : '无' }}</div>
76 89
       </div>
77 90
       <div class="lineHeight">
78
-          其他:
91
+          其他:{{ predialysis.remark ? predialysis.remark : '' }}
79 92
       </div>
80 93
       <div class="lineHeight">透后评估:</div>
81 94
       <div class="lineHeight">
82
-          <div class="widthLength25">BP:</div>
83
-          <div class="widthLength25">T:</div>
84
-          <div class="widthLength25">意识:</div>
95
+          <div class="widthLength25">BP:{{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
96
+            {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "" }} mmHg
97
+          </div>
98
+          <div class="widthLength25">T:{{ afterdialysis.temperature ? afterdialysis.temperature : '' }}</div>
99
+          <div class="widthLength25">意识:
100
+
101
+          </div>
85 102
           <div class="widthLength25">跌倒风险:</div>
86 103
       </div>
87 104
       <div class="lineHeight">
88
-          <div class="widthLength25">实际进食量:</div>
89
-          <div class="widthLength25">透后体重:</div>
90
-          <div class="widthLength25">脉搏:</div>
105
+          <div class="widthLength25">实际进食量:{{ afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '' }} g</div>
106
+          <div class="widthLength25">透后体重:{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }} Kg</div>
107
+          <div class="widthLength25">脉搏:{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }} 次/分</div>
91 108
       </div>
92 109
       <div class="lineHeight">治疗方案:</div>
93 110
       <div class="lineHeight">
94
-          <div class="widthLength25">病情:</div>
95
-          <div class="widthLength25">治疗模式:</div>
96
-          <div class="widthLength25">治疗总时长</div>
97
-          <div class="widthLength25">透析器:</div>
111
+          <div class="widthLength25">病情:{{ prescription.illness ? prescription.illness : '' }}</div>
112
+          <div class="widthLength25">治疗模式:
113
+            <span v-if="prescription.mode_id == 1">HD</span>
114
+            <span v-if="prescription.mode_id == 2">HDF</span>
115
+            <span v-if="prescription.mode_id == 3">HD+HP</span>
116
+            <span v-if="prescription.mode_id == 4">HP</span>
117
+            <span v-if="prescription.mode_id == 5">HP</span>
118
+            <span v-if="prescription.mode_id == 6">HF</span>
119
+            <span v-if="prescription.mode_id == 7">IUF</span>
120
+            <span v-if="prescription.mode_id == 8">HFHD</span>
121
+            <span v-if="prescription.mode_id == 9">HFHD+HP</span>
122
+            <span v-if="prescription.mode_id == 10">PHF</span>
123
+            <span v-if="prescription.mode_id == 11">HFR</span>
124
+            <span v-if="prescription.mode_id == 12">HDF+HP</span>
125
+            <span v-if="prescription.mode_id == 13">CRRT</span>
126
+            <span v-if="prescription.mode_id == 14">腹水回输</span>
127
+            <span v-if="prescription.mode_id == 15">HD前置换</span>
128
+            <span v-if="prescription.mode_id == 16">HD后置换</span>
129
+            <span v-if="prescription.mode_id == 17">HDF前置换</span>
130
+            <span v-if="prescription.mode_id == 18">HDF后置换</span>
131
+            <span v-if="prescription.mode_id == 19">IUF+HD</span>
132
+          </div>
133
+          <div class="widthLength25">治疗总时长:{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : 0 }}小时
134
+            {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : 0 }}分钟
135
+          </div>
136
+          <div class="widthLength25">透析器:{{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : '' }}</div>
98 137
       </div>
99 138
       <div class="lineHeight">
100
-          <div class="widthLength25">血流量:</div>
101
-          <div class="widthLength25">设定UF量:</div>
102
-          <div class="widthLength25">实际UF量:</div>
103
-          <div class="widthLength25">分区:</div>
139
+          <div class="widthLength25">血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "" }} ml/min</div>
140
+          <div class="widthLength25">设定UF量:{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} L</div>
141
+          <div class="widthLength25">实际UF量:{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }} L</div>
142
+          <div class="widthLength25">分区:{{ patientInfo.DialysisSchedule.device_zone.name }}</div>
104 143
       </div>
105 144
       <div class="lineHeight">
106
-          <div class="widthLength25">透析液温度:</div>
107
-          <div class="widthLength25">透析液流量:</div>
108
-          <div class="widthLength25">碳酸氢根:</div>
109
-          <div class="widthLength25">血管通路:</div>
145
+          <div class="widthLength25">透析液温度:{{ prescription.dialysate_temperature ? prescription.dialysate_temperature : "" }} ℃</div>
146
+          <div class="widthLength25">透析液流量:{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} ml/min</div>
147
+          <div class="widthLength25">碳酸氢根:{{ prescription.bicarbonate ? prescription.bicarbonate : "" }} mmol/L</div>
148
+          <div class="widthLength25">血管通路:{{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '' }}</div>
110 149
       </div>
111 150
       <div class="lineHeight">
112
-          透析液浓度(mmol/L):Ca:    Na:    K:   葡萄糖:
151
+          透析液浓度(mmol/L):Ca: {{ prescription.calcium ? prescription.calcium : "" }}  &nbsp; Na: {{ prescription.sodium ? prescription.sodium : "" }} &nbsp;  K: {{ prescription.kalium ? prescription.kalium : "" }} &nbsp; 葡萄糖:{{ prescription.amylaceum ? prescription.amylaceum : "" }}
113 152
       </div>
114 153
       <table class="print-table" border="1">
115 154
         <tbody>
116 155
           <tr>
117
-            <td style="width:130px;height:40px">时间</td>
118
-            <td colspan="5" style="width:560px;height:40px">医嘱执行记录</td>
119
-            <td colspan="2" style="width:110px;height:40px">医生签名</td>
120
-
121
-            <td colspan="2" style="width:108px;height:40px">执行</td>
156
+            <td style="width:90px;height:40px">日期</td>
157
+            <td style="width:60px;height:40px">时间</td>
158
+            <td colspan="5" style="width:560px;height:40px">医嘱内容</td>
159
+            <td colspan="2" style="width:110px;height:40px">开立医生</td>
122 160
             <td colspan="3" style="width:130px;height:40px">执行时间</td>
123
-            <!-- <td style="width:60px;height:60px">
124
-              <p style="height:20px;line-height:20px">核对</p>
125
-            </td>
126
-            <td style="width:60px;height:40px">
127
-              <p style="height:20px;line-height:20px">上次透后体重</p>
128
-            </td>
129
-            <td style="width:60px;height:40px">
130
-              {{
131
-                assessmentafter.weight_after
132
-                  ? assessmentafter.weight_after
133
-                  : "0"
134
-              }}kg
135
-            </td>-->
161
+            <td colspan="2" style="width:130px;height:40px">核对护士</td>
162
+            <td colspan="2" style="width:108px;height:40px">执行护士</td>
163
+            <td colspan="2" style="width:108px;height:40px">带教学生</td>
136 164
           </tr>
137 165
 
138 166
           <tr v-for="(advice, advice_index) in tableAdvice" style="height:30px">
139
-            <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
140
-            <td colspan="5" style="height:30px;">
167
+            <td>{{ getTime(advice.start_time, "{y}-{m}-{d}") }}</td>
168
+            <td>{{ getTime(advice.start_time, "{h}:{i}") }}</td>
169
+            <td colspan="5" style="height:30px;line-height:20px;">
141 170
               <span v-if="advice.parent_id > 0">---></span>
142 171
               <span>{{ advice.advice_name }}</span>
143 172
               <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
@@ -156,78 +185,93 @@
156 185
               <span v-if="setAdminUserES(advice.advice_doctor) == ''">
157 186
                 {{ getAdminUser(advice.advice_doctor) }}
158 187
               </span>
159
-              <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset v-else />
160
-            </td>
161
-            <td colspan="2" style="height:40px">
162
-              <span v-if="setAdminUserES(advice.execution_staff) == ''">
163
-                {{ getAdminUser(advice.execution_staff) }}
164
-              </span>
165
-              <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
188
+              <img style="height:20px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset v-else />
166 189
             </td>
167 190
             <td colspan="3" style="width:130px;">
168
-              {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
169
-            </td>
170
-
171
-            <!-- <td>
172
-              <span v-if="setAdminUserES(advice.checker) == ''">{{
173
-                getAdminUser(advice.checker)
174
-              }}</span>
175
-              <img
176
-                style="height:40px;"
177
-                :src="setAdminUserES(advice.checker)"
178
-                alt=""
179
-                srcset=""
180
-                v-else
181
-              />
191
+              {{ getTime(advice.execution_time, "{h}:{i}") }}
182 192
             </td>
183
-            <td v-if="advice_index === 0">透前体重:</td>
184
-            <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
185
-            <td v-if="advice_index === 1">体重增加量:</td>
186
-            <td v-if="advice_index === 1"></td>
187
-            <td v-if="advice_index === 2">干体重(DW):</td>
188
-            <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
189
-            <td v-if="advice_index === 3">较干体重增加量:</td>
190
-            <td v-if="advice_index === 3">
191
-              {{
192
-                (
193
-                  predialysis.weight_before -
194
-                  predialysis.dry_weight -
195
-                  predialysis.additional_weight
196
-                ).toFixed(2)
197
-              }}kg
193
+            <td colspan="2">
194
+              <span v-if="setAdminUserES(advice.checker) == ''">
195
+                {{ getAdminUser(advice.checker) }}
196
+              </span>
197
+              <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt srcset v-else />
198 198
             </td>
199
-            <td v-if="advice_index === 4">净脱水量:</td>
200
-            <td v-if="advice_index === 4">
201
-              {{ afterdialysis.actual_ultrafiltration }}L
199
+            <td colspan="2" style="height:30px">
200
+              <span v-if="setAdminUserES(advice.execution_staff) == ''">
201
+                {{ getAdminUser(advice.execution_staff) }}
202
+              </span>
203
+              <img style="height:20px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
202 204
             </td>
203
-            <td v-if="advice_index === 5">透后体重:</td>
204
-            <td v-if="advice_index === 5">
205
-              {{ afterdialysis.weight_after }}kg
206
-            </td>-->
205
+            <td colspan="2"><span v-if="advice.start_time">无</span></td>
207 206
           </tr>
208 207
         </tbody>
209 208
       </table>
210 209
       <div class="lineHeight">
211
-          <div style="width:16%;">医生:</div>
212
-          <div style="width:16%;">透前评估护士:</div>
213
-          <div style="width:16%;">核对护士:</div>
214
-          <div style="width:16%;">责任护士:</div>
215
-          <div style="width:16%;">责任组长:</div>
216
-          <div style="width:16%;">学生:</div>
210
+          <div style="width:16%;">医生:
211
+            <span style="display: inline-block;text-align: left;">
212
+              &nbsp;
213
+              <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
214
+              <img style="height:20px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
215
+            </span>
216
+          </div>
217
+          <div style="width:16%;">透前评估护士:
218
+            <span style="display: inline-block;text-align: left;">
219
+              &nbsp;
220
+              <span v-if="setAdminUserES(predialysis==null?0:(predialysis.creater?predialysis.creater:'')) == ''"> {{ getAdminUser(predialysis==null?0:(predialysis.creater?predialysis.creater:'')) }} </span>
221
+              <img style="height:20px;" :src="setAdminUserES(predialysis==null?0:(predialysis.creater?predialysis.creater:''))" alt="" srcset="" v-else />
222
+            </span>
223
+          </div>
224
+          <div style="width:16%;">核对护士:
225
+            <span style="display: inline-block;text-align: left;" v-if="dialysisOrder && check ? dialysisOrder.start_nurse != check.modifier : false">
226
+              &nbsp;
227
+              <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
228
+                {{ getAdminUser(check == null ? 0 : check.modifier) }}
229
+              </span>
230
+              <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
231
+            </span>
232
+            <span style="display: inline-block;text-align: left;" v-else>
233
+              &nbsp;
234
+              <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
235
+                {{ getAdminUser(check == null ? 0 : check.creater) }}
236
+              </span>
237
+              <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
238
+            </span>
239
+          </div>
240
+          <div style="width:16%;">责任护士:
241
+            <span style="display: inline-block;text-align: left;">
242
+              &nbsp;
243
+              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
244
+              <img class="es-img" style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
245
+            </span>
246
+          </div>
247
+          <div style="width:16%;">责任组长:
248
+            <span style="display: inline-block;text-align: left;">
249
+              &nbsp;
250
+              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
251
+              <img class="es-img" style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
252
+            </span>
253
+          </div>
254
+          <div style="width:16%;">学生:无</div>
217 255
       </div>
218
-      <div class="lineHeight">治疗过程中检测记录:血压检测部位:</div>
256
+      <div class="lineHeight">治疗过程中检测记录:血压检测部位:{{ monitors && monitors[0] ? monitors[0].blood_pressure_monitoring_site : '' }}</div>
219 257
       <table class="print-table" border="1">
220 258
         <tbody>
221 259
           <tr>
222
-            <td width="60">时间</td>
223
-            <td width="80" style="height:20px;line-height:20px">血压<br />mmHg</td>
224
-            <td width="40" style="height:20px;line-height:20px">脉搏<br />次/分</td>
225
-            <td width="60" style="height:20px;line-height:20px">血流量<br />ml/分</td>
226
-            <td width="60" style="height:20px;line-height:20px">静脉压<br />mmHg</td>
227
-            <td width="60" style="height:20px;line-height:20px">跨膜压<br />mmHg</td>
228
-            <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
229
-            <td width="">症状及处理</td>
230
-            <td width="60" style="height:20px;line-height:20px">护士签名</td>
260
+            <td width="50">时间</td>
261
+            <td width="70" style="height:20px;line-height:20px">BPmmHg</td>
262
+            <td width="40" style="height:20px;line-height:20px">P/HR<br />次/分</td>
263
+            <!-- <td width="50" style="height:20px;line-height:20px">管路<br />密闭性</td> -->
264
+            <td width="60" style="height:20px;line-height:20px">透析液<br />温度℃</td>
265
+            <td width="60" style="height:20px;line-height:20px">Qb<br />ml/min</td>
266
+            <td width="60" style="height:20px;line-height:20px">VP<br />mmHg</td>
267
+            <td width="60" style="height:20px;line-height:20px">AP<br />mmHg</td>
268
+            <td width="60" style="height:20px;line-height:20px">TMP<br />mmHg</td>
269
+            <td width="60" style="height:20px;line-height:20px">UFV<br />ml</td>
270
+            <td width="60" style="height:20px;line-height:20px">UFR<br />ml/h</td>
271
+            <td width="60" style="height:20px;line-height:20px">并发症</td>
272
+            <td width="60" style="height:20px;line-height:20px">护理措施</td>
273
+            <!-- <td width="60" style="height:20px;line-height:20px">UF医嘱</td> -->
274
+            <td width="60" style="height:20px;line-height:20px">执行人</td>
231 275
           </tr>
232 276
 
233 277
           <tr v-for="monitor in monitors" :key="monitor.id">
@@ -239,73 +283,141 @@
239 283
               </span>
240 284
             </td>
241 285
             <td>&nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : '' }}</td>
242
-            <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
286
+            <!-- <td>&nbsp;</td> -->
287
+            <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : '' }}</td>
288
+            <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : '' }}</td>
243 289
             <td>&nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}</td>
290
+            <td>&nbsp;{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}</td>
244 291
             <td>&nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}</td>
292
+            <td>&nbsp;{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "" }}</td>
245 293
             <td>&nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</td>
294
+            <td>&nbsp;{{ monitor.complication ? monitor.complication : "" }}</td>
246 295
             <td style="text-align:left;padding-left:10px;">
247
-              <div style="line-height:20px;text-align: left;display: inline-block;">
248
-                &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
296
+              <div v-if="monitor.operate_time" style="line-height:20px;text-align: left;display: inline-block;">
297
+                {{ monitor.dispose ? monitor.dispose : '无' }}
249 298
               </div>
250 299
             </td>
300
+            <!-- <td>&nbsp;</td> -->
251 301
             <td>
252 302
               <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
253 303
                 {{ getAdminUser(monitor.monitoring_nurse) }}
254 304
               </span>
255 305
               <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
256
-                <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
306
+                <img style="height:20px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
257 307
               </span>
258 308
             </td>
259 309
           </tr>
260 310
         </tbody>
261 311
       </table>
262 312
       <div class="lineHeight">
263
-          护理记录:
313
+          护理记录:{{ summary.nursing_record ? summary.nursing_record : '' }}
264 314
       </div>
265 315
       <div class="lineHeight">
266
-          护理小结:
316
+          护理小结:{{ summary.special_record ? summary.special_record : '' }}
267 317
       </div>
268
-      <div class="lineHeight">
318
+      <!-- <div class="lineHeight">
269 319
           治疗过程:
270
-      </div>
320
+      </div> -->
271 321
       <div class="lineHeight">
272
-          <div class="widthLength25">实际治疗时长:</div>
273
-          <div class="widthLength25">体外循环管路凝血:</div>
274
-          <div class="widthLength25">透析器凝血:</div>
275
-          <div class="widthLength25">血管通路功能:</div>
322
+          <div class="widthLength25">实际治疗时长:{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : 0 }}小时
323
+            {{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : 0 }}分钟
324
+          </div>
325
+          <div class="widthLength25">静脉管道:
326
+            <span v-if="afterdialysis.intravenous_tube == 1">0级</span>
327
+            <span v-if="afterdialysis.intravenous_tube == 2">I级</span>
328
+            <span v-if="afterdialysis.intravenous_tube == 3">Ⅱ级</span>
329
+            <span v-if="afterdialysis.intravenous_tube == 4">Ⅲ级</span>
330
+          </div>
331
+          <div class="widthLength25">动脉管道:
332
+            <span v-if="afterdialysis.arterial_tube == 1">0级</span>
333
+            <span v-if="afterdialysis.arterial_tube == 2">I级</span>
334
+            <span v-if="afterdialysis.arterial_tube == 3">Ⅱ级</span>
335
+            <span v-if="afterdialysis.arterial_tube == 4">Ⅲ级</span>
336
+          </div>
337
+          <div class="widthLength25">透析器凝血:{{ afterdialysis.cruor ? afterdialysis.cruor : "" }}</div>
338
+          
276 339
       </div>
277 340
       <div class="lineHeight">
278
-          <div class="widthLength25">出血:</div>
279
-          <div class="widthLength25">穿刺口:</div>
280
-          <div class="widthLength25">透析状态:</div>
281
-          <div class="widthLength25">URR:</div>
341
+        <div class="widthLength25">血管通路功能:
342
+          {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
343
+        </div>
344
+          <div class="widthLength25">出血:
345
+            <span v-if="afterdialysis.puncture_point_oozing_blood == 1">有</span>
346
+            <span v-else>无</span>
347
+          </div>
348
+          <div class="widthLength25">穿刺口:
349
+            <span v-if="afterdialysis.hemostasis_opera == 1">需要护士</span>
350
+            <span v-if="afterdialysis.hemostasis_opera == 2">他人协助</span>
351
+            <span v-if="afterdialysis.hemostasis_opera == 3">自己压迫</span>
352
+            <span v-if="afterdialysis.hemostasis_opera == 4">内瘘止血带</span>
353
+          </div>
354
+          <div class="widthLength25">透析状态:在透</div>
355
+          
282 356
       </div>
283 357
       <div class="lineHeight">
284
-          <div class="widthLength25">kt/V</div>
285
-          <div class="widthLength25">透析相关高血压:</div>
286
-          <div class="widthLength25">透析相关低血压:</div>
287
-          <div class="widthLength25">转归:</div>
358
+          <div class="widthLength25">URR:{{ afterdialysis.urr ? afterdialysis.urr : '未测' }}</div>
359
+          <div class="widthLength25">kt/V:{{ afterdialysis.ktv ? afterdialysis.ktv : '未测' }}</div>
360
+          <div class="widthLength25">透析相关高血压:{{ afterdialysis.hypertenison == 1 ? '有' : '无' }}</div>
361
+          <div class="widthLength25">透析相关低血压:{{ afterdialysis.hypopiesia == 1 ? '有' : '无' }}</div>
362
+          
288 363
       </div>
289 364
       <div class="lineHeight">
290
-          <div class="widthLength25">患者去向:</div>
291
-          <div class="widthLength25">离科方式:</div>
292
-          <div class="widthLength25">设备运行:</div>
365
+          <div class="widthLength25">转归:
366
+            <span v-if="afterdialysis.lapse == item.id" v-for="(item,index) in lapse_arr" :key="index">{{ item.name }}</span>
367
+          </div>
368
+          <div class="widthLength25">患者去向:
369
+            <span v-if="afterdialysis.patient_gose == 1">离院</span>
370
+            <span v-if="afterdialysis.patient_gose == 2">留观</span>
371
+            <span v-if="afterdialysis.patient_gose == 3">住院</span>
372
+            <span v-if="afterdialysis.patient_gose == 4">门诊</span>
373
+          </div>
374
+          <div class="widthLength25">离科方式:
375
+            <span v-if="afterdialysis.leave_office_method == 1">步行</span>
376
+            <span v-if="afterdialysis.leave_office_method == 2">扶行</span>
377
+            <span v-if="afterdialysis.leave_office_method == 3">轮椅</span>
378
+            <span v-if="afterdialysis.leave_office_method == 4">平车</span>
379
+          </div>
380
+          <div class="widthLength25">设备运行:正常</div>
293 381
       </div>
294 382
       <div class="lineHeight">
295
-          健康宣教:
383
+          健康宣教:{{ summary.mission ? summary.mission : '' }}
296 384
       </div>
297 385
       <div class="lineHeight">
298
-          <div style="width:16%;">值班医生:</div>
299
-          <div style="width:16%;">责任护士:</div>
300
-          <div style="width:16%;">下机护士:</div>
301
-          <div style="width:16%;">学生:</div>
302
-          <div style="width:16%;">带教老师:</div>
386
+          <div style="width:16%;">值班医生:
387
+            <span style="display: inline-block;text-align: left;">
388
+              &nbsp;
389
+              <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
390
+              <img style="height:20px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
391
+            </span>
392
+          </div>
393
+          <div style="width:16%;">责任护士:
394
+            <span style="display: inline-block;text-align: left;">
395
+              &nbsp;
396
+              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
397
+              <img class="es-img" style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
398
+            </span>
399
+          </div>
400
+          <div style="width:16%;">下机护士:
401
+            <span style="display: inline-block;text-align: left;">
402
+              &nbsp;
403
+              <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
404
+              <img class="es-img" style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
405
+            </span>
406
+          </div>
407
+          <div style="width:16%;">学生:无</div>
408
+          <div style="width:16%;">带教老师:无</div>
303 409
       </div>
304 410
       <div class="lineHeight">
305 411
           病程记录:
306 412
       </div>
307
-      <div class="lineHeight">透析过程顺利。2021-05-10 15:14</div>
308
-      <div style="text-align:right;line-height:30px;">签名医生:</div>
413
+      <div class="lineHeight">{{ summary.dialysis_summary ? summary.dialysis_summary : '' }}{{ summary.created_time ? getTime(summary.created_time, "{y}-{m}-{d} {h}:{i}") : '' }}</div>
414
+      <div style="text-align:right;line-height:30px;">签名医生:
415
+        <span style="display: inline-block;text-align: left;">
416
+          &nbsp;
417
+          <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
418
+          <img style="height:20px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
419
+        </span>
420
+      </div>
309 421
     </div>
310 422
   </div>
311 423
 </template>
@@ -338,6 +450,7 @@ export default {
338 450
       precaution_arr: [],
339 451
       intake_arr: [],
340 452
       nutrition_arr: [],
453
+      lapse_arr:[],
341 454
 
342 455
       crumbs: [
343 456
         { path: false, name: "透析管理" },
@@ -917,12 +1030,12 @@ export default {
917 1030
           if (this.org_template_info.org_id == 9535) {
918 1031
             this.isShowZero = true;
919 1032
           }
920
-          if (this.monitors.length < 7) {
921
-            var nl = 8 - this.monitors.length;
922
-            for (let index = 0; index < nl; index++) {
923
-              this.monitors.push([]);
924
-            }
925
-          }
1033
+          // if (this.monitors.length < 7) {
1034
+          //   var nl = 8 - this.monitors.length;
1035
+          //   for (let index = 0; index < nl; index++) {
1036
+          //     this.monitors.push([]);
1037
+          //   }
1038
+          // }
926 1039
           this.jilurow = this.monitors.length + 1;
927 1040
 
928 1041
           this.advice_jilurow = this.advices.length + 1;
@@ -1173,6 +1286,7 @@ export default {
1173 1286
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
1174 1287
     this.intake_arr = getDataConfig("hemodialysis", "intake");
1175 1288
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
1289
+    this.lapse_arr = getDataConfig("hemodialysis", "lapse");
1176 1290
     this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
1177 1291
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1178 1292
 

+ 3 - 3
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue View File

@@ -8,8 +8,8 @@
8 8
     <div class="app-container ">
9 9
       <div id="dialysis-print-box">
10 10
         <div class="dialysis-print-order">
11
-         <div class="order-yy-name">{{orgName}}</div>
12
-          <div class="order-title">药品出库登记表</div>
11
+         <div class="order-yy-name" style="font-weight:bold;">{{orgName}}</div>
12
+          <div class="order-title" style="font-weight:none;">药品出库登记表</div>
13 13
 
14 14
           <div style="float: right;margin-bottom: 1px;">{{getDateTwo()}}</div>
15 15
 
@@ -148,7 +148,7 @@
148 148
       printThisPage() {
149 149
         var ptime = Math.round(new Date().getTime() / 1000);
150 150
         this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
151
-        const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
151
+        const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px;font-weight:bold;}.dialysis-print-order .order-title{margin:auto;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
152 152
         printJS({
153 153
           printable: 'dialysis-print-box',
154 154
           type: 'html',