修改提示
This commit is contained in:
parent
01f713bc7c
commit
e6c6ada291
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user