|
@@ -251,13 +251,14 @@ export default {
|
251
|
251
|
},
|
252
|
252
|
|
253
|
253
|
getDiagnosis(id){
|
254
|
|
- var name = ""
|
255
|
|
- for(let i=0;i<this.diagnoses.length;i++){
|
256
|
|
- if(id == this.diagnoses[i].id){
|
257
|
|
- name = this.diagnoses[i].class_name
|
258
|
|
- }
|
259
|
|
- }
|
260
|
|
- return name
|
|
254
|
+ let arr = id.split(',')
|
|
255
|
+ var name = ""
|
|
256
|
+ for(let i=0;i<this.diagnoses.length;i++){
|
|
257
|
+ if(arr.indexOf(String(this.diagnoses[i].id)) > -1){
|
|
258
|
+ name += this.diagnoses[i].class_name + ' '
|
|
259
|
+ }
|
|
260
|
+ }
|
|
261
|
+ return name
|
261
|
262
|
}
|
262
|
263
|
|
263
|
264
|
},
|