|
@@ -55,25 +55,25 @@
|
55
|
55
|
<p>
|
56
|
56
|
医师:
|
57
|
57
|
<span
|
58
|
|
- style="display: inline-block"
|
59
|
|
- v-if="item.creator == ''"
|
60
|
|
- >
|
61
|
|
- {{ item.doctor }}
|
|
58
|
+ style="width: 100px; display: inline-block"
|
|
59
|
+ v-if="item.creator == ''"
|
|
60
|
+ >
|
|
61
|
+ {{ item.doctor ? item.doctor : "" }}
|
62
|
62
|
</span>
|
63
|
|
- <span
|
64
|
|
- style="display: inline-block"
|
65
|
|
- v-else-if="doc_name != ''"
|
66
|
|
- >
|
|
63
|
+ <!-- <span
|
|
64
|
+ style="width: 100px; display: inline-block"
|
|
65
|
+ v-else-if="doc_name != ''"
|
|
66
|
+ >
|
67
|
67
|
{{ doc_name }}
|
68
|
|
- </span>
|
69
|
|
- <img
|
70
|
|
- style="height: 50px;"
|
71
|
|
- :src="setAdminUserES(item.creator,item.doctor)"
|
72
|
|
- alt=""
|
73
|
|
- srcset=""
|
74
|
|
- v-else
|
75
|
|
- />
|
76
|
|
- </p>
|
|
68
|
+ </span> -->
|
|
69
|
+ <img
|
|
70
|
+ style="height: 30px"
|
|
71
|
+ :src="setAdminUserES(item.creator,item.doctor)"
|
|
72
|
+ alt=""
|
|
73
|
+ srcset=""
|
|
74
|
+ v-else
|
|
75
|
+ />
|
|
76
|
+ </p>
|
77
|
77
|
<p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
|
78
|
78
|
</div>
|
79
|
79
|
<div class="actionBar">
|
|
@@ -106,10 +106,12 @@ import {getAllDoctorList,getPrescriptionPrint,getHisPatientDetail} from "@/api/p
|
106
|
106
|
import {getInitData} from "@/api/his/his"
|
107
|
107
|
export default {
|
108
|
108
|
props:{
|
109
|
|
- patient_id:Number,
|
110
|
|
- record_date:String,
|
111
|
|
- prescription_id:Number,
|
112
|
|
- ids:String
|
|
109
|
+ patient_id: Number,
|
|
110
|
+ record_date: String,
|
|
111
|
+ prescription_id: Number,
|
|
112
|
+ his_patient_id:Number,
|
|
113
|
+ ids: String,
|
|
114
|
+ newHisPatient:Object,
|
113
|
115
|
},
|
114
|
116
|
data(){
|
115
|
117
|
return {
|
|
@@ -132,19 +134,14 @@ export default {
|
132
|
134
|
},
|
133
|
135
|
methods:{
|
134
|
136
|
// 电子签名
|
135
|
|
- setAdminUserES(id,name) {
|
136
|
|
- console.log(id)
|
137
|
|
- console.log(name)
|
138
|
|
- console.log(this.operatorMaps)
|
139
|
|
-
|
140
|
|
-
|
|
137
|
+ setAdminUserES(id,name) {
|
141
|
138
|
if (id == 0) {
|
142
|
139
|
return "";
|
143
|
140
|
}
|
144
|
141
|
if (id in this.operatorMaps) {
|
145
|
142
|
return this.operatorMaps[id].url;
|
146
|
143
|
} else {
|
147
|
|
- this.doc_name = name
|
|
144
|
+ this.doc_name = name;
|
148
|
145
|
return "";
|
149
|
146
|
}
|
150
|
147
|
},
|