|
@@ -79,7 +79,29 @@
|
79
|
79
|
</div>
|
80
|
80
|
|
81
|
81
|
<div style="display: flex; margin-top: 10px; line-height: 24px;padding: 0 10px;">
|
82
|
|
- <div style="width: 300px;">开单医生:{{item.doctor?item.doctor:''}}</div>
|
|
82
|
+ <!-- <div style="width: 300px;">开单医生:{{item.doctor?item.doctor:''}}</div> -->
|
|
83
|
+ <div style="width: 300px;" v-if="org_id==10088 ||org_id==0">
|
|
84
|
+ 开单医生:
|
|
85
|
+ <span
|
|
86
|
+ style="width: 100px; display: inline-block"
|
|
87
|
+ v-if="item.creator == ''"
|
|
88
|
+ >
|
|
89
|
+ {{ item.doctor ? item.doctor : "" }}
|
|
90
|
+ </span>
|
|
91
|
+ <span
|
|
92
|
+ style="width: 100px; display: inline-block"
|
|
93
|
+ v-else-if="doc_name != ''"
|
|
94
|
+ >
|
|
95
|
+ {{ doc_name }}
|
|
96
|
+ </span>
|
|
97
|
+ <img
|
|
98
|
+ style="height: 30px"
|
|
99
|
+ :src="setAdminUserES(item.creator,item.doctor)"
|
|
100
|
+ alt=""
|
|
101
|
+ srcset=""
|
|
102
|
+ v-else
|
|
103
|
+ />
|
|
104
|
+ </div>
|
83
|
105
|
<div style="width: 300px;">签章:</div>
|
84
|
106
|
<div style="width: 300px;">费用:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):''}}元</div>
|
85
|
107
|
</div>
|
|
@@ -252,10 +274,23 @@
|
252
|
274
|
|
253
|
275
|
],
|
254
|
276
|
hisPatient: {},
|
255
|
|
- diagnoses: []
|
|
277
|
+ diagnoses: [],
|
|
278
|
+ org_id:''
|
256
|
279
|
}
|
257
|
280
|
},
|
258
|
281
|
methods: {
|
|
282
|
+ // 电子签名
|
|
283
|
+ setAdminUserES(id,name) {
|
|
284
|
+ if (id == 0) {
|
|
285
|
+ return "";
|
|
286
|
+ }
|
|
287
|
+ if (id in this.operatorMaps) {
|
|
288
|
+ return this.operatorMaps[id].url;
|
|
289
|
+ } else {
|
|
290
|
+ this.doc_name = name
|
|
291
|
+ return "";
|
|
292
|
+ }
|
|
293
|
+ },
|
259
|
294
|
getAge(patient){
|
260
|
295
|
var thisLen = patient.id_card_no.length
|
261
|
296
|
var birth = ''
|
|
@@ -432,7 +467,7 @@
|
432
|
467
|
this.getPrescriptionPrint()
|
433
|
468
|
var xtuser = this.$store.getters.xt_user
|
434
|
469
|
this.orgname = xtuser.org.org_name
|
435
|
|
-
|
|
470
|
+ this.org_id = this.$store.getters.xt_user.org_id
|
436
|
471
|
},
|
437
|
472
|
watch: {
|
438
|
473
|
patient_id: function(val) {
|