Commit 6129ac35 by fsn

日志模块修改

parent f975aee9
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
<!-- 成员列表 --> <!-- 成员列表 -->
<div class="example-wrap"> <div class="example-wrap">
<div class="example"> <div class="example">
<div class="hidden-xs" id="LogTableToolbar" role="group"> <div class="hidden-xs" id="OptLogTableToolbar" role="group">
<button type="button" class="btn btn-primary" onclick="OptLog.detail()"><i class="fa fa-plus"></i>&nbsp;查看详情</button> <button type="button" class="btn btn-primary" onclick="OptLog.detail()"><i class="fa fa-plus"></i>&nbsp;查看详情</button>
</div> </div>
<table id="LogTable" data-mobile-responsive="true" <table id="OptLogTable" data-mobile-responsive="true"
data-click-to-select="true"> data-click-to-select="true">
<thead> <thead>
<tr> <tr>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* 日志管理初始化 * 日志管理初始化
*/ */
var OptLog = { var OptLog = {
id : "logTable", //表格id id : "OptLogTable", //表格id
seItem : null, //选中的条目 seItem : null, //选中的条目
table : null, table : null,
layerIndex : -1 layerIndex : -1
...@@ -55,8 +55,8 @@ OptLog.detail = function(){ ...@@ -55,8 +55,8 @@ OptLog.detail = function(){
$(function(){ $(function(){
var defaultColunms = OptLog.initColumn(); var defaultColunms = OptLog.initColumn();
var table = new BSTable(OptLog.id,"/log/list",defaultColunms); var table = new BSTable(OptLog.id,"/log/list",defaultColunms);
table.setPaginationType("client"); table.setPaginationType("client");
table.init(); table.init();
OptLog.bindEvent(); OptLog.bindEvent();
OptLog.table = table; OptLog.table = table;
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment