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('请检查表单是否填写正确') } })