From 083bc7004fa08f6eebd3003d421db5045ca78d5f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 15:54:36 +0800
Subject: [PATCH] 删除无用代码
---
src/views/CNAS/process/complaint/index.vue | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/src/views/CNAS/process/complaint/index.vue b/src/views/CNAS/process/complaint/index.vue
index 93604ef..aadc61c 100644
--- a/src/views/CNAS/process/complaint/index.vue
+++ b/src/views/CNAS/process/complaint/index.vue
@@ -359,13 +359,6 @@
this.addLoading = true
addProcessComplain(this.addInfo).then((res) => {
this.addLoading = false
- if (res.code == 201) {
- this.$message({
- type: 'error',
- message: '鏂板澶辫触'
- })
- return
- }
this.$message({
type: 'success',
message: '鏂板鎴愬姛'
@@ -397,13 +390,6 @@
}
doProcessComplain(this.currentInfo0).then((res) => {
this.addLoading = false
- if (res.code == 201) {
- this.$message({
- type: 'error',
- message: '鎻愪氦澶辫触'
- })
- return
- }
this.$message({
type: 'success',
message: '鎻愪氦鎴愬姛'
@@ -466,18 +452,12 @@
this.outLoading = true
exportProcessComplain(this.queryParams).then(res => {
this.outLoading = false
- if (res.code == 201) {
- return
- }
const blob = new Blob([res], { type: 'application/octet-stream' });
this.$download.saveAs(blob, '鎶曡瘔鎯呭喌姹囨�昏〃.xlsx');
})
},
handleOut(row) {
getProcessComplain({ id: row.id }).then((res) => {
- if (res.code == 201) {
- return
- }
this.currentInfo = res.data
this.currentInfo0 = this.HaveJson(res.data)
this.title = '瀵煎嚭'
@@ -500,7 +480,6 @@
})
.then(() => {
delProcessComplain({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.refresh();
});
--
Gitblit v1.9.3