吴羡
6 天以前 89fd9ab312c0aef9fcab89fbbaee4add5baa7c57
src/views/business/inspectionView/index.vue
@@ -2470,9 +2470,7 @@
    },
    handleDown(row) {
      downFile({ id: row.id }).then((res) => {
        const resourcePath = Number(res.data.type) === 1 ? "/img/" : "/word/";
        const fileUrl = this.javaApi + resourcePath + encodeURIComponent(res.data.fileUrl);
        this.$download.saveAs(fileUrl, row.fileName);
        return this.$download.attachment(res.data, row.fileName);
      })
        .catch((error) => { });
    },