From 7951495e980a9e7db31e7dd127c1c4c9266bde34 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 14:23:15 +0800
Subject: [PATCH] 添加费用统计页面
---
src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
index 432faea..60eafd1 100644
--- a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
@@ -345,9 +345,7 @@
this.outLoading = true
exportOutManageRecordIntervals(this.queryParams).then(res => {
this.outLoading = false
- if (res.code == 201) return this.$message.error('瀵煎嚭澶辫触')
- let url = this.javaApi + 'word/' + res.message
- this.$download.saveAs(url, "鏂囦欢瀹氭湡瀹℃煡璁板綍");
+ this.$download.downloadFileFromUrl(res.message, "鏂囦欢瀹氭湡瀹℃煡璁板綍");
})
},
getList() {
@@ -476,9 +474,6 @@
if (this.title == '鏂板') {
addManageRecordIntervals(obj).then(res => {
this.addLoading = false
- if (res.code == 201) {
- return
- }
this.addDialogVisible = false
this.$message({
type: 'success',
@@ -489,9 +484,6 @@
} else {
doManageRecordIntervals(obj).then(res => {
this.addLoading = false
- if (res.code == 201) {
- return
- }
this.addDialogVisible = false
this.$message({
type: 'success',
@@ -518,9 +510,6 @@
ratifyState: state
}).then(res => {
this.checkLoading = false
- if (res.code == 201) {
- return
- }
this.noCheckLoading = false
this.$message({
type: 'success',
@@ -543,8 +532,7 @@
}
},
handleDown0(row) {
- let url = this.javaApi + '/word/' + row.url
- this.$download.saveAs(url, "鎵�鏈夋枃浠跺畾鏈熸鏌ヨ褰�");
+ this.$download.downloadFileFromUrl(row.url, "鎵�鏈夋枃浠跺畾鏈熸鏌ヨ褰�");
},
// 鎻愪氦
handleSubmit(row) {
@@ -556,7 +544,6 @@
submitManageRecordIntervalsTotal({
id: row.id
}).then(res => {
- if (res.code === 201) return
this.$message({
type: 'success',
message: '鎻愪氦鎴愬姛!'
@@ -578,7 +565,6 @@
})
.then(() => {
delManageRecordIntervals({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.refreshTable();
});
--
Gitblit v1.9.3