52 lines
2.0 KiB
Plaintext
52 lines
2.0 KiB
Plaintext
|
|
<div id="grid">
|
||
|
|
<div class="grid_toolbar">
|
||
|
|
<table style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td style="width:100%;">
|
||
|
|
<button type="button" id="btn1" ui-config="style:'button_submit'">添加
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btn2" ui-config="style:'button_danger'">删除
|
||
|
|
</button>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<input id="searchbox" type="text">
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<table class="grid_data">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<td style="width: 20px;"><input class="grid_selector" type="checkbox" id="cbAll"/></td>
|
||
|
|
<td style="width: 44px;">操作</td>
|
||
|
|
<td style="width: 28px;">序号</td>
|
||
|
|
<td sortfield="rol.name">用户组名称</td>
|
||
|
|
<td sortfield="usr.username">创建人</td>
|
||
|
|
<td sortfield="org.NAME">创建人部门</td>
|
||
|
|
<td sortfield="rol.creater_time">创建时间</td>
|
||
|
|
<td>备注</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr class="row{{i%2}}">
|
||
|
|
<td><input class="grid_selector" type="checkbox" id="cb{{i}}"/></td>
|
||
|
|
<td class="tableCenterTd">
|
||
|
|
|
||
|
|
<a class="icon icon_rowedit" title="编辑" href="javascript:void(0);"
|
||
|
|
onclick="editRow('{{value.id}}');"></a>
|
||
|
|
<a class="icon icon_rowdelete" title="删除" href="javascript:void(0);"
|
||
|
|
onclick="deleteRow('{{value.id}}');"></a>
|
||
|
|
</td>
|
||
|
|
<td>{{i+1}}</td>
|
||
|
|
<td><a title="查看" href="javascript:void(0);"
|
||
|
|
onclick="viewRow('{{value.id}}','{{value.name}}');">{{value.name}}</a></td>
|
||
|
|
<td>{{value.username}}</td>
|
||
|
|
<td>{{value.orgname}}</td>
|
||
|
|
<td>{{value.creater_time |dateTimeFilter}}</td>
|
||
|
|
<td>{{value.reamrk}}</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div>
|
||
|
|
</div>
|