Browse Source

新分支

28169 8 months ago
parent
commit
f1e15569a8
1 changed files with 9 additions and 8 deletions
  1. 9 8
      src/xt_pages/org/orginfo.vue

+ 9 - 8
src/xt_pages/org/orginfo.vue View File

441
                     console.log("机构",this.orgtypesMap)
441
                     console.log("机构",this.orgtypesMap)
442
                     this.illnessOptions = res.data.illness?res.data.illness:[];
442
                     this.illnessOptions = res.data.illness?res.data.illness:[];
443
                     console.log("疾病类型",this.illnessOptions)
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
                     var illnessList = "21,22,23,24,25,26,27,28,29,30,31,32"
444
                     var illnessList = "21,22,23,24,25,26,27,28,29,30,31,32"
453
                     // var illness = res.data.orginfo.illness.split(',');
445
                     // var illness = res.data.orginfo.illness.split(',');
454
                     var illness = illnessList.split(',')
446
                     var illness = illnessList.split(',')
501
                     this.provinces = res.data.provinces;
493
                     this.provinces = res.data.provinces;
502
                     this.citys = res.data.citys?res.data.citys:[];
494
                     this.citys = res.data.citys?res.data.citys:[];
503
                     this.districts = res.data.districts?res.data.districts:[];
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
                 } else {
507
                 } else {