|
@@ -62,8 +62,6 @@
|
62
|
62
|
v-for="(it, index) in item.advices" :key="index"
|
63
|
63
|
:style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
|
64
|
64
|
>
|
65
|
|
- <!-- class="drugsBox" item.advices.length>=5 ? 'danzhang' : 'drugsBox' :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
|
66
|
|
- <!-- <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> -->
|
67
|
65
|
<template v-if="index==yi+1&&item.advices.length>5">
|
68
|
66
|
<div style="margin: 20px 0px;">
|
69
|
67
|
<div class="infoTitle">
|
|
@@ -101,7 +99,8 @@
|
101
|
99
|
</div>
|
102
|
100
|
</template>
|
103
|
101
|
<div style="position: relative;">
|
104
|
|
- <div class="drugsOne" :style="{'border-right':item.arr.length>0 && item.arr[0][0].groupno==it.groupno ? '1px solid black': 'none','width':'80%'}">
|
|
102
|
+ <!-- :style="{'border-right':item.arr.length>0 && (item.arr[0][0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}" -->
|
|
103
|
+ <!-- <div class="drugsOne" >
|
105
|
104
|
<span style="font-weight: bold" >
|
106
|
105
|
{{ index + 1 + "."}}
|
107
|
106
|
</span>
|
|
@@ -110,19 +109,17 @@
|
110
|
109
|
{{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
111
|
110
|
{{it.drug.max_unit}}
|
112
|
111
|
</span>
|
113
|
|
- <div>
|
114
|
|
- <template v-if="item.arr.length>0 && item.arr[0][0].groupno==it.groupno">
|
|
112
|
+ <div v-for="(ite,indexs) in item.arr" :key="indexs">
|
|
113
|
+ <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
115
|
114
|
<div >
|
116
|
|
- <!-- -->
|
117
|
|
- <span style="margin-left: 38px;">{{item.arr[0][0].advice_name ? item.arr[0][0].advice_name : ""}}</span>
|
118
|
|
- <span v-if="item.arr[0][0].drug.min_unit != item.arr[0][0].drug.dose_unit">
|
119
|
|
- {{ item.arr[0][0].drug.dose }}{{ item.arr[0][0].drug.dose_unit }} * {{ item.arr[0][0].drug.min_number }}{{ item.arr[0][0].drug.min_unit }}/
|
120
|
|
- {{item.arr[0][0].drug.max_unit}}
|
|
115
|
+ <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>
|
|
116
|
+ <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
|
|
117
|
+ {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }} * {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
|
|
118
|
+ {{ite[0].drug.max_unit}}
|
121
|
119
|
</span>
|
122
|
120
|
</div>
|
123
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 10px;" >
|
124
|
|
- 共{{ item.arr[0][0].single_dose }}{{ item.arr[0][0].single_dose_unit }}
|
125
|
|
- <!-- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
|
|
121
|
+ <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
|
122
|
+ 共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
|
126
|
123
|
</div>
|
127
|
124
|
</template>
|
128
|
125
|
</div>
|
|
@@ -138,23 +135,92 @@
|
138
|
135
|
<div style="margin-left: 70px" v-if="it.remark !=''">
|
139
|
136
|
备注:<span > {{ it.remark }}</span>
|
140
|
137
|
</div>
|
141
|
|
- <!-- v-if="arr.length>0 && arr[0][0].groupno==it.groupno" 'border-right':arr.length>0 && arr[0][0].groupno==it.groupno ? '1px solid black' :'none',-->
|
142
|
138
|
</div>
|
143
|
|
- <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 10px;" >
|
|
139
|
+ <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
144
|
140
|
× {{ it.prescribing_number}}
|
145
|
141
|
</div>
|
146
|
|
- <template v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
|
147
|
|
- <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 10px;" >
|
148
|
|
- × {{ item.arr[0][0].prescribing_number}}
|
|
142
|
+ <div v-for="(ite,indexs) in item.arr" :key="indexs">
|
|
143
|
+ <template v-if="item.arr.length>0&&ite[0].groupno==it.groupno">
|
|
144
|
+ <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
|
|
145
|
+ × {{ ite[0].prescribing_number}}
|
|
146
|
+ </div>
|
|
147
|
+ </template>
|
|
148
|
+ </div>
|
|
149
|
+ <template>
|
|
150
|
+
|
|
151
|
+ <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">
|
|
152
|
+ 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
|
153
|
+ </div>
|
|
154
|
+
|
|
155
|
+ <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">
|
|
156
|
+ 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
|
157
|
+ </div>
|
|
158
|
+ </template> -->
|
|
159
|
+ <!-- --------------------------------------------------------------------- -->
|
|
160
|
+ <template>
|
|
161
|
+ <div v-for="(ite,indexs) in item.arr" :key="indexs">
|
|
162
|
+ <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
|
|
163
|
+ <span style="font-weight: bold" >
|
|
164
|
+ {{ index + 1 + "."}}
|
|
165
|
+ </span>
|
|
166
|
+ {{ it.advice_name ? it.advice_name : "" }}
|
|
167
|
+ <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
|
168
|
+ {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
|
169
|
+ {{it.drug.max_unit}}
|
|
170
|
+ </span>
|
|
171
|
+ <div >
|
|
172
|
+ <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
|
173
|
+ <div >
|
|
174
|
+ <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>
|
|
175
|
+ <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
|
|
176
|
+ {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }} * {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
|
|
177
|
+ {{ite[0].drug.max_unit}}
|
|
178
|
+ </span>
|
|
179
|
+ </div>
|
|
180
|
+ <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
|
181
|
+ 共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
|
|
182
|
+ <!-- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
|
|
183
|
+ </div>
|
|
184
|
+ </template>
|
|
185
|
+ </div>
|
|
186
|
+ <div style="margin-left: 70px">
|
|
187
|
+ 用法:
|
|
188
|
+ <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>
|
|
189
|
+ <span>
|
|
190
|
+ {{ it.execution_frequency }} {{
|
|
191
|
+ it.delivery_way
|
|
192
|
+ }} </span> <span>{{ it.advice_desc}}</span>
|
|
193
|
+ </div>
|
|
194
|
+ <div style="margin-left: 70px" v-if="it.remark !=''">
|
|
195
|
+ 备注:<span > {{ it.remark }}</span>
|
|
196
|
+ </div>
|
|
197
|
+ <!-- v-if="arr.length>0 && arr[0][0].groupno==it.groupno" 'border-right':arr.length>0 && arr[0][0].groupno==it.groupno ? '1px solid black' :'none',-->
|
|
198
|
+ </div>
|
|
199
|
+ <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
|
200
|
+ × {{ it.prescribing_number}}
|
|
201
|
+ </div>
|
|
202
|
+ <div >
|
|
203
|
+ <template v-if="item.arr.length>0&&ite[0].groupno==it.groupno">
|
|
204
|
+ <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
|
|
205
|
+ × {{ ite[0].prescribing_number}}
|
|
206
|
+ </div>
|
|
207
|
+ </template>
|
|
208
|
+ </div>
|
|
209
|
+ <template>
|
|
210
|
+ <!-- <div v-for="(ite,indexs) in item.arr" :key="indexs"> -->
|
|
211
|
+ <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">
|
|
212
|
+ 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
|
213
|
+ </div>
|
|
214
|
+
|
|
215
|
+ <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">
|
|
216
|
+ 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
|
217
|
+ </div>
|
|
218
|
+ <!-- </div> -->
|
|
219
|
+ </template>
|
149
|
220
|
</div>
|
|
221
|
+
|
150
|
222
|
</template>
|
151
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
|
152
|
|
- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
153
|
|
- </div>
|
154
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
|
155
|
|
- <!-- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
|
156
|
|
- 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
157
|
|
- </div>
|
|
223
|
+
|
158
|
224
|
</div>
|
159
|
225
|
<template v-if="index==yi&&item.advices.length>5">
|
160
|
226
|
<div style="margin: 20px 0px;">
|