From e6c6ada291caf795445e965666f75ab1bea3034c Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Wed, 29 Jul 2026 18:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/views/system/role/index.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/business-css/frontend/src/views/system/role/index.vue b/business-css/frontend/src/views/system/role/index.vue index 4c5b06f..c2823c7 100644 --- a/business-css/frontend/src/views/system/role/index.vue +++ b/business-css/frontend/src/views/system/role/index.vue @@ -111,8 +111,14 @@ function confirmClick(formEl: any) { level: info.value.level, description: info.value.description, }; - addDept(params).then((res) => { + addDept(params).then((res:any) => { gettableData(); + if(res != null && res.code == '0'){ + ElMessage({ + type: "success", + message: "新增成功", + }); + } dialogVisible.value = false; }).catch(() => { isCombo.value = false @@ -124,8 +130,14 @@ function confirmClick(formEl: any) { description: info.value.description, id: info.value.id, }; - renewDept(params).then((res) => { + renewDept(params).then((res:any) => { gettableData(); + if(res != null && res.code == '0'){ + ElMessage({ + type: "success", + message: "修改成功", + }); + } dialogVisible.value = false; }).catch(() => { isCombo.value = false