输function loadAclModuleTree() {
$.ajax({
url: "/sys/aclModule/tree.json",
success : function (result) {
if(result.ret) {
aclModuleList = result.data;
var rendered = Mustache.render(aclModuleListTemplate, {
aclModuleList: result.data,
"showDownAngle": function () {
return function (text, render) {
return (this.aclModuleList && this.aclModuleList.length > 0) ? "" : "hidden";
}
},
"displayClass": function () {
return "";
}
});
$("#aclModuleList").html(rendered);
recursiveRenderAclModule(result.data);
bindAclModuleClick();
} else {
showMessage("加载权限模块", result.msg, false);
}
}
})
}入正文