From e215039c14857c65f9df56c147d61f0884435f23 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 11:16:31 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue b/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue index e766d78..c214077 100644 --- a/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue @@ -243,10 +243,7 @@ this.outLoading = true exportOutManageRecordCancel(this.queryParams).then(res => { this.outLoading = false - if (res.code == 201) return this.$message.error('瀵煎嚭澶辫触') - this.$message.success('瀵煎嚭鎴愬姛') - let url = this.javaApi + '/word/' + res.data - this.$download.saveAs(url, "浣滃簾鏂囦欢閿�姣佽褰�"); + this.$download.downloadFileFromUrl(res.data, "浣滃簾鏂囦欢閿�姣佽褰�"); }) }, getList() { @@ -297,7 +294,7 @@ this.upLoading = false; if (response.code == 200) { this.$message.success('涓婁紶鎴愬姛'); - this.refreshTable()() + this.refreshTable() } else { this.$message.error('涓婁紶澶辫触'); } -- Gitblit v1.9.3