yz3456
2024-04-09 4383ef853ef4027a81577fa8110938ddbce56410
修改所有模块其他附件需要刷新的问题
15个文件已修改
707 ■■■■■ 已修改文件
ruoyi-ui/src/views/bignote/familyeventInfo.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/clean/cleanInfo.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/collection/collectionInfo.vue 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/contacts/contactsInfo.vue 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/device/equipmentInfo.vue 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/doctor/doctorInfo.vue 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/economy/economyInfo.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/healthy/healthyInfo.vue 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/honor/honorInfo.vue 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/note/propertyInfo.vue 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/pet/noteInfo.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/secret/secretInfo.vue 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/travel/travelInfo.vue 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/wish/wishInfo.vue 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -225,6 +225,7 @@
      fileListOther:[
      ],
      fileListOther1:[],
      fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
      dsb:true,
@@ -334,6 +335,42 @@
  },
  mounted() {},
  methods: {
    getData(){
          const id = this.$route.params && this.$route.params.id;
          let _this = this
          if (id) {
            this.loading = true;
            getFamilyeventInfo(id).then((response) => {
              // console.log(response,'666666666')
              this.formData = response.data;
              let paths = this.formData.url.split(",");
              for(let i = 0; i < paths.length; i++)
              {
                if(paths[i]!="") {
                  let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
          //    alert(pth)
                  if (_this.fot.includes(pth) === true)
              {
              console.log()
                }
                  else {
                    let nms = paths[i].split("\/")
                    let nm = nms[nms.length - 1]
                if(paths[i][0]=="/")
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                  else
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
              }
                }
              }
              _this.fileListOther = _this.fileListOther1
              this.loading = false;
            });
          }
    },
    submitForm() {
      // let ul = this.fileList.map(function (elem){
@@ -500,7 +537,7 @@
       this.fileList.push({name:file.name,url:file.url,res:true})
    },
    //自定义上传方法
    handleChange1(file, fileListOther1) {
    handleChange1(file, fileListOther12) {
           //定义一个全局数组uploadFileList来做存储
         // this.uploadFileList.push(file.raw);
@@ -536,6 +573,8 @@
            updateFamilyevent(_this.formData).then(response => {
              this.$modal.msgSuccess("文档上传成功");
              // this.open = false;
          this.getData()
          this.fileListOther1=[]
            });
          })
ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -223,6 +223,7 @@
      uploadFileList1:[],
      fileListOther:[
      ],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -350,6 +351,42 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getCLeanInfo(id).then((response) => {
          this.formData = response.data;
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
                let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
            //    alert(pth)
                if (_this.fot.includes(pth) === true)
                {
              console.log()
                  }
                else {
                  let nms = paths[i].split("\/")
                  let nm = nms[nms.length - 1]
                  if(paths[i][0]=="/")
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                    else
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                }
              }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        this.getCateInfor()
      }
    },
    getSrc1(type) {
      if (type === 0) {
        return '基金'
@@ -551,7 +588,7 @@
           this.fileList.push({name:file.name,url:file.url,res:true})
        },
        //自定义上传方法
        handleChange1(file, fileListOther1) {
        handleChange1(file, fileListOther12) {
               //定义一个全局数组uploadFileList来做存储
             // this.uploadFileList.push(file.raw);
@@ -587,6 +624,8 @@
                updateClean(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
            this.getData()
            this.fileListOther1=[]
                });
              })
ruoyi-ui/src/views/collection/collectionInfo.vue
@@ -248,6 +248,7 @@
   fileListOther:[
   
   ],
   fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -393,6 +394,49 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getCollection(id).then((response) => {
          this.formData = response.data;
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
           if(paths[i]!="") {
               let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
           //    alert(pth)
               if (_this.fot.includes(pth) === true)
               {
            console.log()
                 }
               else {
                 let nms = paths[i].split("\/")
                 let nm = nms[nms.length - 1]
                 if(paths[i][0]=="/")
                 _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                   else
                   _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
               }
             }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        listType(this.queryParams).then(response => {
            this.typeList = response.data;
            this.total = response.data.total;
            // console.log( this.typeList )
            // 在回调函数中调用 getTypeOptions()
            this.getTypeOptions();
            this.loading = false;
          }
        );
      }
    },
    //类别
    addNewOption() {
      const newOption = this.newOption.trim();
@@ -580,7 +624,7 @@
           this.fileList.push({name:file.name,url:file.url,res:true})
        },
        //自定义上传方法
        handleChange1(file, fileListOther1) {
        handleChange1(file, fileListOther12) {
               //定义一个全局数组uploadFileList来做存储
        
             // this.uploadFileList.push(file.raw);
@@ -616,6 +660,8 @@
                updateCollection(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
            this.getData()
            this.fileListOther1=[]
                });
              })
    
