liding
10 天以前 c16edc131625d4d7dd3624cc1485695bfb89707d
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) => { });
    },