mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
修复部分BUG,完成为角色分配菜单的界面
This commit is contained in:
@@ -170,5 +170,19 @@
|
||||
});
|
||||
}
|
||||
|
||||
//为角色分配菜单
|
||||
function openAssignElement(obj) {
|
||||
var selected = getSelected(gridid, 2);
|
||||
if (selected == null) return;
|
||||
|
||||
$(obj).dialog({
|
||||
id: 'assignElement',
|
||||
url: '/ModuleElementManager/AssignForRole?roleId=' + selected,
|
||||
title: '为角色分配菜单',
|
||||
width: 700,
|
||||
height:380
|
||||
});
|
||||
}
|
||||
|
||||
//@@ sourceURL=RoleManagerIndex.js
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user