|
@@ -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,94 @@
|
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
|
+ <!-- v-for="(ite,indexs) in item.arr" :key="indexs" -->
|
|
172
|
+ <div >
|
|
173
|
+ <template v-if="item.arr.length>0 && ite[0].groupno==it.groupno">
|
|
174
|
+ <div >
|
|
175
|
+ <span style="margin-left: 38px;">{{ite[0].advice_name ? ite[0].advice_name : ""}}</span>
|
|
176
|
+ <span v-if="ite[0].drug.min_unit != ite[0].drug.dose_unit">
|
|
177
|
+ {{ ite[0].drug.dose }}{{ ite[0].drug.dose_unit }} * {{ ite[0].drug.min_number }}{{ ite[0].drug.min_unit }}/
|
|
178
|
+ {{ite[0].drug.max_unit}}
|
|
179
|
+ </span>
|
|
180
|
+ </div>
|
|
181
|
+ <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
|
|
182
|
+ 共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
|
|
183
|
+ <!-- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
|
|
184
|
+ </div>
|
|
185
|
+ </template>
|
|
186
|
+ </div>
|
|
187
|
+
|
|
188
|
+ <div style="margin-left: 70px">
|
|
189
|
+ 用法:
|
|
190
|
+ <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>
|
|
191
|
+ <span>
|
|
192
|
+ {{ it.execution_frequency }} {{
|
|
193
|
+ it.delivery_way
|
|
194
|
+ }} </span> <span>{{ it.advice_desc}}</span>
|
|
195
|
+ </div>
|
|
196
|
+ <div style="margin-left: 70px" v-if="it.remark !=''">
|
|
197
|
+ 备注:<span > {{ it.remark }}</span>
|
|
198
|
+ </div>
|
|
199
|
+ <!-- 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',-->
|
|
200
|
+ </div>
|
|
201
|
+ <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
|
|
202
|
+ × {{ it.prescribing_number}}
|
|
203
|
+ </div>
|
|
204
|
+ <div >
|
|
205
|
+ <template v-if="item.arr.length>0&&ite[0].groupno==it.groupno">
|
|
206
|
+ <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 5px;" >
|
|
207
|
+ × {{ ite[0].prescribing_number}}
|
|
208
|
+ </div>
|
|
209
|
+ </template>
|
|
210
|
+ </div>
|
|
211
|
+ <template>
|
|
212
|
+ <!-- <div v-for="(ite,indexs) in item.arr" :key="indexs"> -->
|
|
213
|
+ <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">
|
|
214
|
+ 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
|
215
|
+ </div>
|
|
216
|
+
|
|
217
|
+ <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">
|
|
218
|
+ 共{{ it.single_dose }}{{ it.single_dose_unit }}
|
|
219
|
+ </div>
|
|
220
|
+ <!-- </div> -->
|
|
221
|
+ </template>
|
149
|
222
|
</div>
|
|
223
|
+
|
150
|
224
|
</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>
|
|
225
|
+
|
158
|
226
|
</div>
|
159
|
227
|
<template v-if="index==yi&&item.advices.length>5">
|
160
|
228
|
<div style="margin: 20px 0px;">
|