From 573265f7d79341298ba4287be38f00ddbc66e7ec Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 12:00:51 +0800 Subject: [PATCH] 标准查新bug --- src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue b/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue index f4fcca0..cf9982a 100644 --- a/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue @@ -300,10 +300,7 @@ this.outLoading = true exportOutManageRecordIssueRecycle(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() { @@ -366,7 +363,7 @@ this.upLoading = false; if (response.code == 200) { this.$message.success('涓婁紶鎴愬姛'); - this.refreshTable()() + this.refreshTable() } else { this.$message.error('涓婁紶澶辫触'); } @@ -410,9 +407,6 @@ if (this.title == '鏂板') { addManageRecordIssueRecycle(obj).then(res => { this.addLoading = false - if (res.code == 201) { - return - } this.addDialogVisible = false this.$message({ type: 'success', @@ -423,9 +417,6 @@ } else { doManageRecordIssueRecycle(obj).then(res => { this.addLoading = false - if (res.code == 201) { - return - } this.addDialogVisible = false this.$message({ type: 'success', @@ -447,9 +438,6 @@ obj = { id, documentCode, documentName, documentVersion, pages, documentType, number, receiveUser, receiveDate, departLims, signedDate: getYearAndMonthAndDays(), signedUser: this.userId } doManageRecordIssueRecycle(obj).then(res => { this.addLoading = false - if (res.code == 201) { - return - } this.addDialogVisible = false this.$message({ type: 'success', @@ -473,7 +461,6 @@ }) .then(() => { delManageRecordIssueRecycle({ id: row.id }).then((res) => { - if (res.code == 201) return; this.$message.success("鍒犻櫎鎴愬姛"); this.refresh(); }); -- Gitblit v1.9.3