|
@@ -58,11 +58,11 @@
|
58
|
58
|
<div
|
59
|
59
|
class="drugsBox"
|
60
|
60
|
v-for="(it, index) in advicess" :key="index"
|
61
|
|
- :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
|
|
61
|
+ :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"
|
62
|
62
|
>
|
63
|
63
|
<!-- class="drugsBox" item.advices.length>=5 ? 'danzhang' : 'drugsBox' :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
|
64
|
64
|
<!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}} {{it.single_dose}}{{it.single_dose_unit}} × {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
|
65
|
|
- <template v-if="index==yi+1&&item.advices.length>5">
|
|
65
|
+ <template v-if="index==yi+1&&item.advices.length>3">
|
66
|
66
|
<div style="margin: 20px 0px;">
|
67
|
67
|
<div class="infoTitle">
|
68
|
68
|
<p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
|
|
@@ -107,9 +107,9 @@
|
107
|
107
|
{{it.drug.max_unit}}
|
108
|
108
|
</span>
|
109
|
109
|
<div>
|
110
|
|
- <template v-if="arr[0][0].groupno==it.groupno">
|
|
110
|
+ <template v-if="arr.length>0 && arr[0][0].groupno==it.groupno">
|
111
|
111
|
<div >
|
112
|
|
- <!-- v-for="(its,indexs) in arr" :key="indexs"-->
|
|
112
|
+ <!-- v-for="(its,indexs) in arr" :key="indexs" -->
|
113
|
113
|
<span style="margin-left: 38px;">{{arr[0][0].advice_name ? arr[0][0].advice_name : ""}}</span>
|
114
|
114
|
<span v-if="arr[0][0].drug.min_unit != arr[0][0].drug.dose_unit">
|
115
|
115
|
{{ arr[0][0].drug.dose }}{{ arr[0][0].drug.dose_unit }} * {{ arr[0][0].drug.min_number }}{{ arr[0][0].drug.min_unit }}/
|
|
@@ -132,7 +132,7 @@
|
132
|
132
|
× {{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
133
|
133
|
</div>
|
134
|
134
|
</div>
|
135
|
|
- <template v-if="index==yi&&item.advices.length>5">
|
|
135
|
+ <template v-if="index==yi&&item.advices.length>3">
|
136
|
136
|
<div style="margin: 20px 0px;">
|
137
|
137
|
<div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
|
138
|
138
|
<p v-if="org_id == 10217 || org_id == 0">
|
|
@@ -343,7 +343,7 @@ export default{
|
343
|
343
|
doc_name:"",
|
344
|
344
|
doctorList: [],
|
345
|
345
|
advicePrint: {},
|
346
|
|
- yi:4,
|
|
346
|
+ yi:2,
|
347
|
347
|
arr:[],
|
348
|
348
|
arrs:{},
|
349
|
349
|
advicess:[],
|