|
@@ -23,7 +23,7 @@
|
23
|
23
|
<div class="infoMain">
|
24
|
24
|
<div style="margin-bottom: 10px;display:flex;">门诊号码:<span class="under_line">{{hisPatient.number?hisPatient.number:""}}</span></div>
|
25
|
25
|
<div style="margin-bottom: 10px;display:flex;">科别:<span class="under_line">{{item.info?getDepart(item.info.departments):''}}</span></div>
|
26
|
|
- <div style="margin-bottom: 10px;display:flex;">临床诊断:{{item.info.diagnosis}}</div>
|
|
26
|
+ <div style="margin-bottom: 10px;display:flex;">临床诊断:{{getDiagnosis(item.info.diagnosis)}}</div>
|
27
|
27
|
<div style="margin-bottom: 10px;display:flex;">自费药品签名:<span class="under_line"></span></div>
|
28
|
28
|
<!-- <div style="margin-bottom: 10px;display:flex;">医保卡号:{{item.hisPatient.number?item.hisPatient.number:""}}</div> -->
|
29
|
29
|
<div style="margin-bottom: 10px;display:flex;">联系方式:<span class="under_line">{{item.patient.phone}}</span></div>
|
|
@@ -256,11 +256,15 @@ export default {
|
256
|
256
|
return project_name
|
257
|
257
|
},
|
258
|
258
|
|
259
|
|
- getDiagnosis(id){
|
|
259
|
+ getDiagnosis(ids){
|
|
260
|
+ let id = ids.split(',')
|
260
|
261
|
var name = ""
|
261
|
262
|
for(let i=0;i<this.diagnoses.length;i++){
|
262
|
|
- if(id == this.diagnoses[i].id){
|
263
|
|
- name = this.diagnoses[i].class_name
|
|
263
|
+ // if(id == this.diagnoses[i].id){
|
|
264
|
+ // name = this.diagnoses[i].class_name
|
|
265
|
+ // }
|
|
266
|
+ if(id.indexOf(this.diagnoses[i].id.toString()) > -1){
|
|
267
|
+ name += this.diagnoses[i].class_name + ' '
|
264
|
268
|
}
|
265
|
269
|
}
|
266
|
270
|
return name
|