|
@@ -81,7 +81,8 @@
|
81
|
81
|
<!--</div>-->
|
82
|
82
|
<div class="inline_block" style="margin-left:20px;">
|
83
|
83
|
其它:
|
84
|
|
- <div class="under_line" style="width: 100px;text-align: left">{{ record.prescription&&record.prescription.mode_id>5?record.prescription.mode:''}}
|
|
84
|
+ <div class="under_line" style="width: 100px;text-align: left">{{
|
|
85
|
+ record.prescription&&record.prescription.mode_id>5?record.prescription.mode:''}}
|
85
|
86
|
</div>
|
86
|
87
|
</div>
|
87
|
88
|
<div class="inline_block" style="margin-left:20px;">
|
|
@@ -127,9 +128,12 @@
|
127
|
128
|
<div class="inline_block">
|
128
|
129
|
体液过多症状:
|
129
|
130
|
<check-box text="无" :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 1)"></check-box>
|
130
|
|
- <check-box text="下肢水肿+" :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 2)"></check-box>
|
131
|
|
- <check-box text="下肢水肿++" :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 4)"></check-box>
|
132
|
|
- <check-box text="下肢水肿+++" :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 4)"></check-box>
|
|
131
|
+ <check-box text="下肢水肿+"
|
|
132
|
+ :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 2)"></check-box>
|
|
133
|
+ <check-box text="下肢水肿++"
|
|
134
|
+ :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 4)"></check-box>
|
|
135
|
+ <check-box text="下肢水肿+++"
|
|
136
|
+ :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 4)"></check-box>
|
133
|
137
|
</div>
|
134
|
138
|
<div class="inline_block">
|
135
|
139
|
其它:
|
|
@@ -148,9 +152,12 @@
|
148
|
152
|
|
149
|
153
|
<div class="inline_block" style="margin-left:20px;">
|
150
|
154
|
透析前使用特殊药物:
|
151
|
|
- <check-box text="无" :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 1)"></check-box>
|
152
|
|
- <check-box text="降压药" :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 2)"></check-box>
|
153
|
|
- <check-box text="抗凝" :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 3)"></check-box>
|
|
155
|
+ <check-box text="无"
|
|
156
|
+ :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 1)"></check-box>
|
|
157
|
+ <check-box text="降压药"
|
|
158
|
+ :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 2)"></check-box>
|
|
159
|
+ <check-box text="抗凝"
|
|
160
|
+ :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 3)"></check-box>
|
154
|
161
|
</div>
|
155
|
162
|
<div class="inline_block">
|
156
|
163
|
其它:
|
|
@@ -163,7 +170,8 @@
|
163
|
170
|
<div class="inline_block">
|
164
|
171
|
透析液(mmol/L):
|
165
|
172
|
 Ca<sup>2+</sup>:
|
166
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.calcium">
|
|
173
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
174
|
+ v-if="record.prescription&&record.prescription.calcium">
|
167
|
175
|
{{getFloat(record.prescription.calcium)}}
|
168
|
176
|
</div>
|
169
|
177
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -171,7 +179,8 @@
|
171
|
179
|
</div>
|
172
|
180
|
mmol/L
|
173
|
181
|
 Na<sup>+</sup>:
|
174
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.sodium">
|
|
182
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
183
|
+ v-if="record.prescription&&record.prescription.sodium">
|
175
|
184
|
{{getFloat(record.prescription.sodium)}}
|
176
|
185
|
</div>
|
177
|
186
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -179,7 +188,8 @@
|
179
|
188
|
</div>
|
180
|
189
|
mmol/L
|
181
|
190
|
 K<sup>+</sup>:
|
182
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.kalium">
|
|
191
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
192
|
+ v-if="record.prescription&&record.prescription.kalium">
|
183
|
193
|
{{getFloat(record.prescription.kalium)}}
|
184
|
194
|
</div>
|
185
|
195
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -191,7 +201,7 @@
|
191
|
201
|
v-if="record.prescription == null">
|
192
|
202
|
 置换液后/前稀释 总量:
