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/measuresDealRisks/components/listRiskAnalysisControlPlans.vue | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue b/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue index bf9e244..988e8e2 100644 --- a/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue +++ b/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue @@ -136,7 +136,6 @@ }, initData() { getPageList(this.search).then(res => { - if (res.code === 201) return; this.tableData = res.data.records; this.search.total = res.data.total; }); @@ -166,7 +165,6 @@ // 瀹℃壒鎺ュ彛 approvalApi(userId, status) { riskAnalysisApprovalOfControlPlanChecklist({ approval: userId, status }).then(res => { - if (res.code === 201) return; this.initData() this.$message({ type: 'success', @@ -199,7 +197,6 @@ // 鎵瑰噯鎺ュ彛 approveApi(userId, status) { approvalOfControlPlanChecklist({ approve: userId, status }).then(res => { - if (res.code === 201) return; this.initData() this.$message({ type: 'success', @@ -214,7 +211,7 @@ }); }, onSuccess(response) { - if (response.code == 201) { + if (response.code != 200) { this.$message({ type: 'error', message: response.message, -- Gitblit v1.9.3