...
|
...
|
@@ -69,12 +69,22 @@ |
|
|
<h5>模块操作</h5>
|
|
|
</div>
|
|
|
<div class="widget-content nopadding">
|
|
|
<div class="widget-title" style="height: 53px;">
|
|
|
<div class="form-inline">
|
|
|
<a href="#" id="toAddAuthModule" class="btn btn-success"
|
|
|
style="margin-top: 12px;margin-left: 0px;" onclick="editAuthModule(0,0,0)">添加模块</a>
|
|
|
<div class="widget-title" style="height: 36px;">
|
|
|
<div>
|
|
|
<div class="form-inline" role="form" id="inBoxQueryDiv">
|
|
|
<div class="input-group" style="float: left">
|
|
|
<span class="input-group-addon">关键字:</span>
|
|
|
<input type="text" id="user_key" name="user_key" class="form-control" placeholder="" />
|
|
|
</div>
|
|
|
<button id="btnSearch" class="btn btn-primary" style="margin-left: 10px" onclick="btnSearch()">
|
|
|
搜 索
|
|
|
</button>
|
|
|
<a href="#" id="toAddUser" class="btn btn-success"
|
|
|
style="margin-left: 0px;" onclick="editAuthModule(0,0,0)">添加模块</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="authModuleTable">
|
|
|
|
...
|
...
|
@@ -146,10 +156,14 @@ |
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
|
$(function () {
|
|
|
refreshModuleTable();
|
|
|
});
|
|
|
|
|
|
function refreshModuleTable(){
|
|
|
//加载表格
|
|
|
$("#authModuleTable").table({
|
|
|
columnAutoWidth: false,
|
|
|
url: contextPath + "/manage/getAuthModules",
|
|
|
url: contextPath + "/manage/getAuthModules?keys="+ $("#user_key").val().trim(),
|
|
|
striped: true,
|
|
|
title: "模块信息列表",
|
|
|
pagination: true,
|
...
|
...
|
@@ -180,7 +194,12 @@ |
|
|
}
|
|
|
}]
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
|
|
|
function btnSearch() {
|
|
|
alert(1);
|
|
|
refreshModuleTable();
|
|
|
}
|
|
|
|
|
|
//打开新增或修改页面
|
|
|
function editAuthModule(id, name,cname,modulegroup) {
|
...
|
...
|
|