ruoyi-ui/src/views/contacts/contactsInfo.vue
@@ -247,6 +247,7 @@
     fileListOther:[
     
     ],
     fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -387,6 +388,49 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getContactIdList(id).then((response) => {
          this.formData = response.data;
          if(this.formData.isAlways==0)
            this.formData.isAlways='否'
          else
            this.formData.isAlways = '是'
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
          if(paths[i]!="") {
              let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
          //    alert(pth)
              if (_this.fot.includes(pth) === true)
              {
            console.log()
                }
              else {
                // alert(paths[i])
               // alert()
                let nms = paths[i].split("\/")
                let nm = nms[nms.length - 1]
                if(paths[i][0]=="/")
                _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                  else
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
              }
            }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        this.getCateInfor()
      }
    },
    submitForm() {
  
@@ -565,7 +609,7 @@
         this.fileList.push({name:file.name,url:file.url,res:true})
      },
      //自定义上传方法
      handleChange1(file, fileListOther1) {
      handleChange1(file, fileListOther12) {
             //定义一个全局数组uploadFileList来做存储
      
           // this.uploadFileList.push(file.raw);
@@ -605,6 +649,8 @@
              updateContact(_this.formData).then(response => {
                this.$modal.msgSuccess("文档上传成功");
                // this.open = false;
            this.getData()
            this.fileListOther1=[]
              });
            })
  
ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -223,6 +223,7 @@
      fileListOther:[
      
      ],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -363,6 +364,45 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getEquipmentInfo(id).then((response) => {
          this.formData = response.data;
          if(this.formData.status==1)
            this.formData.status = '是'
          else
          this.formData.status = '否'
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
                let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
            //    alert(pth)
                if (_this.fot.includes(pth) === true)
                {
              console.log()
                  }
                else {
                  let nms = paths[i].split("\/")
                  let nm = nms[nms.length - 1]
                  if(paths[i][0]=="/")
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                    else
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                }
              }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
      }
    },
    /** 查询类别信息 */
    // getCateInfor()
    // {
@@ -563,7 +603,7 @@
           this.fileList.push({name:file.name,url:file.url,res:true})
        },
        //自定义上传方法
        handleChange1(file, fileListOther1) {
        handleChange1(file, fileListOther12) {
               //定义一个全局数组uploadFileList来做存储
        
             // this.uploadFileList.push(file.raw);
@@ -604,6 +644,8 @@
                updateEquipment(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
            this.getData()
            this.fileListOther1=[]
                });
              })
    
ruoyi-ui/src/views/doctor/doctorInfo.vue
@@ -247,6 +247,7 @@
      fileListOther:[
      
      ],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -392,6 +393,49 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getDoctor(id).then((response) => {
          this.formData = response.data;
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
                let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
            //    alert(pth)
                if (_this.fot.includes(pth) === true)
                {
              console.log()
                  }
                else {
                  let nms = paths[i].split("\/")
                  let nm = nms[nms.length - 1]
                  if(paths[i][0]=="/")
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                    else
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                }
              }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        listType(this.queryParams).then(response => {
            this.typeList = response.data;
            this.total = response.data.total;
            // console.log( this.typeList )
            // 在回调函数中调用 getTypeOptions()
            this.getTypeOptions();
            this.loading = false;
          }
        );
      }
    },
    //类别
    addNewOption() {
      const newOption = this.newOption.trim();
@@ -576,7 +620,7 @@
           this.fileList.push({name:file.name,url:file.url,res:true})
        },
        //自定义上传方法
        handleChange1(file, fileListOther1) {
        handleChange1(file, fileListOther12) {
               //定义一个全局数组uploadFileList来做存储
        
             // this.uploadFileList.push(file.raw);
@@ -612,6 +656,8 @@
                updateDoctor(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
              this.getData()
              this.fileListOther1=[]
                });
              })
    
