修改提示
This commit is contained in:
parent
01f713bc7c
commit
e6c6ada291
@ -111,8 +111,14 @@ function confirmClick(formEl: any) {
|
|||||||
level: info.value.level,
|
level: info.value.level,
|
||||||
description: info.value.description,
|
description: info.value.description,
|
||||||
};
|
};
|
||||||
addDept(params).then((res) => {
|
addDept(params).then((res:any) => {
|
||||||
gettableData();
|
gettableData();
|
||||||
|
if(res != null && res.code == '0'){
|
||||||
|
ElMessage({
|
||||||
|
type: "success",
|
||||||
|
message: "新增成功",
|
||||||
|
});
|
||||||
|
}
|
||||||
dialogVisible.value = false;
|
dialogVisible.value = false;
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
isCombo.value = false
|
isCombo.value = false
|
||||||
@ -124,8 +130,14 @@ function confirmClick(formEl: any) {
|
|||||||
description: info.value.description,
|
description: info.value.description,
|
||||||
id: info.value.id,
|
id: info.value.id,
|
||||||
};
|
};
|
||||||
renewDept(params).then((res) => {
|
renewDept(params).then((res:any) => {
|
||||||
gettableData();
|
gettableData();
|
||||||
|
if(res != null && res.code == '0'){
|
||||||
|
ElMessage({
|
||||||
|
type: "success",
|
||||||
|
message: "修改成功",
|
||||||
|
});
|
||||||
|
}
|
||||||
dialogVisible.value = false;
|
dialogVisible.value = false;
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
isCombo.value = false
|
isCombo.value = false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user