|
@@ -20,7 +20,7 @@
|
20
|
20
|
<div style="font-size: 14px;font-weight: normal;text-align: right;"
|
21
|
21
|
v-if="prescriptions[index].med_type == '1112'">(精二)
|
22
|
22
|
</div>
|
23
|
|
- <span>{{ orgname }}处方笺11111</span>
|
|
23
|
+ <span>{{ orgname }}处方笺</span>
|
24
|
24
|
</div>
|
25
|
25
|
<!-- 非精神处方 -->
|
26
|
26
|
<div style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
|
|
@@ -30,7 +30,7 @@
|
30
|
30
|
NO:
|
31
|
31
|
</div>
|
32
|
32
|
<div style="flex: 1;">
|
33
|
|
- 开方时间:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
|
|
33
|
+ 开方日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
|
34
|
34
|
</div>
|
35
|
35
|
</div>
|
36
|
36
|
<div style="display: flex;line-height: 24px;padding: 0 10px;">
|
|
@@ -58,7 +58,7 @@
|
58
|
58
|
过敏史:
|
59
|
59
|
</div>
|
60
|
60
|
</div>
|
61
|
|
- <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址:{{ item.patient.home_address }}</div>
|
|
61
|
+ <div style="flex: 2;margin: 10px 0;">住址/电话:{{ item.patient.home_address }} <span>{{ item.patient.phone }}</span></div>
|
62
|
62
|
</div>
|
63
|
63
|
<!-- 精二 -->
|
64
|
64
|
<div style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
|
|
@@ -136,7 +136,7 @@
|
136
|
136
|
过敏史:
|
137
|
137
|
</div>
|
138
|
138
|
</div>
|
139
|
|
- <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址:{{ item.patient.home_address }}</div>
|
|
139
|
+ <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址/电话:{{ item.patient.home_address }} <span>{{ item.patient.phone }}</span></div>
|
140
|
140
|
</div>
|
141
|
141
|
<!-- 精二 -->
|
142
|
142
|
<div style="margin: 20px 0px;border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
|
|
@@ -199,11 +199,6 @@
|
199
|
199
|
<div style="margin-left: 70px" >
|
200
|
200
|
<template>
|
201
|
201
|
用法:
|
202
|
|
- <!-- <div style="display: inline-block;">
|
203
|
|
- <template>
|
204
|
|
- <span style="margin-right: 0;" v-if="it.arr[0].length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
|
205
|
|
- </template>
|
206
|
|
- </div> -->
|
207
|
202
|
<span>
|
208
|
203
|
{{ it.execution_frequency }} {{
|
209
|
204
|
it.delivery_way
|
|
@@ -225,10 +220,6 @@
|
225
|
220
|
</div>
|
226
|
221
|
<!-- </div> -->
|
227
|
222
|
<template>
|
228
|
|
- <!-- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="(item.arr.length>0&&ite[0].groupno!=it.groupno) ||item.arr.length==0">
|
229
|
|
- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
230
|
|
- </div> -->
|
231
|
|
-
|
232
|
223
|
<div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" >
|
233
|
224
|
共{{ it.single_dose }}{{ it.single_dose_unit }}
|
234
|
225
|
</div>
|
|
@@ -278,84 +269,12 @@
|
278
|
269
|
<div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
279
|
270
|
× {{ it.prescribing_number}}
|
280
|
271
|
</div>
|
281
|
|
- <!-- <div> -->
|
282
|
|
- <!-- <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
|
283
|
|
- × {{ it.arr[0].prescribing_number}}
|
284
|
|
- </div> -->
|
285
|
|
- <!-- </div> -->
|
286
|
272
|
<template>
|
287
|
273
|
<div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;">
|
288
|
274
|
共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
289
|
275
|
</div>
|
290
|
|
-
|
291
|
|
- <!-- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" >
|
292
|
|
- 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
293
|
|
- </div> -->
|
294
|
276
|
</template>
|
295
|
277
|
</div>
|
296
|
|
-
|
297
|
|
- <!-------------------------------------------------------------------------->
|
298
|
|
- <!-- <template>
|
299
|
|
- <div v-for="(ite,indexs) in item.arr" :key="indexs">
|
300
|
|
- <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
|
301
|
|
- <span style="font-weight: bold" >
|
302
|
|
- {{ index + 1 + "."}}
|
303
|
|
- </span>
|
304
|
|
- {{ it.advice_name ? it.advice_name : "" }}
|
305
|
|
- <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
306
|
|
- {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
307
|
|
- {{it.drug.max_unit}}
|
308
|
|
- </span>
|
309
|
|
- <div >
|
310
|
|
- <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
311
|
|
- <div >
|
312
|
|
- <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>
|
313
|
|
- <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
|
314
|
|
- {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }} * {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
|
315
|
|
- {{ite[0].drug.max_unit}}
|
316
|
|
- </span>
|
317
|
|
- </div>
|
318
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
319
|
|
- 共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
|
320
|
|
- </div>
|
321
|
|
- </template>
|
322
|
|
- </div>
|
323
|
|
- <div style="margin-left: 70px">
|
324
|
|
- 用法:
|
325
|
|
- <span v-if="(item.arr.length>0 && item.arr[0][0].groupno!=it.groupno)||item.arr.length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
|
326
|
|
- <span>
|
327
|
|
- {{ it.execution_frequency }} {{
|
328
|
|
- it.delivery_way
|
329
|
|
- }} </span> <span>{{ it.advice_desc}}</span>
|
330
|
|
- </div>
|
331
|
|
- <div style="margin-left: 70px" v-if="it.remark !=''">
|
332
|
|
- 备注:<span > {{ it.remark }}</span>
|
333
|
|
- </div>
|
334
|
|
- </div>
|
335
|
|
- <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
336
|
|
- × {{ it.prescribing_number}}
|
337
|
|
- </div>
|
338
|
|
- <div >
|
339
|
|
- <template v-if="item.arr.length>0&&ite[0].groupno==it.groupno">
|
340
|
|
- <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
|
341
|
|
- × {{ ite[0].prescribing_number}}
|
342
|
|
- </div>
|
343
|
|
- </template>
|
344
|
|
- </div>
|
345
|
|
- <template>
|
346
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
|
347
|
|
- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
348
|
|
- </div>
|
349
|
|
-
|
350
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
|
351
|
|
- 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
352
|
|
- </div>
|
353
|
|
-
|
354
|
|
- </template>
|
355
|
|
- </div>
|
356
|
|
-
|
357
|
|
- </template> -->
|
358
|
|
-
|
359
|
278
|
</div>
|
360
|
279
|
<template v-if="index==yi&&item.advices.length>5">
|
361
|
280
|
<div style="margin: 20px 0px;"
|
|
@@ -447,8 +366,13 @@
|
447
|
366
|
</div>
|
448
|
367
|
</div>
|
449
|
368
|
<div style="text-align: center">(以下空白)</div>
|
|
369
|
+ <div style="text-align: center;">/</div>
|
|
370
|
+ <div style="text-align: center;">/</div>
|
|
371
|
+ <div style="text-align: center;">/</div>
|
|
372
|
+ </div>
|
|
373
|
+ <div style="margin-left: 70px">
|
|
374
|
+ 备注:<span style="border-bottom: 1px solid black;"></span>
|
450
|
375
|
</div>
|
451
|
|
-
|
452
|
376
|
<div v-if="prescriptions[index].med_type != '1111' && prescriptions[index].med_type != '1112'">
|
453
|
377
|
<div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
|
454
|
378
|
<div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
|
|
@@ -602,7 +526,7 @@ export default{
|
602
|
526
|
},
|
603
|
527
|
getTime(value, temp) {
|
604
|
528
|
if (value != undefined) {
|
605
|
|
- return uParseTime(value, '{y}年{m}月{d}日')
|
|
529
|
+ return uParseTime(value, '{y}年{m}月{d}日 {h}:{i}:{s}')
|
606
|
530
|
}
|
607
|
531
|
return "";
|
608
|
532
|
},
|
|
@@ -886,8 +810,9 @@ export default{
|
886
|
810
|
}
|
887
|
811
|
.prescriptionBox {
|
888
|
812
|
padding: 0 10px;
|
889
|
|
- min-height: 450px;
|
|
813
|
+ max-height: 450px;
|
890
|
814
|
}
|
|
815
|
+
|
891
|
816
|
.Rp {
|
892
|
817
|
font-size: 22px;
|
893
|
818
|
font-weight: bold;
|