ruoyi-ui/src/views/economy/economyInfo.vue
@@ -220,6 +220,7 @@
      fileListOther:[
      ],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -355,6 +356,43 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
       if (id) {
         this.loading = true;
         getEconomyInfo(id).then((response) => {
           this.formData = response.data;
          // console.log(this.formData)
           //alert(this.formData.ownData)
           let paths = response.data.url.split(",");
           for(let i = 0; i < paths.length; i++)
           {
             if(paths[i]!="") {
                 let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
             //    alert(pth)
                 if (_this.fot.includes(pth) === true)
                 {
              console.log()
                   }
                 else {
                   let nms = paths[i].split("\/")
                   let nm = nms[nms.length - 1]
                   if(paths[i][0]=="/")
                   _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                     else
                     _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                 }
               }
           }
           _this.fileListOther = _this.fileListOther1
           this.loading = false;
         });
       }
    },
    getSrc1(price) {
      if (price === 收入) {
        return '收入'
@@ -525,7 +563,7 @@
          this.fileList.push({name:file.name,url:file.url,res:true})
       },
       //自定义上传方法
       handleChange1(file, fileListOther1) {
       handleChange1(file, fileListOther12) {
              //定义一个全局数组uploadFileList来做存储
            // this.uploadFileList.push(file.raw);
@@ -561,6 +599,8 @@
               updateEconomy(_this.formData).then(response => {
                 this.$modal.msgSuccess("文档上传成功");
                 // this.open = false;
            this.getData()
            this.fileListOther1=[]
               });
             })
ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -208,9 +208,8 @@
      fileList1:[],
      uploadFileList:[],
      uploadFileList1:[],
      fileListOther:[
      ],
      fileListOther:[],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -329,6 +328,45 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getHealthInfo({id}).then((response) => {
          this.formData = response.data;
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
                let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
            //    alert(pth)
                if (_this.fot.includes(pth) === true)
                {
              console.log()
                  }
                else {
                  // alert(paths[i])
                 // alert()
                  let nms = paths[i].split("\/")
                  let nm = nms[nms.length - 1]
                  if(paths[i][0]=="/")
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                    else
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                }
              }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
      }
    },
    getSrc1(type) {
      if (type === 0) {
        return '基金'
@@ -559,6 +597,8 @@
                updateHealth(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
              this.getData()
              this.fileListOther1=[]
                });
              })
    
ruoyi-ui/src/views/honor/honorInfo.vue
@@ -254,9 +254,8 @@
      fileList1:[],
      uploadFileList:[],
      uploadFileList1:[],
      fileListOther:[
      ],
      fileListOther:[],
          fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -423,6 +422,55 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getHonor({id}).then((response) => {
          this.formData = response.data;
        //    alert(this.formData.type)
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
                let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
            //    alert(pth)
                if (_this.fot.includes(pth) === true)
                {
              console.log()
                  }
                else {
                  // alert(paths[i])
                 // alert()
                  let nms = paths[i].split("\/")
                  let nm = nms[nms.length - 1]
                  if(paths[i][0]=="/")
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                    else
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                }
              }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        listType(this.queryParams).then(response => {
            this.typeList = response.data;
            this.total = response.data.total;
            // console.log( this.typeList )
            // 在回调函数中调用 getTypeOptions()
            this.getTypeOptions();
            this.loading = false;
          }
        );
        this.fetchData()
        // this.getCateInfor()
      }
    },
    // 获取数据方法
    fetchData(id) {
      const url = 'https://47.93.189.255:8080/zHonor/id=${id}'; // 接口 URL'/zHonor/id='+query
@@ -693,6 +741,8 @@
            updateHonor(_this.formData).then(response => {
              this.$modal.msgSuccess("文档上传成功");
              // this.open = false;
          this.getData()
          this.fileListOther1=[]
            });
          })
ruoyi-ui/src/views/note/propertyInfo.vue
@@ -222,6 +222,7 @@
     fileListOther:[
     
     ],
     fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -335,6 +336,41 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getPropertyInfo(id).then((response) => {
          this.formData = response.data;
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
           if(paths[i]!="") {
               let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
               if (_this.fot.includes(pth) === true)
               {
            console.log()
                 }
               else {
                 let nms = paths[i].split("\/")
                 let nm = nms[nms.length - 1]
                 if(paths[i][0]=="/")
                 _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                   else
                   _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
               }
          }
      }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        this.getCateInfor()
      }
    },
    /** 查询类别信息 */
    getCateInfor()
    {
@@ -517,7 +553,7 @@
           this.fileList.push({name:file.name,url:file.url,res:true})
        },
        //自定义上传方法
        handleChange1(file, fileListOther1) {
        handleChange1(file, fileListOther12) {
               //定义一个全局数组uploadFileList来做存储
        
             // this.uploadFileList.push(file.raw);
@@ -553,6 +589,8 @@
                updateProperty(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
            this.getData()
            this.fileListOther1=[]
                });
              })
    
