mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-09 02:44:44 +08:00
ru
This commit is contained in:
@@ -2,7 +2,8 @@ layui.config({
|
||||
base: "/js/"
|
||||
}).use(['form', 'ztree', 'layer', 'jquery', 'table'], function () {
|
||||
var form = layui.form,
|
||||
layer = parent.layer === undefined ? layui.layer : parent.layer,
|
||||
//layer = parent.layer === undefined ? layui.layer : parent.layer,
|
||||
layer =layui.layer,
|
||||
$ = layui.jquery;
|
||||
var dataurl = '/UserManager/Load';
|
||||
var table = layui.table;
|
||||
@@ -55,6 +56,12 @@ layui.config({
|
||||
}
|
||||
}();
|
||||
|
||||
//上级机构选择框
|
||||
var parent = new ParentTreeMultiple("/UserSession/GetOrgs", "Organizations", "OrganizationIds");
|
||||
$("#Organizations").on("click", function () {
|
||||
parent.reload(layer, $);
|
||||
});
|
||||
|
||||
//监听表格复选框选择
|
||||
table.on('checkbox(list)', function (obj) {
|
||||
console.log(obj);
|
||||
|
||||
Reference in New Issue
Block a user