fix:修改用户权限
This commit is contained in:
parent
45cb42ca2e
commit
bc06fe2004
@ -460,8 +460,8 @@ function submitRoleMenu() {
|
|||||||
|
|
||||||
saveRoleMenu(params)
|
saveRoleMenu(params)
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (res.code === '0') {
|
if (res.code == 200) {
|
||||||
proxy.$ElMessage.success('关联成功');
|
proxy.$ElMessage.success('授权成功');
|
||||||
cancelMenuDialog();
|
cancelMenuDialog();
|
||||||
handleQuery();
|
handleQuery();
|
||||||
}
|
}
|
||||||
|
@ -503,7 +503,8 @@ function submitUserRole() {
|
|||||||
orgNo: orgStr
|
orgNo: orgStr
|
||||||
})
|
})
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (res.code === '0') {
|
console.log(res);
|
||||||
|
if (res.code == "200") {
|
||||||
proxy.$ElMessage.success("更新成功");
|
proxy.$ElMessage.success("更新成功");
|
||||||
cancelRoleDialog();
|
cancelRoleDialog();
|
||||||
handleQuery();
|
handleQuery();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user