父部门不能选择&选择树自适应

This commit is contained in:
RuoYi
2018-10-08 13:41:45 +08:00
parent 5b2664a87a
commit 16dc6ab57e
11 changed files with 39 additions and 24 deletions

View File

@ -164,8 +164,7 @@
if(menuId > 0) {
var url = prefix + "/selectMenuTree/" + menuId;
$.modal.open("选择菜单", url, '380', '380');
}
else {
} else {
$.modal.alertError("主菜单不能选择");
}
}
@ -177,13 +176,11 @@
var options = {
title: '菜单选择',
width: "380",
height: "380",
url: url,
callBack: doSubmit
};
$.modal.openOptions(options);
}
else {
} else {
$.modal.alertError("主菜单不能选择");
}
}