|
@@ -99,43 +99,89 @@
|
99
|
99
|
</div>
|
100
|
100
|
</template>
|
101
|
101
|
<div style="position: relative;">
|
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" >
|
104
|
|
- <span style="font-weight: bold" >
|
105
|
|
- {{ index + 1 + "."}}
|
106
|
|
- </span>
|
107
|
|
- {{ it.advice_name ? it.advice_name : "" }}
|
108
|
|
- <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
109
|
|
- {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
110
|
|
- {{it.drug.max_unit}}
|
111
|
|
- </span>
|
|
102
|
+ <div v-if="item.arr.length>0">
|
112
|
103
|
<div v-for="(ite,indexs) in item.arr" :key="indexs">
|
113
|
|
- <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
114
|
|
- <div >
|
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}}
|
|
104
|
+ <template>
|
|
105
|
+ <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
|
|
106
|
+ <span style="font-weight: bold" >
|
|
107
|
+ {{ index + 1 + "."}}
|
|
108
|
+ </span>
|
|
109
|
+ {{ it.advice_name ? it.advice_name : "" }}
|
|
110
|
+ <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
|
111
|
+ {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
|
112
|
+ {{it.drug.max_unit}}
|
119
|
113
|
</span>
|
120
|
|
- </div>
|
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 }}
|
|
114
|
+ <div >
|
|
115
|
+ <!-- v-for="(ite,indexs) in item.arr" :key="indexs" -->
|
|
116
|
+ <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
|
117
|
+ <div>
|
|
118
|
+ <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>
|
|
119
|
+ <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
|
|
120
|
+ {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }} * {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
|
|
121
|
+ {{ite[0].drug.max_unit}}
|
|
122
|
+ </span>
|
|
123
|
+ </div>
|
|
124
|
+ <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
|
125
|
+ 共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
|
|
126
|
+ </div>
|
|
127
|
+ </template>
|
|
128
|
+ </div>
|
|
129
|
+
|
|
130
|
+ <div style="margin-left: 70px" >
|
|
131
|
+ <template>
|
|
132
|
+ 用法:
|
|
133
|
+ <div style="display: inline-block;" >
|
|
134
|
+ <template>
|
|
135
|
+ <span style="margin-right: 0;" v-if="(item.arr.length>0 && ite[0].groupno!=it.groupno)||item.arr.length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
|
|
136
|
+ </template>
|
|
137
|
+ </div>
|
|
138
|
+ <span>
|
|
139
|
+ {{ it.execution_frequency }} {{
|
|
140
|
+ it.delivery_way
|
|
141
|
+ }} </span> <span>{{ it.advice_desc}}</span>
|
|
142
|
+ </template>
|
|
143
|
+ </div>
|
|
144
|
+ <div style="margin-left: 70px" v-if="it.remark !=''">
|
|
145
|
+ 备注:<span > {{ it.remark }}</span>
|
|
146
|
+ </div>
|
123
|
147
|
</div>
|
124
|
148
|
</template>
|
125
|
149
|
</div>
|
|
150
|
+ </div>
|
126
|
151
|
|
127
|
|
- <div style="margin-left: 70px">
|
128
|
|
- 用法:
|
129
|
|
- <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>
|
130
|
|
- <span>
|
131
|
|
- {{ it.execution_frequency }} {{
|
132
|
|
- it.delivery_way
|
133
|
|
- }} </span> <span>{{ it.advice_desc}}</span>
|
134
|
|
- </div>
|
135
|
|
- <div style="margin-left: 70px" v-if="it.remark !=''">
|
136
|
|
- 备注:<span > {{ it.remark }}</span>
|
137
|
|
- </div>
|
|
152
|
+ <div v-if="item.arr.length==0">
|
|
153
|
+ <!--
|
|
154
|
+ :style="{'border-right':item.arr.length>0 && (item.arr[0][0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}"-->
|
|
155
|
+ <div class="drugsOne" >
|
|
156
|
+ <span style="font-weight: bold" >
|
|
157
|
+ {{ index + 1 + "."}}
|
|
158
|
+ </span>
|
|
159
|
+ {{ it.advice_name ? it.advice_name : "" }}
|
|
160
|
+ <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
|
161
|
+ {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
|
162
|
+ {{it.drug.max_unit}}
|
|
163
|
+ </span>
|
|
164
|
+
|
|
165
|
+ <div style="margin-left: 70px" >
|
|
166
|
+ <template>
|
|
167
|
+ 用法:
|
|
168
|
+ <div style="display: inline-block;" >
|
|
169
|
+ <template>
|
|
170
|
+ <span style="margin-right: 0;">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
|
|
171
|
+ </template>
|
|
172
|
+ </div>
|
|
173
|
+ <span>
|
|
174
|
+ {{ it.execution_frequency }} {{
|
|
175
|
+ it.delivery_way
|
|
176
|
+ }} </span> <span>{{ it.advice_desc}}</span>
|
|
177
|
+ </template>
|
|
178
|
+ </div>
|
|
179
|
+ <div style="margin-left: 70px" v-if="it.remark !=''">
|
|
180
|
+ 备注:<span > {{ it.remark }}</span>
|
|
181
|
+ </div>
|
|
182
|
+ </div>
|
138
|
183
|
</div>
|
|
184
|
+
|
139
|
185
|
<div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
140
|
186
|
× {{ it.prescribing_number}}
|
141
|
187
|
</div>
|
|
@@ -146,18 +192,26 @@
|
146
|
192
|
</div>
|
147
|
193
|
</template>
|
148
|
194
|
</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>
|
|
195
|
+ <div v-if="item.arr.length>0">
|
|
196
|
+ <div v-for="(ite,indexs) in item.arr" :key="indexs">
|
|
197
|
+ <template>
|
|
198
|
+ <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">
|
|
199
|
+ 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
|
200
|
+ </div>
|
154
|
201
|
|
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>
|
|
202
|
+ <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">
|
|
203
|
+ 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
|
204
|
+ </div>
|
|
205
|
+ </template>
|
|
206
|
+ </div>
|
|
207
|
+ </div>
|
|
208
|
+ <div v-if="item.arr.length==0">
|
|
209
|
+ <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" >
|
|
210
|
+ 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
|
211
|
+ </div>
|
|
212
|
+ </div>
|
|
213
|
+ <!-------------------------------------------------------------------------->
|
|
214
|
+ <!-- <template>
|
161
|
215
|
<div v-for="(ite,indexs) in item.arr" :key="indexs">
|
162
|
216
|
<div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
|
163
|
217
|
<span style="font-weight: bold" >
|
|
@@ -179,7 +233,6 @@
|
179
|
233
|
</div>
|
180
|
234
|
<div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
181
|
235
|
共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
|
182
|
|
- <!-- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
|
183
|
236
|
</div>
|
184
|
237
|
</template>
|
185
|
238
|
</div>
|
|
@@ -194,7 +247,6 @@
|
194
|
247
|
<div style="margin-left: 70px" v-if="it.remark !=''">
|
195
|
248
|
备注:<span > {{ it.remark }}</span>
|
196
|
249
|
</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
|
250
|
</div>
|
199
|
251
|
<div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
200
|
252
|
× {{ it.prescribing_number}}
|
|
@@ -207,7 +259,6 @@
|
207
|
259
|
</template>
|
208
|
260
|
</div>
|
209
|
261
|
<template>
|
210
|
|
- <!-- <div v-for="(ite,indexs) in item.arr" :key="indexs"> -->
|
211
|
262
|
<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
|
263
|
共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
213
|
264
|
</div>
|
|
@@ -215,11 +266,11 @@
|
215
|
266
|
<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
|
267
|
共{{ it.single_dose }}{{ it.single_dose_unit }}
|
217
|
268
|
</div>
|
218
|
|
- <!-- </div> -->
|
|
269
|
+
|
219
|
270
|
</template>
|
220
|
271
|
</div>
|
221
|
272
|
|
222
|
|
- </template>
|
|
273
|
+ </template> -->
|
223
|
274
|
|
224
|
275
|
</div>
|
225
|
276
|
<template v-if="index==yi&&item.advices.length>5">
|