From 2d55ed180fddd028bf4f839345bf0ef4d2f032e7 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 07 三月 2025 13:34:31 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue b/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue index ef71f30..d64c541 100644 --- a/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue @@ -283,9 +283,7 @@ // queryParams exportOutManageRecordCheck(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, '鏂囦欢瀹℃壒璁板綍') }) }, getAuthorizedPerson() { @@ -313,7 +311,6 @@ if (action === 'confirm') { // 鐐瑰嚮鈥滅‘瀹氣�濇寜閽紝鍏佽鍏抽棴 checkManageRecordCheck({ id: row.id, checkState: '閫氳繃' }).then(res => { - if (res.code === 201) return this.refreshTable() done(); this.$message({ @@ -327,7 +324,6 @@ } else if (action === 'cancel') { // 鐐瑰嚮鈥滃彇娑堚�濇寜閽紝涓嶅厑璁稿叧闂� checkManageRecordCheck({ id: row.id, checkState: '涓嶉�氳繃' }).then(res => { - if (res.code === 201) return this.refreshTable() done(); this.$message({ @@ -359,7 +355,6 @@ if (action === 'confirm') { // 鐐瑰嚮鈥滅‘瀹氣�濇寜閽紝鍏佽鍏抽棴 ratifyManageRecordCheck({ id: row.id, ratifyState: '閫氳繃' }).then(res => { - if (res.code === 201) return this.refreshTable() done(); this.$message({ @@ -373,7 +368,6 @@ } else if (action === 'cancel') { // 鐐瑰嚮鈥滃彇娑堚�濇寜閽紝涓嶅厑璁稿叧闂� ratifyManageRecordCheck({ id: row.id, ratifyState: '涓嶉�氳繃' }).then(res => { - if (res.code === 201) return this.refreshTable() done(); this.$message({ @@ -462,7 +456,6 @@ }) .then(() => { delManageRecordCheck({ id: row.id }).then((res) => { - if (res.code == 201) return; this.$message.success("鍒犻櫎鎴愬姛"); this.refresh(); }); -- Gitblit v1.9.3