spring
2025-08-08 2f0774358a91313dc7ed75888b3db27751d66707
修改检验的下载和预览
已修改1个文件
3 ■■■■■ 文件已修改
src/components/do/b1-inspect-order-plan/Inspection.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -4510,9 +4510,11 @@
            let url = "";
            if (res.data.type == 1) {
              url = this.javaApi + "/img/" + res.data.fileUrl;
              url = url.replace(/#/g, "%23");
              file.downloadIamge(url, row.fileName);
            } else {
              url = this.javaApi + "/word/" + res.data.fileUrl;
              url = url.replace(/#/g, "%23");
              const link = document.createElement("a");
              link.href = url;
              link.download = row.fileName;
@@ -4586,6 +4588,7 @@
      } else {
        this.currentFile.url = this.javaApi + "/word/" + row.fileUrl;
      }
      this.currentFile.url = this.currentFile.url.replace(/#/g, "%23");
      this.lookFileVisible = true;
    },
    handleBack() {