|
@@ -441,14 +441,6 @@ import Neditor from '@/components/Neditor'
|
441
|
441
|
console.log("机构",this.orgtypesMap)
|
442
|
442
|
this.illnessOptions = res.data.illness?res.data.illness:[];
|
443
|
443
|
console.log("疾病类型",this.illnessOptions)
|
444
|
|
- this.fileList = [];
|
445
|
|
- var gallery = res.data.orginfo.org_gallery
|
446
|
|
- console.log("haaaaaaaaaaaaaaaaaa",gallery)
|
447
|
|
- for (const index in gallery) {
|
448
|
|
- var image = {id:gallery[index].id, name:gallery[index].id, url:gallery[index].type==1?gallery[index].url:gallery[index].url+'?vframe/jpg/offset/0/w/100/h/100'};
|
449
|
|
- this.fileList.push(image);
|
450
|
|
- }
|
451
|
|
- console.log("fileList-------------",fileList)
|
452
|
444
|
var illnessList = "21,22,23,24,25,26,27,28,29,30,31,32"
|
453
|
445
|
// var illness = res.data.orginfo.illness.split(',');
|
454
|
446
|
var illness = illnessList.split(',')
|
|
@@ -501,6 +493,15 @@ import Neditor from '@/components/Neditor'
|
501
|
493
|
this.provinces = res.data.provinces;
|
502
|
494
|
this.citys = res.data.citys?res.data.citys:[];
|
503
|
495
|
this.districts = res.data.districts?res.data.districts:[];
|
|
496
|
+ this.fileList = [];
|
|
497
|
+ var gallery = res.data.orginfo.org_gallery
|
|
498
|
+ console.log("haaaaaaaaaaaaaaaaaa",gallery)
|
|
499
|
+ for (const index in gallery) {
|
|
500
|
+ var image = {id:gallery[index].id, name:gallery[index].id, url:gallery[index].type==1?gallery[index].url:gallery[index].url+'?vframe/jpg/offset/0/w/100/h/100'};
|
|
501
|
+ this.fileList.push(image);
|
|
502
|
+ }
|
|
503
|
+ console.log("fileList-------------",fileList)
|
|
504
|
+
|
504
|
505
|
|
505
|
506
|
|
506
|
507
|
} else {
|