From 8314c2943734770c6a38e67147e6367f683df8d1 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期五, 07 三月 2025 11:02:07 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue b/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue index 686e6eb..c214077 100644 --- a/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue @@ -243,9 +243,7 @@ this.outLoading = true exportOutManageRecordCancel(this.queryParams).then(res => { this.outLoading = false - if (res.code == 201) return this.$message.error('瀵煎嚭澶辫触') - let url = this.javaApi + '/word/' + res.data - this.$download.saveAs(url, "浣滃簾鏂囦欢閿�姣佽褰�"); + this.$download.downloadFileFromUrl(res.data, "浣滃簾鏂囦欢閿�姣佽褰�"); }) }, getList() { -- Gitblit v1.9.3