//layui的模板引擎和分页组合用
<body class="gray-bg">
<script type="text/html" id="demo">
#[[{ {# layui.each(d.list, function(index, item){ }}
<tr>
<td width="1%">
{ {index+1}}
</td>
<td width="1%">
<input value="{ {item.id}}" type="checkbox" class="i-checks i" name="input[]">
</td>
<td>{ {item.tableName}}</td>
<td>{ {item.tableComment}}</td>
<td>{ {item.formClass}}</td>
<td>{ {item.version}}</td>
<td width="10%">
<p>
<button value="{ {item.id}}" class="btn btn-danger btn-xs delone" type="button">
<i class="fa fa-upload"></i>
<span class="bold">删除</span>
</button>
</p>
</td>
</tr>
{ {# }); }}]]#
</script>
<div class="ibox-content">
<form role="form" id="form" action="/gTable/list/1-10" class="form-inline" method="post">
<div class="form-group">
<label for="exampleInputEmail2" class="control-label">表名:</label>
<input type="text" name="tableName" placeholder="表名" class="form-control">
<input type="text" name="tableName" placeholder="表名" value="=" hidden=&#