|
@@ -21,304 +21,187 @@
|
21
|
21
|
>
|
22
|
22
|
{{ orgname }}处方笺
|
23
|
23
|
</div>
|
24
|
|
- <div >
|
25
|
|
- <div class="infoTitle">
|
26
|
|
- <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
|
27
|
|
- <p>
|
28
|
|
- 性别:
|
29
|
|
- <span v-if="item.patient.gender == 1">男</span>
|
30
|
|
- <span v-if="item.patient.gender == 2">女</span>
|
31
|
|
- </p>
|
32
|
|
- <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
|
|
24
|
+ <!--<div class="printTitle">{{orgname}}处方笺</div>-->
|
|
25
|
+ <div class="infoTitle">
|
|
26
|
+ <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
|
|
27
|
+ <p>
|
|
28
|
+ 性别:
|
|
29
|
+ <span v-if="item.patient.gender == 1">男</span>
|
|
30
|
+ <span v-if="item.patient.gender == 2">女</span>
|
|
31
|
+ </p>
|
|
32
|
+ <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
|
|
33
|
+ </div>
|
|
34
|
+ <div class="infoMain">
|
|
35
|
+ <div style="margin-bottom: 10px">
|
|
36
|
+ 门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
|
33
|
37
|
</div>
|
34
|
|
- <div class="infoMain">
|
35
|
|
- <div style="margin-bottom: 10px">
|
36
|
|
- 门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
|
37
|
|
- </div>
|
38
|
|
- <div style="margin-bottom: 10px">
|
39
|
|
- 科室:{{ item.info ? getDepart(item.info.departments) : "" }}
|
40
|
|
- </div>
|
41
|
|
- <div style="margin-bottom: 10px">
|
42
|
|
- 医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
|
43
|
|
- </div>
|
44
|
|
- <div style="margin-bottom: 10px" v-if="org_id != 10188">
|
45
|
|
- 电话:{{ item.patient.phone }}
|
46
|
|
- </div>
|
47
|
|
- <div style="margin-bottom: 10px" v-else>
|
48
|
|
- 日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
|
49
|
|
- </div>
|
50
|
|
- <div>地址:{{ item.patient.home_address }}</div>
|
51
|
|
- <div style="display: flex; width: 50%">
|
52
|
|
- 临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
|
53
|
|
- </div>
|
|
38
|
+ <div style="margin-bottom: 10px">
|
|
39
|
+ 科室:{{ item.info ? getDepart(item.info.departments) : "" }}
|
|
40
|
+ </div>
|
|
41
|
+ <div style="margin-bottom: 10px">
|
|
42
|
+ 医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
|
|
43
|
+ </div>
|
|
44
|
+ <div style="margin-bottom: 10px" v-if="org_id != 10188">
|
|
45
|
+ 电话:{{ item.patient.phone }}
|
|
46
|
+ </div>
|
|
47
|
+ <div style="margin-bottom: 10px" v-else>
|
|
48
|
+ 日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
|
|
49
|
+ </div>
|
|
50
|
+ <div>地址:{{ item.patient.home_address }}</div>
|
|
51
|
+ <div style="display: flex; width: 50%">
|
|
52
|
+ 临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
|
54
|
53
|
</div>
|
55
|
54
|
</div>
|
56
|
|
- <div class="prescriptionBox" >
|
57
|
|
- <div class="Rp">Rp:</div>
|
58
|
|
- <div
|
59
|
|
- class="drugsBox"
|
60
|
|
- v-for="(it, index) in advicess" :key="index"
|
61
|
|
- :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
|
62
|
|
- >
|
63
|
|
- <!-- class="drugsBox" item.advices.length>=5 ? 'danzhang' : 'drugsBox' :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
|
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">
|
66
|
|
- <div style="margin: 20px 0px;">
|
67
|
|
- <div class="infoTitle">
|
68
|
|
- <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
|
69
|
|
- <p>
|
70
|
|
- 性别:
|
71
|
|
- <span v-if="item.patient.gender == 1">男</span>
|
72
|
|
- <span v-if="item.patient.gender == 2">女</span>
|
73
|
|
- </p>
|
74
|
|
- <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
|
75
|
|
- </div>
|
76
|
|
- <div class="infoMain">
|
77
|
|
- <div style="margin-bottom: 10px">
|
78
|
|
- 门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
|
79
|
|
- </div>
|
80
|
|
- <div style="margin-bottom: 10px">
|
81
|
|
- 科室:{{ item.info ? getDepart(item.info.departments) : "" }}
|
82
|
|
- </div>
|
83
|
|
- <div style="margin-bottom: 10px">
|
84
|
|
- 医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
|
85
|
|
- </div>
|
86
|
|
- <div style="margin-bottom: 10px" v-if="org_id != 10188">
|
87
|
|
- 电话:{{ item.patient.phone }}
|
88
|
|
- </div>
|
89
|
|
- <div style="margin-bottom: 10px" v-else>
|
90
|
|
- 日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
|
91
|
|
- </div>
|
92
|
|
- <div>地址:{{ item.patient.home_address }}</div>
|
93
|
|
- <div style="display: flex; width: 50%">
|
94
|
|
- 临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
|
95
|
|
- </div>
|
96
|
|
- </div>
|
97
|
|
- </div>
|
98
|
|
- </template>
|
99
|
|
- <div style="position: relative;">
|
100
|
|
- <div class="drugsOne" style="border-right: 1px solid black; width: 80%;">
|
101
|
|
- <span style="font-weight: bold" >
|
102
|
|
- {{ index + 1 + "." }}
|
103
|
|
- </span>
|
104
|
|
- {{ it.advice_name ? it.advice_name : "" }}
|
105
|
|
- <span v-if="it.drug.min_unit != it.drug.dose_unit">
|
106
|
|
- {{ it.drug.dose }}{{ it.drug.dose_unit }} * {{ it.drug.min_number }}{{ it.drug.min_unit }}/
|
107
|
|
- {{it.drug.max_unit}}
|
108
|
|
- </span>
|
109
|
|
- <div>
|
110
|
|
- <template v-if="arr[0][0].groupno==it.groupno">
|
111
|
|
- <div >
|
112
|
|
- <!-- v-for="(its,indexs) in arr" :key="indexs"-->
|
113
|
|
- <span style="margin-left: 38px;">{{arr[0][0].advice_name ? arr[0][0].advice_name : ""}}</span>
|
114
|
|
- <span v-if="arr[0][0].drug.min_unit != arr[0][0].drug.dose_unit">
|
115
|
|
- {{ arr[0][0].drug.dose }}{{ arr[0][0].drug.dose_unit }} * {{ arr[0][0].drug.min_number }}{{ arr[0][0].drug.min_unit }}/
|
116
|
|
- {{arr[0][0].drug.max_unit}}
|
117
|
|
- </span>
|
118
|
|
- </div>
|
119
|
|
- </template>
|
120
|
|
- </div>
|
121
|
|
-
|
122
|
|
- <div style="margin-left: 70px">
|
123
|
|
- <span >用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
|
124
|
|
- > <span
|
125
|
|
- >{{ it.execution_frequency }} {{
|
126
|
|
- it.delivery_way
|
127
|
|
- }} </span> <span>{{ it.advice_desc }}</span>
|
128
|
|
- </div>
|
129
|
|
-
|
130
|
|
- </div>
|
131
|
|
- <div style="display: inline-block;position: absolute;left:85%;top:10px;margin-left: 10px;">
|
132
|
|
- × {{ it.prescribing_number}}{{ it.prescribing_number_unit }}
|
133
|
|
- </div>
|
134
|
|
- </div>
|
135
|
|
- <template v-if="index==yi&&item.advices.length>5">
|
136
|
|
- <div style="margin: 20px 0px;">
|
137
|
|
- <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
|
138
|
|
- <p v-if="org_id == 10217 || org_id == 0">
|
139
|
|
- 医师:
|
140
|
|
- <span
|
141
|
|
- style="width: 100px; display: inline-block"
|
142
|
|
- v-if="item.creator == ''"
|
143
|
|
- >
|
144
|
|
- {{ item.doctor }}
|
145
|
|
- </span>
|
146
|
|
- <span
|
147
|
|
- style="width: 100px; display: inline-block"
|
148
|
|
- v-else-if="doc_name != ''"
|
149
|
|
- >
|
150
|
|
- {{ doc_name }}
|
151
|
|
- </span>
|
152
|
|
- <img
|
153
|
|
- style="height: 50px;"
|
154
|
|
- :src="setAdminUserES(item.creator,item.doctor)"
|
155
|
|
- alt=""
|
156
|
|
- srcset=""
|
157
|
|
-
|
158
|
|
- />
|
159
|
|
- </p>
|
160
|
|
- <p v-else>
|
161
|
|
- 医师: {{ item.doctor ? item.doctor : "" }}
|
162
|
|
- </p>
|
163
|
|
- <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
|
164
|
|
- </div>
|
165
|
|
-
|
166
|
|
- <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
|
167
|
|
- <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
|
168
|
|
- </div>
|
169
|
|
- <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
|
170
|
|
-
|
171
|
|
- <p>审核:</p>
|
172
|
|
- <p>配对:</p>
|
173
|
|
- <p>核对:</p>
|
174
|
|
- <p>发药:</p>
|
175
|
|
- <p>
|
176
|
|
- 药费:{{
|
177
|
|
- getTotalOne(item.id).toFixed(2)
|
178
|
|
- ? getTotalOne(item.id).toFixed(2)
|
179
|
|
- : 0
|
180
|
|
- }}元
|
181
|
|
- </p>
|
182
|
|
- <!-- <p>药费:466.2元</p>-->
|
183
|
|
- </div>
|
184
|
|
- <div class="actionBar" v-else>
|
185
|
|
- <p >审核、调配:</p>
|
186
|
|
- <p >核对、发药:</p>
|
187
|
|
- <p >
|
188
|
|
- 药费:{{
|
189
|
|
- getTotalOne(item.id).toFixed(2)
|
190
|
|
- ? getTotalOne(item.id).toFixed(2)
|
191
|
|
- : 0
|
192
|
|
- }}元
|
193
|
|
- </p>
|
194
|
|
- <!-- <p>药费:551.2元</p>-->
|
195
|
|
- <!-- <p>药费:466.2元</p>-->
|
196
|
|
- </div>
|
197
|
|
- </div>
|
198
|
|
- </template>
|
|
55
|
+ <div class="prescriptionBox" >
|
|
56
|
+ <div class="Rp">Rp:</div>
|
|
57
|
+ <div
|
|
58
|
+ class="drugsBox"
|
|
59
|
+ v-for="(it, index) in item.advices"
|
|
60
|
+ :key="index"
|
|
61
|
+ :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
|
|
62
|
+ >
|
|
63
|
+ <!-- class="drugsBox" item.advices.length>=5 ? 'danzhang' : 'drugsBox' 'page-break-after':item.advices.length>=3&& item.advices[2]?'always':'auto'-->
|
|
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
|
+ <div class="drugsOne">
|
|
66
|
+ <span style="font-weight: bold">{{ index + 1 + "." }}</span
|
|
67
|
+ >{{ it.advice_name ? it.advice_name : "" }} <span
|
|
68
|
+ v-if="it.drug.min_unit != it.drug.dose_unit"
|
|
69
|
+ >{{ it.drug.dose }}{{ it.drug.dose_unit }} * </span
|
|
70
|
+ >{{ it.drug.min_number }}{{ it.drug.min_unit }}/{{
|
|
71
|
+ it.drug.max_unit
|
|
72
|
+ }} × {{ it.prescribing_number
|
|
73
|
+ }}{{ it.prescribing_number_unit }}
|
|
74
|
+ </div>
|
|
75
|
+ <div style="margin-left: 100px">
|
|
76
|
+ <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
|
|
77
|
+ > <span
|
|
78
|
+ >{{ it.execution_frequency }} {{
|
|
79
|
+ it.delivery_way
|
|
80
|
+ }} </span
|
|
81
|
+ > <span>{{ it.advice_desc }}</span>
|
199
|
82
|
</div>
|
|
83
|
+ </div>
|
200
|
84
|
|
201
|
|
- <div
|
202
|
|
- class="drugsBox"
|
203
|
|
- v-for="(it, i) in item.additionalcharge"
|
204
|
|
- :key="i"
|
205
|
|
- >
|
206
|
|
- <div class="drugsOne">
|
207
|
|
- {{ it.item_name ? it.item_name : "" }}: {{ it.price }}元/{{
|
208
|
|
- it.count
|
209
|
|
- }}次
|
210
|
|
- </div>
|
|
85
|
+ <div
|
|
86
|
+ class="drugsBox"
|
|
87
|
+ v-for="(it, i) in item.additionalcharge"
|
|
88
|
+ :key="i"
|
|
89
|
+ >
|
|
90
|
+ <div class="drugsOne">
|
|
91
|
+ {{ it.item_name ? it.item_name : "" }}: {{ it.price }}元/{{
|
|
92
|
+ it.count
|
|
93
|
+ }}次
|
211
|
94
|
</div>
|
|
95
|
+ </div>
|
212
|
96
|
|
213
|
|
- <div
|
214
|
|
- class="drugsBox"
|
215
|
|
- v-for="(it, index) in item.project"
|
216
|
|
- :key="index"
|
217
|
|
- >
|
218
|
|
- <div class="drugsOne">
|
219
|
|
- <span style="font-weight: bold">{{ index + 1 + "." }}</span
|
220
|
|
- >{{
|
221
|
|
- it.type == 2
|
|
97
|
+ <div
|
|
98
|
+ class="drugsBox"
|
|
99
|
+ v-for="(it, index) in item.project"
|
|
100
|
+ :key="index"
|
|
101
|
+ >
|
|
102
|
+ <div class="drugsOne">
|
|
103
|
+ <span style="font-weight: bold">{{ index + 1 + "." }}</span
|
|
104
|
+ >{{
|
|
105
|
+ it.type == 2
|
|
106
|
+ ? getProjectName(it.project_id)
|
222
|
107
|
? getProjectName(it.project_id)
|
223
|
|
- ? getProjectName(it.project_id)
|
224
|
|
- : ""
|
225
|
|
- : it.good_info.good_name
|
226
|
|
- }} {{ it.single_dose
|
227
|
|
- }}{{ it.single_dose_unit }} × {{ it.count }}{{ unit }}
|
228
|
|
- </div>
|
229
|
|
- <div style="margin-left: 100px">
|
230
|
|
- <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
|
231
|
|
- > <span>{{ it.delivery_way }}</span
|
232
|
|
- > <span>{{ it.advice_desc }}</span>
|
233
|
|
- </div>
|
|
108
|
+ : ""
|
|
109
|
+ : it.good_info.good_name
|
|
110
|
+ }} {{ it.single_dose
|
|
111
|
+ }}{{ it.single_dose_unit }} × {{ it.count }}{{ unit }}
|
234
|
112
|
</div>
|
235
|
|
-
|
236
|
|
- <div
|
237
|
|
- class="drugsBox"
|
238
|
|
- v-for="(it, i) in item.additionalcharge"
|
239
|
|
- :key="i"
|
240
|
|
- >
|
241
|
|
- <div class="drugsOne">
|
242
|
|
- {{ it.project_id ? it.project_id : "" }}: {{
|
243
|
|
- it.price.toFixed(2)
|
244
|
|
- }}元/{{ it.count }}次
|
245
|
|
- </div>
|
|
113
|
+ <div style="margin-left: 100px">
|
|
114
|
+ <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
|
|
115
|
+ > <span>{{ it.delivery_way }}</span
|
|
116
|
+ > <span>{{ it.advice_desc }}</span>
|
246
|
117
|
</div>
|
247
|
|
- <div style="text-align: center">(以下空白)</div>
|
248
|
118
|
</div>
|
249
|
|
-
|
250
|
|
- <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
|
251
|
|
- <p v-if="org_id == 10217 || org_id == 0">
|
252
|
|
- 医师:
|
253
|
|
- <span
|
254
|
|
- style="width: 100px; display: inline-block"
|
255
|
|
- v-if="item.creator == ''"
|
256
|
|
- >
|
257
|
|
- {{ item.doctor }}
|
258
|
|
- </span>
|
259
|
|
- <span
|
260
|
|
- style="width: 100px; display: inline-block"
|
261
|
|
- v-else-if="doc_name != ''"
|
262
|
|
- >
|
263
|
|
- {{ doc_name }}
|
264
|
|
- </span>
|
265
|
|
- <img
|
266
|
|
- style="height: 50px;"
|
267
|
|
- :src="setAdminUserES(item.creator,item.doctor)"
|
268
|
|
- alt=""
|
269
|
|
- srcset=""
|
270
|
|
-
|
271
|
|
- />
|
272
|
|
- </p>
|
273
|
|
- <p v-else>
|
274
|
|
- 医师: {{ item.doctor ? item.doctor : "" }}
|
275
|
|
- </p>
|
276
|
|
- <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
|
|
119
|
+
|
|
120
|
+ <div
|
|
121
|
+ class="drugsBox"
|
|
122
|
+ v-for="(it, i) in item.additionalcharge"
|
|
123
|
+ :key="i"
|
|
124
|
+ >
|
|
125
|
+ <div class="drugsOne">
|
|
126
|
+ {{ it.project_id ? it.project_id : "" }}: {{
|
|
127
|
+ it.price.toFixed(2)
|
|
128
|
+ }}元/{{ it.count }}次
|
|
129
|
+ </div>
|
277
|
130
|
</div>
|
|
131
|
+ <div style="text-align: center">(以下空白)</div>
|
|
132
|
+ </div>
|
|
133
|
+ <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
|
|
134
|
+ <p v-if="org_id == 10217 || org_id == 0">
|
|
135
|
+ 医师:
|
|
136
|
+ <span
|
|
137
|
+ style="width: 100px; display: inline-block"
|
|
138
|
+ v-if="item.creator == ''"
|
|
139
|
+ >
|
|
140
|
+ {{ item.doctor }}
|
|
141
|
+ </span>
|
|
142
|
+ <span
|
|
143
|
+ style="width: 100px; display: inline-block"
|
|
144
|
+ v-else-if="doc_name != ''"
|
|
145
|
+ >
|
|
146
|
+ {{ doc_name }}
|
|
147
|
+ </span>
|
|
148
|
+ <img
|
|
149
|
+ style="height: 50px;"
|
|
150
|
+ :src="setAdminUserES(item.creator,item.doctor)"
|
|
151
|
+ alt=""
|
|
152
|
+ srcset=""
|
278
|
153
|
|
279
|
|
- <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
|
280
|
|
- <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
|
281
|
|
- </div>
|
282
|
|
- <!-- <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
|
283
|
|
- <p >审核、调配:</p>
|
284
|
|
- <p >核对、发药:</p>
|
285
|
|
- <p style="margin-right: 43px">药师:</p>
|
286
|
|
- </div> -->
|
|
154
|
+ />
|
|
155
|
+ </p>
|
|
156
|
+ <p v-else>
|
|
157
|
+ 医师: {{ item.doctor ? item.doctor : "" }}
|
|
158
|
+ </p>
|
|
159
|
+ <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
|
|
160
|
+ </div>
|
287
|
161
|
|
288
|
|
- <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
|
289
|
|
- <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
|
290
|
|
- <p>配对:</p>
|
291
|
|
- <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
|
292
|
|
- <p>发药:{{getDoctor(item.advices[0].execution_staff)?getDoctor(item.advices[0].execution_staff):""}}</p>
|
293
|
|
- <p>药费:{{getTotalOne(item.id)?getTotalOne(item.id):0}}元</p> -->
|
|
162
|
+ <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
|
|
163
|
+ <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
|
|
164
|
+ </div>
|
|
165
|
+ <!-- <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
|
|
166
|
+ <p >审核、调配:</p>
|
|
167
|
+ <p >核对、发药:</p>
|
|
168
|
+ <p style="margin-right: 43px">药师:</p>
|
|
169
|
+ </div> -->
|
294
|
170
|
|
295
|
|
- <p>审核:</p>
|
296
|
|
- <p>配对:</p>
|
297
|
|
- <p>核对:</p>
|
298
|
|
- <p>发药:</p>
|
299
|
|
- <p>
|
300
|
|
- 药费:{{
|
301
|
|
- getTotalOne(item.id).toFixed(2)
|
302
|
|
- ? getTotalOne(item.id).toFixed(2)
|
303
|
|
- : 0
|
304
|
|
- }}元
|
305
|
|
- </p>
|
306
|
|
- <!-- <p>药费:466.2元</p>-->
|
307
|
|
- </div>
|
308
|
|
- <div class="actionBar" v-else>
|
309
|
|
- <p >审核、调配:</p>
|
310
|
|
- <p >核对、发药:</p>
|
311
|
|
- <p >
|
312
|
|
- 药费:{{
|
313
|
|
- getTotalOne(item.id).toFixed(2)
|
314
|
|
- ? getTotalOne(item.id).toFixed(2)
|
315
|
|
- : 0
|
316
|
|
- }}元
|
317
|
|
- </p>
|
318
|
|
- <!-- <p>药费:551.2元</p>-->
|
319
|
|
- <!-- <p>药费:466.2元</p>-->
|
320
|
|
- </div>
|
321
|
|
- <!-- </div> -->
|
|
171
|
+ <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
|
|
172
|
+ <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
|
|
173
|
+ <p>配对:</p>
|
|
174
|
+ <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
|
|
175
|
+ <p>发药:{{getDoctor(item.advices[0].execution_staff)?getDoctor(item.advices[0].execution_staff):""}}</p>
|
|
176
|
+ <p>药费:{{getTotalOne(item.id)?getTotalOne(item.id):0}}元</p> -->
|
|
177
|
+
|
|
178
|
+ <p>审核:</p>
|
|
179
|
+ <p>配对:</p>
|
|
180
|
+ <p>核对:</p>
|
|
181
|
+ <p>发药:</p>
|
|
182
|
+ <p>
|
|
183
|
+ 药费:{{
|
|
184
|
+ getTotalOne(item.id).toFixed(2)
|
|
185
|
+ ? getTotalOne(item.id).toFixed(2)
|
|
186
|
+ : 0
|
|
187
|
+ }}元
|
|
188
|
+ </p>
|
|
189
|
+ <!-- <p>药费:466.2元</p>-->
|
|
190
|
+ </div>
|
|
191
|
+ <div class="actionBar" v-else>
|
|
192
|
+ <p >审核、调配:</p>
|
|
193
|
+ <p >核对、发药:</p>
|
|
194
|
+ <p >
|
|
195
|
+ 药费:{{
|
|
196
|
+ getTotalOne(item.id).toFixed(2)
|
|
197
|
+ ? getTotalOne(item.id).toFixed(2)
|
|
198
|
+ : 0
|
|
199
|
+ }}元
|
|
200
|
+ </p>
|
|
201
|
+ <!-- <p>药费:551.2元</p>-->
|
|
202
|
+ <!-- <p>药费:466.2元</p>-->
|
|
203
|
+ </div>
|
|
204
|
+ <!-- <div style="page-break-after: always"></div> -->
|
322
|
205
|
</div>
|
323
|
206
|
</div>
|
324
|
207
|
</div>
|
|
@@ -344,10 +227,6 @@ export default{
|
344
|
227
|
doctorList: [],
|
345
|
228
|
advicePrint: {},
|
346
|
229
|
yi:4,
|
347
|
|
- arr:[],
|
348
|
|
- arrs:{},
|
349
|
|
- advicess:[],
|
350
|
|
- page:sessionStorage.getItem('dayin'),
|
351
|
230
|
patient: {},
|
352
|
231
|
tableData: [],
|
353
|
232
|
prescriptionInfo: [],
|
|
@@ -449,21 +328,6 @@ export default{
|
449
|
328
|
this.prescriptions = advicePrint;
|
450
|
329
|
|
451
|
330
|
this.doctorList_1 = response.data.data.eles;
|
452
|
|
- for(let i=0;i<this.advicePrint.length;i++){
|
453
|
|
- this.advicess=advicePrint[i].advices
|
454
|
|
- }
|
455
|
|
- for(let j=0;j<this.advicess.length;j++){
|
456
|
|
- for(let x=j+1;x<this.advicess.length;x++){
|
457
|
|
- if(this.advicess[j].groupno == this.advicess[x].groupno){
|
458
|
|
- this.arr.push(this.advicess.splice(x,1))
|
459
|
|
- // this.arrs=this.advicess.splice(x,1)
|
460
|
|
- }
|
461
|
|
- }
|
462
|
|
- }
|
463
|
|
- // this.merge(this.advicess)
|
464
|
|
- // console.log('4444444',this.arrs);
|
465
|
|
- console.log('55555555',this.arr);
|
466
|
|
- console.log('6666666',this.advicess);
|
467
|
331
|
console.log(this.doctorList_1, "医生列表");
|
468
|
332
|
if (this.doctorList_1.length > 0) {
|
469
|
333
|
var operatorsLen = this.doctorList_1.length;
|
|
@@ -596,26 +460,6 @@ export default{
|
596
|
460
|
}
|
597
|
461
|
return name;
|
598
|
462
|
},
|
599
|
|
- merge(arrA){
|
600
|
|
- var len=arrA.lenfth
|
601
|
|
- // for(let j=0;j<this.advicess.length;j++){
|
602
|
|
- // for(let x=j+1;x<this.advicess.length;x++){
|
603
|
|
- // if(this.advicess[j].groupno == this.advicess[x].groupno){
|
604
|
|
- // // this.arr.push(this.advicess.splice(x,1))
|
605
|
|
- // this.arrs=this.advicess.splice(x,1)
|
606
|
|
- // }
|
607
|
|
- // }
|
608
|
|
- // }
|
609
|
|
- for(let j=0;j<len;j++){
|
610
|
|
- for(let x=j+1;x<len;x++){
|
611
|
|
- if(arrA[j].groupno == arrA[x].groupno){
|
612
|
|
- this.arr.push(arrA.splice(x,1))
|
613
|
|
- }
|
614
|
|
- }
|
615
|
|
- }
|
616
|
|
- console.log('777777777',this.arr);
|
617
|
|
- return this.arr
|
618
|
|
- }
|
619
|
463
|
},
|
620
|
464
|
created() {
|
621
|
465
|
this.getAllDoctorList();
|
|
@@ -625,20 +469,7 @@ export default{
|
625
|
469
|
var xtuser = this.$store.getters.xt_user;
|
626
|
470
|
this.orgname = xtuser.org.org_name;
|
627
|
471
|
this.org_id = xtuser.org.id;
|
628
|
|
-
|
629
|
|
- // for(let j=0;j<this.advicess.length;j++){
|
630
|
|
- // console.log('44444444');
|
631
|
|
- // for(let x=j+1;x<this.advicess.length;x++){
|
632
|
|
- // if(this.advicess[j].groupno == this.advicess[x].groupno){
|
633
|
|
- // this.arr.push(this.advicess.splice(x,1))
|
634
|
|
- // }
|
635
|
|
- // }
|
636
|
|
- // }
|
637
|
|
- // console.log('777777777',this.arr[0].advice_name);
|
638
|
|
- // return this.arr
|
639
|
|
-
|
640
|
472
|
},
|
641
|
|
-
|
642
|
473
|
watch: {
|
643
|
474
|
ids: function (val) {
|
644
|
475
|
this.ids = val;
|
|
@@ -695,14 +526,12 @@ export default{
|
695
|
526
|
.drugsBox {
|
696
|
527
|
padding-left: 40px;
|
697
|
528
|
margin-bottom: 10px;
|
698
|
|
- position: relative;
|
699
|
529
|
}
|
700
|
530
|
.drugsBox div {
|
701
|
531
|
line-height: 20px;
|
702
|
532
|
}
|
703
|
533
|
.drugsOne {
|
704
|
534
|
line-height: 24px;
|
705
|
|
- display: inline-block;
|
706
|
535
|
}
|
707
|
536
|
.drugsOne span {
|
708
|
537
|
margin-right: 20px;
|