feige
2024-03-26 71e8709a556ec8782e4da4bcae52fa050ef2066f
ruoyi-ui/src/views/pet/noteInfo.vue
@@ -272,7 +272,7 @@
        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)
@@ -291,7 +291,7 @@
          _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1),res:false})
          else
          _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i],res:false})
       }
      }
    //  _this.fileList1 = _this.fileList
@@ -341,7 +341,7 @@
     const Base64 = require('js-base64').Base64
     this.desurl = process.env.VUE_APP_BASE_OTHER_API+"preview/"+'onlinePreview?url='+encodeURIComponent(Base64.encode(this.dialogFileUrl));
     let myWindow=window.open(this.desurl,'','width=1200,height=800,top=150,left=300');
     let myWindow=window.open(this.desurl,'','width=1200,height=800,top=150,left=300');
@@ -507,11 +507,11 @@
         let _this = this
         this.uploading = true;
      alert(234)
      // alert(234)
         uploadPic(formData).then(response => {
         _this.uploadFileList1 = []
           _this.formData.url = _this.formData.url+","+response.fileNames
        alert(2346)
        // alert(2346)
             updatenotePet(_this.formData).then(response => {
               this.$modal.msgSuccess("文档上传成功");
               // this.open = false;