routine update

This commit is contained in:
yubaolee
2017-02-07 12:29:11 +08:00
parent cb7ab591c6
commit 6922fea076
6 changed files with 1 additions and 3661 deletions

View File

@@ -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);
}
});
}

View File

@@ -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