|
@@ -108,43 +108,38 @@
|
108
|
108
|
开单日期:
|
109
|
109
|
{{ getTime(pre_time) ? getTime(pre_time).split(" ")[0] : "" }}
|
110
|
110
|
</div>
|
111
|
|
- <div>医生签字:
|
112
|
|
- <span
|
113
|
|
- style="width: 100px; display: inline-block"
|
114
|
|
- v-if="item.creator == ''"
|
115
|
|
- >
|
116
|
|
- {{ item.doctor ? item.doctor : "" }}
|
117
|
|
- </span>
|
118
|
|
- <span
|
119
|
|
- style="width: 100px; display: inline-block"
|
120
|
|
- v-else-if="doc_name != ''"
|
121
|
|
- >
|
122
|
|
- {{ doc_name }}
|
123
|
|
- </span>
|
124
|
|
- <img
|
125
|
|
- style="height: 30px"
|
126
|
|
- :src="setAdminUserES(item.creator,item.doctor)"
|
127
|
|
- alt=""
|
128
|
|
- srcset=""
|
129
|
|
- v-else
|
130
|
|
- />
|
131
|
|
- </div>
|
132
|
|
- </div>
|
|
111
|
+ <div>
|
|
112
|
+ 医生签字:
|
|
113
|
+
|
|
114
|
+ <img
|
|
115
|
+ v-if="setAdminUserES(projectPrint[0].doctor)"
|
|
116
|
+ style="height: 30px"
|
|
117
|
+ :src="setAdminUserES(projectPrint[0].doctor)"
|
|
118
|
+ alt=""
|
|
119
|
+ srcset=""
|
|
120
|
+ />
|
|
121
|
+ <span
|
|
122
|
+ style="width: 100px; display: inline-block"
|
|
123
|
+ v-else-if="advicePrint[0].doctor != ''"
|
|
124
|
+ >
|
|
125
|
+ {{ advicePrint[0].doctor ? advicePrint[0].doctor : "" }}
|
|
126
|
+ </span>
|
|
127
|
+ </div>
|
133
|
128
|
</div>
|
134
|
129
|
</div>
|
135
|
|
- <img
|
136
|
|
- style="width: 100%"
|
137
|
|
- v-if="org_id == 10138"
|
138
|
|
- src="https://kuyi.shengws.com/bailin/blend.jpg"
|
139
|
|
- alt=""
|
140
|
|
- />
|
141
|
|
- <img
|
142
|
|
- style="width: 100%"
|
143
|
|
- v-if="org_id == 10278"
|
144
|
|
- src="https://kuyi.shengws.com/bailinbeier.png"
|
145
|
|
- alt=""
|
146
|
|
- />
|
147
|
130
|
</div>
|
|
131
|
+ <img
|
|
132
|
+ style="width: 100%"
|
|
133
|
+ v-if="org_id == 10138"
|
|
134
|
+ src="https://kuyi.shengws.com/bailin/blend.jpg"
|
|
135
|
+ alt=""
|
|
136
|
+ />
|
|
137
|
+ <img
|
|
138
|
+ style="width: 100%"
|
|
139
|
+ v-if="org_id == 10278"
|
|
140
|
+ src="https://kuyi.shengws.com/bailinbeier.png"
|
|
141
|
+ alt=""
|
|
142
|
+ />
|
148
|
143
|
</div>
|
149
|
144
|
</template>
|
150
|
145
|
<script>
|
|
@@ -165,7 +160,7 @@ export default {
|
165
|
160
|
},
|
166
|
161
|
data() {
|
167
|
162
|
return {
|
168
|
|
- doctorList_1:[],
|
|
163
|
+ doctorList_1: [],
|
169
|
164
|
doctorList: [],
|
170
|
165
|
advicePrint: {},
|
171
|
166
|
patient: {},
|
|
@@ -175,7 +170,7 @@ export default {
|
175
|
170
|
department: [],
|
176
|
171
|
prescriptions: [],
|
177
|
172
|
projectList: [],
|
178
|
|
- doc_name:"",
|
|
173
|
+ doc_name: "",
|
179
|
174
|
orgname: "",
|
180
|
175
|
diagnoses: [],
|
181
|
176
|
pageArr: [],
|
|
@@ -197,7 +192,7 @@ export default {
|
197
|
192
|
getPatientCaseHistory(params).then((response) => {
|
198
|
193
|
if (response.data.state == 1) {
|
199
|
194
|
var history = response.data.data.history;
|
200
|
|
- console.log("中国history222222", history);
|
|
195
|
+ // console.log("中国history222222", history);
|
201
|
196
|
this.history = history;
|
202
|
197
|
}
|
203
|
198
|
});
|
|
@@ -227,7 +222,7 @@ export default {
|
227
|
222
|
}
|
228
|
223
|
return "";
|
229
|
224
|
},
|
230
|
|
-
|
|
225
|
+
|
231
|
226
|
getPrescriptionPrint() {
|
232
|
227
|
var params = {
|
233
|
228
|
// patient_id:this.patient_id,
|
|
@@ -239,21 +234,21 @@ export default {
|
239
|
234
|
ids: this.ids,
|
240
|
235
|
p_type: 2,
|
241
|
236
|
};
|
242
|
|
- console.log("params", params);
|
|
237
|
+ // console.log("params", params);
|
243
|
238
|
getPrescriptionPrint(params).then((response) => {
|
244
|
239
|
if (response.data.state == 1) {
|
245
|
240
|
var advicePrint = response.data.data.advicePrint;
|
246
|
|
- console.log("adviceprint9999", advicePrint);
|
|
241
|
+ // console.log("adviceprint9999", advicePrint);
|
247
|
242
|
this.advicePrint = advicePrint;
|
248
|
243
|
this.prescriptions = advicePrint;
|
249
|
|
- console.log("处方222222", this.prescriptions);
|
|
244
|
+ // console.log("处方222222", this.prescriptions);
|
250
|
245
|
var hisPatient = response.data.data.hisPatient;
|
251
|
|
- console.log("hisPatient", hisPatient);
|
|
246
|
+ // console.log("hisPatient", hisPatient);
|
252
|
247
|
this.hisPatient = hisPatient;
|
253
|
248
|
let projectPrint = [];
|
254
|
249
|
let total = 0;
|
255
|
250
|
this.advicePrint.map((item) => {
|
256
|
|
- console.log("imte233232323232323223", item.project);
|
|
251
|
+ // console.log("imte233232323232323223", item.project);
|
257
|
252
|
if (item.project.length > 0) {
|
258
|
253
|
item.project.map((it) => {
|
259
|
254
|
if (it.type == 2) {
|
|
@@ -265,8 +260,9 @@ export default {
|
265
|
260
|
});
|
266
|
261
|
}
|
267
|
262
|
});
|
|
263
|
+ // console.log(projectPrint,'projectPrint')
|
268
|
264
|
this.doctorList_1 = response.data.data.eles;
|
269
|
|
- console.log(this.doctorList_1, "医生列表");
|
|
265
|
+ // console.log(this.doctorList_1, "医生列表");
|
270
|
266
|
if (this.doctorList_1.length > 0) {
|
271
|
267
|
var operatorsLen = this.doctorList_1.length;
|
272
|
268
|
for (var index = 0; index < operatorsLen; index++) {
|
|
@@ -296,11 +292,11 @@ export default {
|
296
|
292
|
this.doctor = this.advicePrint[0].doctor;
|
297
|
293
|
this.projectPrint = data;
|
298
|
294
|
this.singleProjectPrint = data2;
|
299
|
|
- console.log("99999999999999999", projectPrint);
|
|
295
|
+ console.log("列表", this.projectPrint);
|
300
|
296
|
var projectlist = response.data.data.projectlist;
|
301
|
297
|
|
302
|
298
|
var projectlist = response.data.data.projectlist;
|
303
|
|
- console.log("所有项目列表", projectlist);
|
|
299
|
+ // console.log("所有项目列表", projectlist);
|
304
|
300
|
this.projectList = projectlist;
|
305
|
301
|
this.getPage();
|
306
|
302
|
let outputlist1Name = response.data.data.his.patient_info
|
|
@@ -310,15 +306,15 @@ export default {
|
310
|
306
|
}
|
311
|
307
|
});
|
312
|
308
|
},
|
313
|
|
- // 电子签名
|
314
|
|
- setAdminUserES(id,name) {
|
|
309
|
+ // 电子签名
|
|
310
|
+ setAdminUserES(id) {
|
315
|
311
|
if (id == 0) {
|
316
|
312
|
return "";
|
317
|
313
|
}
|
318
|
314
|
if (id in this.operatorMaps) {
|
|
315
|
+ console.log(this.operatorMaps, "this.operatorMaps");
|
319
|
316
|
return this.operatorMaps[id].url;
|
320
|
317
|
} else {
|
321
|
|
- this.doc_name = name
|
322
|
318
|
return "";
|
323
|
319
|
}
|
324
|
320
|
},
|
|
@@ -329,7 +325,7 @@ export default {
|
329
|
325
|
getHisPatientDetail(params).then((response) => {
|
330
|
326
|
if (response.data.state == 1) {
|
331
|
327
|
var hisPatient = response.data.data.hisPatient;
|
332
|
|
- console.log("挂号病人", hisPatient);
|
|
328
|
+ // console.log("挂号病人", hisPatient);
|
333
|
329
|
this.hisPatient = hisPatient;
|
334
|
330
|
}
|
335
|
331
|
});
|
|
@@ -339,7 +335,7 @@ export default {
|
339
|
335
|
if (response.data.state == 1) {
|
340
|
336
|
this.department = response.data.data.department;
|
341
|
337
|
this.diagnoses = response.data.data.diagnose.sort(this.compare("id"));
|
342
|
|
- console.log("争端", this.diagnoses);
|
|
338
|
+ // console.log("争端", this.diagnoses);
|
343
|
339
|
}
|
344
|
340
|
});
|
345
|
341
|
},
|