mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-02-17 21:56:29 +08:00
routine update
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
$(function () {
|
||||
$.getclientdata();
|
||||
})
|
||||
var clientdataItem = [];
|
||||
var clientorganizeData = [];
|
||||
var clientdepartmentData = [];
|
||||
var clientpostData = [];
|
||||
var clientroleData = [];
|
||||
var clientuserGroup = [];
|
||||
var clientuserData = [];
|
||||
var authorizeMenuData = [];
|
||||
var authorizeButtonData = [];
|
||||
var authorizeColumnData = [];
|
||||
$.getclientdata = function () {
|
||||
$.ajax({
|
||||
url: contentPath + "/ClientData/GetClientDataJson",
|
||||
type: "post",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (data) {
|
||||
clientdataItem = data.dataItem;
|
||||
clientorganizeData = data.organize;
|
||||
clientdepartmentData = data.department;
|
||||
clientpostData = data.post;
|
||||
clientroleData = data.role;
|
||||
clientuserGroup = data.userGroup;
|
||||
clientuserData = data.user;
|
||||
authorizeMenuData = data.authorizeMenu;
|
||||
authorizeButtonData = data.authorizeButton;
|
||||
authorizeColumnData = data.authorizeColumn;
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
dialogMsg(errorThrown, -1);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -801,23 +801,7 @@ dialogMsg = function (content, type) {
|
||||
}
|
||||
layer.msg(content, { icon: type, time: 4000, shift: 5 });
|
||||
}
|
||||
dialogClose = function () {
|
||||
try {
|
||||
var index = layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
||||
var $IsdialogClose = $("#layui-layer" + index).find('.layui-layer-btn').find("#IsdialogClose");
|
||||
var IsClose = $IsdialogClose.is(":checked");
|
||||
if ($IsdialogClose.length == 0) {
|
||||
IsClose = true;
|
||||
}
|
||||
if (IsClose) {
|
||||
layer.close(index);
|
||||
} else {
|
||||
location.reload();
|
||||
}
|
||||
} catch (e) {
|
||||
alert(e)
|
||||
}
|
||||
}
|
||||
|
||||
reload = function () {
|
||||
location.reload();
|
||||
return false;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user