From dd05e06f8a116c6f14c3c78cfc3113d7787043fd Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 14 三月 2025 14:29:39 +0800
Subject: [PATCH] 管理体系文件bug
---
src/views/CNAS/process/complaint/index.vue | 22 +---------------------
1 files changed, 1 insertions(+), 21 deletions(-)
diff --git a/src/views/CNAS/process/complaint/index.vue b/src/views/CNAS/process/complaint/index.vue
index 93604ef..c654149 100644
--- a/src/views/CNAS/process/complaint/index.vue
+++ b/src/views/CNAS/process/complaint/index.vue
@@ -280,6 +280,7 @@
} from '@/api/cnas/process/complaint.js'
import { mapGetters } from "vuex";
export default {
+ name: 'Complaint',
components: {
limsTable
},
@@ -359,13 +360,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 +391,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 +453,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 +481,6 @@
})
.then(() => {
delProcessComplain({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.refresh();
});
--
Gitblit v1.9.3