feige
2023-12-07 ad5eea58d5ac15dd08ff51658d717984d098f81e
ruoyi-ui/src/views/healthy/ExaminationInfo.vue
@@ -159,7 +159,10 @@
    return {
      cdi:"健康详细信息",
      udi:"健康信息修改",
      fot:[".jpg",".jif"],
      // 数据范围选项
      fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
      fileList:[
      ],
      fileListOther:[
@@ -222,11 +225,11 @@
      this.btn= jd
      this.dsb = !jd
      this.isShow=true
      document.title = "修改健康详细信息";
   //   document.title = "修改健康详细信息";
      this.$route.meta.title = "修改健康详细信息";//列表的名称
    }
    else{
      document.title = "查看健康详细信息";
   //   document.title = "查看健康详细信息";
      this.$route.meta.title = "查看健康详细信息";//列表的名称
      this.isShow=false
      this.btn = false;
@@ -393,6 +396,20 @@
          _this.fileListOther.push({name:response.data.fileName, url:response.data.url})
        }
        let ul = _this.fileList.map(function (elem){
           return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
         }).join(",")
         let uls = _this.fileListOther.map(function (elem){
           return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
         }).join(",")
         _this.formData.url = ul+","+uls
         console.log(_this.formData.url)
        // alert(87)
         updateExamination(_this.formData).then(response => {
           _this.$modal.msgSuccess("图片上传成功");
           // this.open = false;
         });
      })
    },