|
@@ -99,42 +99,89 @@
|
99
|
99
|
</div>
|
100
|
100
|
</template>
|
101
|
101
|
<div style="position: relative;">
|
102
|
|
- <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (item.arr[0][0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
|
103
|
|
- <span style="font-weight: bold" >
|
104
|
|
- {{ index + 1 + "."}}
|
105
|
|
- </span>
|
106
|
|
- {{ it.advice_name ? it.advice_name : "" }}
|
107
|
|
- <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
108
|
|
- {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
109
|
|
- {{it.drug.max_unit}}
|
110
|
|
- </span>
|
|
102
|
+ <div v-if="item.arr.length>0">
|
111
|
103
|
<div v-for="(ite,indexs) in item.arr" :key="indexs">
|
112
|
|
- <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
113
|
|
- <div >
|
114
|
|
- <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>
|
115
|
|
- <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
|
116
|
|
- {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }} * {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
|
117
|
|
- {{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}}
|
118
|
113
|
</span>
|
119
|
|
- </div>
|
120
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
121
|
|
- 共{{ 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>
|
122
|
147
|
</div>
|
123
|
148
|
</template>
|
124
|
149
|
</div>
|
|
150
|
+ </div>
|
125
|
151
|
|
126
|
|
- <div style="margin-left: 70px">
|
127
|
|
- 用法:
|
128
|
|
- <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>
|
129
|
|
- <span>
|
130
|
|
- {{ it.execution_frequency }} {{
|
131
|
|
- it.delivery_way
|
132
|
|
- }} </span> <span>{{ it.advice_desc}}</span>
|
133
|
|
- </div>
|
134
|
|
- <div style="margin-left: 70px" v-if="it.remark !=''">
|
135
|
|
- 备注:<span > {{ it.remark }}</span>
|
136
|
|
- </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>
|
137
|
183
|
</div>
|
|
184
|
+
|
138
|
185
|
<div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
139
|
186
|
× {{ it.prescribing_number}}
|
140
|
187
|
</div>
|
|
@@ -145,17 +192,25 @@
|
145
|
192
|
</div>
|
146
|
193
|
</template>
|
147
|
194
|
</div>
|
148
|
|
- <template>
|
149
|
|
-
|
150
|
|
- <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">
|
151
|
|
- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
152
|
|
- </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>
|
153
|
201
|
|
154
|
|
- <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">
|
155
|
|
- 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
156
|
|
- </div>
|
157
|
|
- </template>
|
158
|
|
- <!-- --------------------------------------------------------------------- -->
|
|
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
|
+ <!-------------------------------------------------------------------------->
|
159
|
214
|
<!-- <template>
|
160
|
215
|
<div v-for="(ite,indexs) in item.arr" :key="indexs">
|
161
|
216
|
<div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
|