From 368b525db5f3f4f82b13c074341708a46b9a4111 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 11 三月 2025 09:11:29 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue b/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue index 49004f4..1bea84b 100644 --- a/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue +++ b/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue @@ -177,7 +177,6 @@ this.tableLoading = true getDeviceAcceptanceFileList({ acceptanceId: this.acceptanceId }).then(res => { this.tableLoading = false - if (res.code === 201) return this.tableData = res.data }).catch(err => { this.tableLoading = false @@ -197,7 +196,7 @@ }, // 涓嬭浇 upload(row) { - this.$download.downloadFileFromUrl(row.fileUrl, row.fileName) + this.$download.saveAs(row.fileUrl, row.fileName) }, // 鍒犻櫎 delete(row) { @@ -209,7 +208,6 @@ this.tableLoading = true delDeviceAcceptanceFileList({ acceptanceFileId: row.acceptanceFileId }).then(res => { this.tableLoading = false - if (res.code === 201) return this.$message.success('鍒犻櫎鎴愬姛') this.searchTableList() }).catch(err => { -- Gitblit v1.9.3