|
193
|
203
|
|
194
|
|
- <div class="under_line" style="width: 60px;" >
|
|
204
|
+ <div class="under_line" style="width: 60px;">
|
195
|
205
|
{{'/'}}
|
196
|
206
|
</div>
|
197
|
207
|
L
|
|
@@ -199,17 +209,20 @@
|
199
|
209
|
<div class="inline_block"
|
200
|
210
|
v-if="record.prescription != null &&record.prescription.displace_liqui_part == 0">
|
201
|
211
|
 置换液后/前稀释 总量:
|
202
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.displace_liqui_value">
|
|
212
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
213
|
+ v-if="record.prescription&&record.prescription.displace_liqui_value">
|
203
|
214
|
{{record.prescription.displace_liqui_value}}
|
204
|
215
|
</div>
|
205
|
|
- <div class="under_line" style="width: 60px;" v-else>
|
|
216
|
+ <div class="under_line" style="width: 60px;" v-else>
|
206
|
217
|
{{'/'}}
|
207
|
218
|
</div>
|
208
|
219
|
L
|
209
|
220
|
</div>
|
210
|
|
- <div class="inline_block" v-if="record.prescription != null &&record.prescription.displace_liqui_part == 1">
|
|
221
|
+ <div class="inline_block"
|
|
222
|
+ v-if="record.prescription != null &&record.prescription.displace_liqui_part == 1">
|
211
|
223
|
 置换液前稀释 总量:
|
212
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.displace_liqui_value">
|
|
224
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
225
|
+ v-if="record.prescription&&record.prescription.displace_liqui_value">
|
213
|
226
|
{{record.prescription.displace_liqui_value}}
|
214
|
227
|
</div>
|
215
|
228
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -217,9 +230,11 @@
|
217
|
230
|
</div>
|
218
|
231
|
L
|
219
|
232
|
</div>
|
220
|
|
- <div class="inline_block" v-if="record.prescription != null &&record.prescription.displace_liqui_part == 2">
|
|
233
|
+ <div class="inline_block"
|
|
234
|
+ v-if="record.prescription != null &&record.prescription.displace_liqui_part == 2">
|
221
|
235
|
 置换液后稀释 总量:
|
222
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.displace_liqui_value">
|
|
236
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
237
|
+ v-if="record.prescription&&record.prescription.displace_liqui_value">
|
223
|
238
|
{{record.prescription.displace_liqui_value}}
|
224
|
239
|
</div>
|
225
|
240
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -231,9 +246,12 @@
|
231
|
246
|
<div class="row" style="padding: 2px 0;line-height:24px;">
|
232
|
247
|
<div class="inline_block">
|
233
|
248
|
血管通路:
|
234
|
|
- <check-box text="内瘘" :checked="isCheckBoxChecked(record.prescription, 'blood_access', 1)"></check-box>
|
235
|
|
- <check-box text="直穿" :checked="isCheckBoxChecked(record.prescription, 'blood_access', 2)"></check-box>
|
236
|
|
- <check-box text="导管" :checked="isCheckBoxChecked(record.prescription, 'blood_access', 3)"></check-box>
|
|
249
|
+ <check-box text="内瘘"
|
|
250
|
+ :checked="isCheckBoxChecked(record.prescription, 'blood_access', 1)"></check-box>
|
|
251
|
+ <check-box text="直穿"
|
|
252
|
+ :checked="isCheckBoxChecked(record.prescription, 'blood_access', 2)"></check-box>
|
|
253
|
+ <check-box text="导管"
|
|
254
|
+ :checked="isCheckBoxChecked(record.prescription, 'blood_access', 3)"></check-box>
|
237
|
255
|
</div>
|
238
|
256
|
<div class="inline_block">
|
239
|
257
|
 血流量:
|
|
@@ -259,7 +277,8 @@
|
259
|
277
|
<div class="row" style="padding: 2px 0;line-height:24px;">
|
260
|
278
|
<div class="inline_block">
|
261
|
279
|
透前体重:
|
262
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.assessment_before_dislysis">
|
|
280
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
281
|
+ v-if="record.assessment_before_dislysis">
|
263
|
282
|
{{record.assessment_before_dislysis.weight_before}}
|
264
|
283
|
</div>
|
265
|
284
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -269,7 +288,8 @@
|
269
|
288
|
</div>
|
270
|
289
|
<div class="inline_block">
|
271
|
290
|
 设定超滤量:
|
272
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription&&record.prescription.target_ultrafiltration">
|
|
291
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
292
|
+ v-if="record.prescription&&record.prescription.target_ultrafiltration">
|
273
|
293
|
{{getFloat(record.prescription.target_ultrafiltration)}}
|
274
|
294
|
</div>
|
275
|
295
|
<div class="under_line" style="width: 60px;" v-else>
|
|
@@ -279,7 +299,8 @@
|
279
|
299
|
</div>
|
280
|
300
|
<div class="inline_block">
|
281
|
301
|
 实际超滤量:
|
282
|
|
- <div class="under_line" style="width:60px;text-align: left" v-if="record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration">
|
|
302
|
+ <div class="under_line" style="width:60px;text-align: left"
|
|
303
|
+ v-if="record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration">
|
283
|
304
|
{{getFloat(record.assessment_after_dislysis.actual_ultrafiltration)}}
|
284
|
305
|
</div>
|
285
|
306
|
<div class="under_line" style="width:60px;" v-else>
|
|
@@ -289,7 +310,8 @@
|
289
|
310
|
</div>
|
290
|
311
|
<div class="inline_block">
|
291
|
312
|
透后体重:
|
292
|
|
- <div class="under_line" style="width: 60px;text-align: left" v-if="record.assessment_after_dislysis&&record.assessment_after_dislysis.weight_after">
|
|
313
|
+ <div class="under_line" style="width: 60px;text-align: left"
|
|
314
|
+ v-if="record.assessment_after_dislysis&&record.assessment_after_dislysis.weight_after">
|
293
|
315
|
{{record.assessment_after_dislysis.weight_after}}
|
294
|
316
|
</div>
|
295
|
317
|
<div class="under_line" style="width: 60px" v-else>
|
|
@@ -302,61 +324,68 @@
|
302
|
324
|
</tr>
|
303
|
325
|
</tbody>
|
304
|
326
|
</table>
|
305
|
|
- <div :style="record.advices2&&record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;position: relative;border-top:0;':'border-top:0;text-align:center;position: relative;border-top:0;'">
|
|
327
|
+ <div
|
|
328
|
+ :style="record.advices2&&record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;position: relative;border-top:0;':'border-top:0;text-align:center;position: relative;border-top:0;'">
|
306
|
329
|
<table class="print-table-no" border="1" style="border-top:0;" count="0">
|
307
|
330
|
<tbody>
|
308
|
|
- <tr style="line-height:35px;padding:8px 5px;">
|
309
|
|
- <td colspan="7" style="font-size: 18px">医嘱</td>
|
310
|
|
- </tr>
|
311
|
|
- <tr style="line-height:35px;padding:8px 5px;">
|
312
|
|
- <td colspan="4" style="font-size: 16px">开医嘱</td>
|
313
|
|
- <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
|
314
|
|
- </tr>
|
315
|
|
- <tr style="line-height:35px;padding:8px 5px;">
|
316
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
317
|
|
- <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
|
318
|
|
- <td style="font-size: 16px" width="10%">医生签名</td>
|
319
|
|
- <td style="font-size: 16px" width="10%">核对人签名</td>
|
320
|
|
- <td style="font-size: 16px" width="10%">执行人签名</td>
|
321
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
|
331
|
+ <tr style="line-height:35px;padding:8px 5px;">
|
|
332
|
+ <td colspan="7" style="font-size: 18px">医嘱</td>
|
|
333
|
+ </tr>
|
|
334
|
+ <tr style="line-height:35px;padding:8px 5px;">
|
|
335
|
+ <td colspan="4" style="font-size: 16px">开医嘱</td>
|
|
336
|
+ <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
|
|
337
|
+ </tr>
|
|
338
|
+ <tr style="line-height:35px;padding:8px 5px;">
|
|
339
|
+ <td style="font-size: 16px" width="10%">时间</td>
|
|
340
|
+ <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
|
|
341
|
+ <td style="font-size: 16px" width="10%">医生签名</td>
|
|
342
|
+ <td style="font-size: 16px" width="10%">核对人签名</td>
|
|
343
|
+ <td style="font-size: 16px" width="10%">执行人签名</td>
|
|
344
|
+ <td style="font-size: 16px" width="10%">时间</td>
|
|
345
|
+ </tr>
|
|
346
|
+ <template v-for="(group, group_index) in record.advices">
|
|
347
|
+ <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
|
|
348
|
+ <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
|
|
349
|
+ <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
|
|
350
|
+ <span v-else> <br/> </span>
|
|
351
|
+ </td>
|
|
352
|
+ <td height="60px" class="advice-name" style="padding-left:7px;"
|
|
353
|
+ :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2"
|
|
354
|
+ v-if="advice.isShow == 2">
|
|
355
|
+ <span>{{advice.advice_name }}</span>
|
|
356
|
+ <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
|
|
357
|
+ <!--<span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
|
|
358
|
+ <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
|
|
359
|
+ <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
|
|
360
|
+ <span v-if="advice.parent_id == 0 &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
|
|
361
|
+ <span v-if="advice.parent_id == 0 &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
|
|
362
|
+ <span
|
|
363
|
+ v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0">({{advice.remark}})</span>
|
|
364
|
+ </td>
|
|
365
|
+ <td colspan="2" height="60px" style="text-align: center" v-else>
|
|
366
|
+ <span>{{advice.delivery_way}}</span>
|
|
367
|
+ <span>{{advice.execution_frequency}}</span>
|
|
368
|
+ <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
|
|
369
|
+ </td>
|
|
370
|
+ <td width="10%"
|
|
371
|
+ v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2"></td>
|
|
372
|
+ <td height="60px">
|
|
373
|
+ <span
|
|
374
|
+ v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
|
|
375
|
+ <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else>
|
|
376
|
+ </td>
|
|
377
|
+ <td height="60px">
|
|
378
|
+ <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
|
|
379
|
+ <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else>
|
|
380
|
+ </td>
|
|
381
|
+ <td height="60px">
|
|
382
|
+ <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
|
|
383
|
+ <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else>
|
|
384
|
+ </td>
|
|
385
|
+ <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span>
|
|
386
|
+ </td>
|
322
|
387
|
</tr>
|
323
|
|
- <template v-for="(group, group_index) in record.advices">
|
324
|
|
- <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
|
325
|
|
- <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
|
326
|
|
- <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
|
327
|
|
- <span v-else> <br/> </span>
|
328
|
|
- </td>
|
329
|
|
- <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
|
330
|
|
- <span>{{advice.advice_name }}</span>
|
331
|
|
- <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
|
332
|
|
- <!--<span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
|
333
|
|
- <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
|
334
|
|
- <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
|
335
|
|
- <span v-if="advice.parent_id == 0 &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
|
336
|
|
- <span v-if="advice.parent_id == 0 &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
|
337
|
|
- <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
|
338
|
|
- </td>
|
339
|
|
- <td colspan="2" height="60px" style="text-align: center" v-else >
|
340
|
|
- <span>{{advice.delivery_way}}</span>
|
341
|
|
- <span>{{advice.execution_frequency}}</span>
|
342
|
|
- <span v-if="advice.remark.length > 0" >({{advice.remark}})</span>
|
343
|
|
- </td>
|
344
|
|
- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
|
345
|
|
- <td height="60px">
|
346
|
|
- <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
|
347
|
|
- <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else >
|
348
|
|
- </td>
|
349
|
|
- <td height="60px">
|
350
|
|
- <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
|
351
|
|
- <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else >
|
352
|
|
- </td>
|
353
|
|
- <td height="60px">
|
354
|
|
- <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
|
355
|
|
- <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else >
|
356
|
|
- </td>
|
357
|
|
- <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span> </td>
|
358
|
|
- </tr>
|
359
|
|
- </template>
|
|
388
|
+ </template>
|
360
|
389
|
</tbody>
|
361
|
390
|
</table>
|
362
|
391
|
<div class="print-yema4">1</div>
|
|
@@ -407,58 +436,63 @@
|
407
|
436
|
</div>
|
408
|
437
|
<table class="print-table-no" border="1" count="0">
|
409
|
438
|
<tbody>
|
410
|
|
- <tr style="line-height:35px;padding:8px 5px;">
|
411
|
|
- <td colspan="7" style="font-size: 18px">医嘱</td>
|
412
|
|
- </tr>
|
413
|
|
- <tr style="line-height:35px;padding:8px 5px;">
|
414
|
|
- <td colspan="4" style="font-size: 16px">开医嘱</td>
|
415
|
|
- <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
|
416
|
|
- </tr>
|
417
|
|
- <tr style="line-height:35px;padding:8px 5px;">
|
418
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
419
|
|
- <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
|
420
|
|
- <td style="font-size: 16px" width="10%">医生签名</td>
|
421
|
|
- <td style="font-size: 16px" width="10%">核对人签名</td>
|
422
|
|
- <td style="font-size: 16px" width="10%">执行人签名</td>
|
423
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
|
439
|
+ <tr style="line-height:35px;padding:8px 5px;">
|
|
440
|
+ <td colspan="7" style="font-size: 18px">医嘱</td>
|
|
441
|
+ </tr>
|
|
442
|
+ <tr style="line-height:35px;padding:8px 5px;">
|
|
443
|
+ <td colspan="4" style="font-size: 16px">开医嘱</td>
|
|
444
|
+ <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
|
|
445
|
+ </tr>
|
|
446
|
+ <tr style="line-height:35px;padding:8px 5px;">
|
|
447
|
+ <td style="font-size: 16px" width="10%">时间</td>
|
|
448
|
+ <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
|
|
449
|
+ <td style="font-size: 16px" width="10%">医生签名</td>
|
|
450
|
+ <td style="font-size: 16px" width="10%">核对人签名</td>
|
|
451
|
+ <td style="font-size: 16px" width="10%">执行人签名</td>
|
|
452
|
+ <td style="font-size: 16px" width="10%">时间</td>
|
|
453
|
+ </tr>
|
|
454
|
+ <template v-for="(group, group_index) in record.advices2">
|
|
455
|
+ <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
|
|
456
|
+ <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
|
|
457
|
+ <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
|
|
458
|
+ <span v-else> <br/> </span>
|
|
459
|
+ </td>
|
|
460
|
+ <td height="60px" class="advice-name" style="padding-left:7px;"
|
|
461
|
+ :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2"
|
|
462
|
+ v-if="advice.isShow == 2">
|
|
463
|
+ <span>{{advice.advice_name }}</span>
|
|
464
|
+ <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
|
|
465
|
+ <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
|
|
466
|
+ <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
|
|
467
|
+ <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
|
|
468
|
+ <span v-if="advice.parent_id == 0 &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
|
|
469
|
+ <span v-if="advice.parent_id == 0 &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
|
|
470
|
+ <span
|
|
471
|
+ v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0">({{advice.remark}})</span>
|
|
472
|
+ </td>
|
|
473
|
+ <td colspan="2" height="60px" style="text-align: center" v-else>
|
|
474
|
+ <span>{{advice.delivery_way}}</span>
|
|
475
|
+ <span>{{advice.execution_frequency}}</span>
|
|
476
|
+ <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
|
|
477
|
+ </td>
|
|
478
|
+ <td width="10%"
|
|
479
|
+ v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2"></td>
|
|
480
|
+ <td height="60px">
|
|
481
|
+ <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
|
|
482
|
+ <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else>
|
|
483
|
+ </td>
|
|
484
|
+ <td height="60px">
|
|
485
|
+ <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
|
|
486
|
+ <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else>
|
|
487
|
+ </td>
|
|
488
|
+ <td height="60px">
|
|
489
|
+ <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
|
|
490
|
+ <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else>
|
|
491
|
+ </td>
|
|
492
|
+ <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span>
|
|
493
|
+ </td>
|
424
|
494
|
</tr>
|
425
|
|
- <template v-for="(group, group_index) in record.advices2">
|
426
|
|
- <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
|
427
|
|
- <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
|
428
|
|
- <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
|
429
|
|
- <span v-else> <br/> </span>
|
430
|
|
- </td>
|
431
|
|
- <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
|
432
|
|
- <span>{{advice.advice_name }}</span>
|
433
|
|
- <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
|
434
|
|
- <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
|
435
|
|
- <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
|
436
|
|
- <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
|
437
|
|
- <span v-if="advice.parent_id == 0 &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
|
438
|
|
- <span v-if="advice.parent_id == 0 &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
|
439
|
|
- <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
|
440
|
|
- </td>
|
441
|
|
- <td colspan="2" height="60px" style="text-align: center" v-else >
|
442
|
|
- <span>{{advice.delivery_way}}</span>
|
443
|
|
- <span>{{advice.execution_frequency}}</span>
|
444
|
|
- <span v-if="advice.remark.length > 0" >({{advice.remark}})</span>
|
445
|
|
- </td>
|
446
|
|
- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
|
447
|
|
- <td height="60px">
|
448
|
|
- <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
|
449
|
|
- <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else >
|
450
|
|
- </td>
|
451
|
|
- <td height="60px">
|
452
|
|
- <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
|
453
|
|
- <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else >
|
454
|
|
- </td>
|
455
|
|
- <td height="60px">
|
456
|
|
- <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
|
457
|
|
- <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else >
|
458
|
|
- </td>
|
459
|
|
- <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span> </td>
|
460
|
|
- </tr>
|
461
|
|
- </template>
|
|
495
|
+ </template>
|
462
|
496
|
</tbody>
|
463
|
497
|
</table>
|
464
|
498
|
<div class="print-yema5">2</div>
|
|
@@ -476,7 +510,7 @@
|
476
|
510
|
import { jsGetAge, uParseTime } from '@/utils/tools'
|
477
|
511
|
import { getDataConfig } from '@/utils/data'
|
478
|
512
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
479
|
|
- import print from 'print-js'
|
|
513
|
+
|
480
|
514
|
export default {
|
481
|
515
|
name: 'BatchPrintOrder',
|
482
|
516
|
components: {
|
|
@@ -532,7 +566,6 @@
|
532
|
566
|
this.intake_arr = getDataConfig('hemodialysis', 'intake')
|
533
|
567
|
this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
|
534
|
568
|
|
535
|
|
-
|
536
|
569
|
var xtuser = this.$store.getters.xt_user
|
537
|
570
|
this.orgname = xtuser.org.org_name
|
538
|
571
|
// this.orgname = "遂溪方济医院";
|
|
@@ -696,8 +729,8 @@
|
696
|
729
|
if (advice.parent_id > 0) {
|
697
|
730
|
if (this.advice_groups.length > 0) {
|
698
|
731
|
var parent_group = this.advice_groups[
|
699
|
|
- this.advice_groups.length - 1
|
700
|
|
- ]
|
|
732
|
+ this.advice_groups.length - 1
|
|
733
|
+ ]
|
701
|
734
|
if (parent_group.advices.length > 0) {
|
702
|
735
|
if (parent_group.advices[0].id == advice.parent_id) {
|
703
|
736
|
parent_group.advices.push(advice)
|
|
@@ -743,8 +776,8 @@
|
743
|
776
|
if (advice.parent_id > 0) {
|
744
|
777
|
if (this.advice_groups_2.length > 0) {
|
745
|
778
|
var parent_group = this.advice_groups_2[
|
746
|
|
- this.advice_groups_2.length - 1
|
747
|
|
- ]
|
|
779
|
+ this.advice_groups_2.length - 1
|
|
780
|
+ ]
|
748
|
781
|
if (parent_group.advices.length > 0) {
|
749
|
782
|
if (parent_group.advices[0].id == advice.parent_id) {
|
750
|
783
|
parent_group.advices.push(advice)
|
|
@@ -949,13 +982,11 @@
|
949
|
982
|
return record[key] == target_value
|
950
|
983
|
}
|
951
|
984
|
}, getAge: function(val) {
|
952
|
|
- if (val.age == 0) {
|
953
|
|
- if (val.birthday == 0) {
|
954
|
|
- return ''
|
955
|
|
- }
|
956
|
|
- return jsGetAge(uParseTime(val.birthday, '{y}-{m}-{d}'), '-')
|
|
985
|
+ val.birth = uParseTime(val.birthday, '{y}-{m}-{d}')
|
|
986
|
+ if (val.birthday != 0) {
|
|
987
|
+ return jsGetAge(val.birth, '-')
|
957
|
988
|
} else {
|
958
|
|
- return val.age
|
|
989
|
+ return ''
|
959
|
990
|
}
|
960
|
991
|
}, newAdviceGroupObject: function() {
|
961
|
992
|
return Object.assign(
|
|
@@ -1104,34 +1135,49 @@
|
1104
|
1135
|
.advice-children {
|
1105
|
1136
|
display: flex;
|
1106
|
1137
|
}
|
1107
|
|
- .margin-bottom-300 {
|
1108
|
|
- margin-bottom:450px;
|
|
1138
|
+
|
|
1139
|
+ .margin-bottom-300 {
|
|
1140
|
+ margin-bottom: 450px;
|
1109
|
1141
|
}
|
|
1142
|
+
|
1110
|
1143
|
.margin-bottom-600 {
|
1111
|
|
- margin-bottom:600px;
|
|
1144
|
+ margin-bottom: 600px;
|
1112
|
1145
|
}
|
|
1146
|
+
|
1113
|
1147
|
.margin-bottom-900 {
|
1114
|
|
- margin-bottom:900px;
|
|
1148
|
+ margin-bottom: 900px;
|
1115
|
1149
|
}
|
1116
|
|
- .print-yema{
|
|
1150
|
+
|
|
1151
|
+ .print-yema {
|
1117
|
1152
|
position: absolute;
|
1118
|
1153
|
left: 50%;
|
1119
|
1154
|
}
|
1120
|
|
- .print-yema2{
|
|
1155
|
+
|
|
1156
|
+ .print-yema2 {
|
1121
|
1157
|
position: absolute;
|
1122
|
1158
|
left: 50%;
|
1123
|
1159
|
}
|
1124
|
|
- .print-yema3{
|
|
1160
|
+
|
|
1161
|
+ .print-yema3 {
|
1125
|
1162
|
position: absolute;
|
1126
|
1163
|
left: 50%;
|
1127
|
1164
|
}
|
1128
|
|
- .print-yema4{
|
|
1165
|
+
|
|
1166
|
+ .print-yema4 {
|
1129
|
1167
|
position: absolute;
|
1130
|
1168
|
left: 50%;
|
1131
|
1169
|
}
|
1132
|
|
- .print-yema5{
|
|
1170
|
+
|
|
1171
|
+ .print-yema5 {
|
1133
|
1172
|
position: absolute;
|
1134
|
1173
|
left: 50%;
|
1135
|
1174
|
}
|
1136
|
|
- .did_checke::after {content: "\221A";font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}
|
|
1175
|
+
|
|
1176
|
+ .did_checke::after {
|
|
1177
|
+ content: "\221A";
|
|
1178
|
+ font-size: 8px;
|
|
1179
|
+ margin-left: 2px;
|
|
1180
|
+ margin-top: 2px;
|
|
1181
|
+ position: absolute;
|
|
1182
|
+ }
|
1137
|
1183
|
</style>
|