src/views/business/inspectionTask/inspection.vue
@@ -2884,16 +2884,7 @@ }, handleDown(row) { downFile({ id: row.id }).then((res) => { if (res.code === 200) { let url = ""; if (res.data.type == 1) { url = this.javaApi + "/img/" + res.data.fileUrl; this.$download.saveAs(url, row.fileName) } else { url = this.javaApi + "/word/" + res.data.fileUrl; this.$download.saveAs(url, row.fileName) } } this.$download.downloadFileFromUrl(res.data.fileUrl, row.fileName) }) .catch((error) => { }); },