ruoyi-ui/src/views/pet/noteInfo.vue
@@ -191,6 +191,7 @@
      fileListOther:[
      ],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -303,6 +304,43 @@
  },
  mounted() {},
  methods: {
    getData(){
          const id = this.$route.params && this.$route.params.id;
          let _this = this
          if (id) {
            this.loading = true;
            getPetnoteList(id).then((response) => {
              this.formData = response.data;
              let paths = response.data.url.split(",");
              for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
              let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
          //    alert(pth)
              if (_this.fot.includes(pth) === true)
              {
            console.log()
                }
              else {
                // alert(paths[i])
               // alert()
                let nms = paths[i].split("\/")
                let nm = nms[nms.length - 1]
                if(paths[i][0]=="/")
                _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                  else
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
              }
            }
          }
          _this.fileListOther = _this.fileListOther1
              this.loading = false;
            });
          }
    },
    submitForm() {
      let ul = this.fileList.map(function (elem){
        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
@@ -477,7 +515,7 @@
          this.fileList.push({name:file.name,url:file.url,res:true})
       },
       //自定义上传方法
       handleChange1(file, fileListOther1) {
       handleChange1(file, fileListOther12) {
              //定义一个全局数组uploadFileList来做存储
            // this.uploadFileList.push(file.raw);
@@ -516,6 +554,8 @@
                 this.$modal.msgSuccess("文档上传成功");
                 // this.open = false;
            this.uploading = false;
            this.getData()
            this.fileListOther1=[]
               });
             })
ruoyi-ui/src/views/secret/secretInfo.vue
@@ -233,9 +233,8 @@
        fileList1:[],
        uploadFileList:[],
        uploadFileList1:[],
        fileListOther:[
        ],
        fileListOther:[],
        fileListOther1:[],
        dsb:true,
        btn:false,
        isShow:true,
@@ -404,6 +403,57 @@
    },
    mounted() {},
    methods: {
      getData(){
        const id = this.$route.params && this.$route.params.id;
        let _this = this
         if (id) {
           this.loading = true;
           getSecretInfo({id}).then((response) => {
             _this.formData = response.data;
             if(_this.formData.isFinger==1)
               _this.formData.isFinger = '是'
             else
             _this.formData.isFinger = '否'
        if(_this.formData.isFace==1)
               _this.formData.isFace = '是'
             else
             _this.formData.isFace = '否'
             if(_this.formData.isPrivate==0)
                    _this.formData.isPrivate = '公有'
                  else
                  _this.formData.isPrivate = '私有'
             let paths = response.data.url.split(",");
             for(let i = 0; i < paths.length; i++)
             {
               if(paths[i]!="") {
                   let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
               //    alert(pth)
                   if (_this.fot.includes(pth) === true)
                   {
                console.log()
                     }
                   else {
                    // alert()
                     let nms = paths[i].split("\/")
                     let nm = nms[nms.length - 1]
                     if(paths[i][0]=="/")
                     _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                       else
                       _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                   }
                 }
             }
            _this.fileListOther = _this.fileListOther1
             this.loading = false;
           });
           this.getCateInfo()
         }
      },
        getCateInfo()
        {
            let _this = this
@@ -715,6 +765,8 @@
                  updateSecret(_this.formData).then(response => {
                    this.$modal.msgSuccess("文档上传成功");
                    // this.open = false;
                this.getData()
                this.fileListOther1=[]
                  });
                })
      
ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
@@ -257,6 +257,7 @@
      uploadFileList:[],
      uploadFileList1:[],
      fileListOther:[],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -412,11 +413,52 @@
      // this.getCateInfor()
    }
    console.log(_this.fileList,'666')
        console.log(_this.fileListOther,'888')
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getSelfEconomyInfo({id}).then((response) => {
          this.formData = response.data;
      if(this.formData.status==1)
          this.formData.status = '是'
      else
          this.formData.status = '否'
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
            if(paths[i]!="") {
                let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
                // alert(pth)
                if (_this.fot.includes(pth) === true)
                {
              console.log()
                  }
                else {
                  // alert(paths[i])
                 // alert()
                  let nms = paths[i].split("\/")
                  let nm = nms[nms.length - 1]
                  if(paths[i][0]=="/")
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                    else
                    _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
                }
              }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        // this.getCateInfor()
      }
    },
    /** 查询类别信息 */
    // getCateInfor()
    // {
