mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
完成资源授权,元旦节正式发布1.0版,敬请期待!
This commit is contained in:
@@ -169,6 +169,23 @@
|
||||
});
|
||||
}
|
||||
|
||||
//为角色分配资源
|
||||
function openRoleReourceAccess(obj) {
|
||||
var selected = getSelected('#@_gridId', 2);
|
||||
if (selected == null) return;
|
||||
|
||||
$(obj).dialog({
|
||||
id: 'accessUserRole',
|
||||
url: '/ResourceManager/LookupMultiForRole',
|
||||
title: '为角色分配资源',
|
||||
width: 600,
|
||||
height: 380,
|
||||
data: {
|
||||
roleId: selected
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//为角色分配菜单
|
||||
function assignRoleElement(obj) {
|
||||
var selected = getSelected('#@_gridId', 2);
|
||||
|
Reference in New Issue
Block a user