From bd8391704991df604de96fe5ffd3f180238c683f Mon Sep 17 00:00:00 2001 From: wxyclub Date: Mon, 15 Jul 2024 15:11:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=81=E6=A0=87=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BDBUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/roleTree/index.vue | 1 + .../enterpriseStandardPlan/index.vue | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/components/roleTree/index.vue b/src/components/roleTree/index.vue index 95cc0e074..4f1f135af 100644 --- a/src/components/roleTree/index.vue +++ b/src/components/roleTree/index.vue @@ -412,6 +412,7 @@ watch: { isVisible(val) { this.visible = val + this.filterText= '' if (val) { this.nodeList2 = this.nodeList if (this.nodeList2.length && this.nodeList2[0].length) { diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index d43d60cc4..e922d99c3 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -1657,15 +1657,25 @@ export default { }) } } else { - this.addDrawer = false - this.$message.warning(res.data) - this.getData() + if (res.data === '操作成功') { + this.addDrawer = false + this.$message.success(res.data) + this.submitLoading = false + this.getData() + } else { + this.addDrawer = false + this.$message.warning(res.data) + this.submitLoading = false + this.getData() + } } } else { + this.submitLoading = false this.$message.warning(tips + '失败') } }) } else { + this.submitLoading = false this.$message.warning('请检查表单是否填写正确') } })