@@ -619,7 +661,7 @@
        this.fileList.push({name:file.name,url:file.url,res:true})
     },
     //自定义上传方法
     handleChange1(file, fileListOther1) {
     handleChange1(file, fileListOther12) {
            //定义一个全局数组uploadFileList来做存储
          // this.uploadFileList.push(file.raw);
@@ -660,6 +702,8 @@
             updateSelfEconomy(_this.formData).then(response => {
               this.$modal.msgSuccess("文档上传成功");
               // this.open = false;
          this.getData()
          this.fileListOther1=[]
          if(this.formData.status== 1)
              this.formData.status = '是'
          else
ruoyi-ui/src/views/travel/travelInfo.vue
@@ -242,9 +242,8 @@
     fileList1:[],
     uploadFileList:[],
     uploadFileList1:[],
     fileListOther:[
     ],
     fileListOther:[],
     fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -371,6 +370,53 @@
  },
  mounted() {},
  methods: {
    getData(){
          const id = this.$route.params && this.$route.params.id;
          let _this = this
          if (id) {
            this.loading = true;
            getTravelBaseInfo(id).then((response) => {
              this.formData = response.data;
              let paths = response.data.url.split(",");
              for(let i = 0; i < paths.length; i++)
              {
          if(paths[i]!="") {
              let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
          //    alert(pth)
              if (_this.fot.includes(pth) === true)
              {
                  if(paths[i].includes("https"))
                _this.fileList.push({name:paths[i],url: paths[i],res:false})
                else
                {
              console.log()
                }
                }
              else {
                // alert(paths[i])
               // alert()
                 if(paths[i].includes("https"))
                 _this.fileListOther.push({name:paths[i],url: paths[i],res:false})
                 else{
                let nms = paths[i].split("\/")
                let nm = nms[nms.length - 1]
                if(paths[i][0]=="/")
                _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                  else
                  _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
              }
              }
            }
              }
              _this.fileListOther = _this.fileListOther1
              this.loading = false;
            });
          }
    },
    submitForm() {
      let ul = this.fileList.map(function (elem){
@@ -543,7 +589,7 @@
           this.fileList.push({name:file.name,url:file.url,res:true})
        },
        //自定义上传方法
        handleChange1(file, fileListOther1) {
        handleChange1(file, fileListOther12) {
               //定义一个全局数组uploadFileList来做存储
        
             // this.uploadFileList.push(file.raw);
@@ -579,6 +625,8 @@
                updateTravelBase(_this.formData).then(response => {
                  this.$modal.msgSuccess("文档上传成功");
                  // this.open = false;
              this.getData()
              this.fileListOther1=[]
                });
              })
    
ruoyi-ui/src/views/wish/wishInfo.vue
@@ -243,9 +243,8 @@
      fileList1:[],
      uploadFileList:[],
      uploadFileList1:[],
      fileListOther:[
      ],
      fileListOther:[],
      fileListOther1:[],
      dsb:true,
      btn:false,
      isShow:true,
@@ -379,6 +378,44 @@
  },
  mounted() {},
  methods: {
    getData(){
      const id = this.$route.params && this.$route.params.id;
      let _this = this
      if (id) {
        this.loading = true;
        getWish({id}).then((response) => {
          this.formData = response.data;
          let paths = response.data.url.split(",");
          for(let i = 0; i < paths.length; i++)
          {
         if(paths[i]!="") {
             let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
         //    alert(pth)
             if (_this.fot.includes(pth) === true)
             {
          console.log()
               }
             else {
               // alert(paths[i])
              // alert()
               let nms = paths[i].split("\/")
               let nm = nms[nms.length - 1]
               if(paths[i][0]=="/")
               _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
                 else
                 _this.fileListOther1.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
             }
           }
          }
          _this.fileListOther = _this.fileListOther1
          this.loading = false;
        });
        // this.getCateInfor()
      }
    },
    submitForm() {
      let ul = this.fileList.map(function (elem){
        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
@@ -548,7 +585,7 @@
       this.fileList.push({name:file.name,url:file.url,res:true})
    },
    //自定义上传方法
    handleChange1(file, fileListOther1) {
    handleChange1(file, fileListOther12) {
           //定义一个全局数组uploadFileList来做存储
    
         // this.uploadFileList.push(file.raw);
@@ -584,6 +621,8 @@
            updateWish(_this.formData).then(response => {
              this.$modal.msgSuccess("文档上传成功");
              // this.open = false;
          this.getData()
          this.fileListOther1=[]
            });
          })