73 lines
2.8 KiB
Plaintext
73 lines
2.8 KiB
Plaintext
|
|
<div id="grid">
|
||
|
|
<div class="grid_toolbar">
|
||
|
|
<table style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td style="width:100%;">
|
||
|
|
<#if op_Add>
|
||
|
|
<button type="button" id="btn1" ui-config="style:'button_submit'">添加
|
||
|
|
</button>
|
||
|
|
</#if>
|
||
|
|
<#if op_Delete>
|
||
|
|
<button type="button" id="btn2" ui-config="style:'button_danger'">删除
|
||
|
|
</button>
|
||
|
|
</#if>
|
||
|
|
<#if op_Add||op_Delete>
|
||
|
|
<span class="sep"></span>
|
||
|
|
</#if>
|
||
|
|
</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>
|
||
|
|
<#if op_Eidt||op_Delete>
|
||
|
|
<td style="width: 44px;">操作</td>
|
||
|
|
</#if>
|
||
|
|
<td style="width: 28px;">序号</td>
|
||
|
|
<td sortField="name">组织名称</td>
|
||
|
|
<td sortField="orgtype">组织类型</td>
|
||
|
|
<td sortField="is_auto_expand">自动展开</td>
|
||
|
|
<td sortField="sort_no">排序号</td>
|
||
|
|
<td sortField="icon_name">节点图标</td>
|
||
|
|
<td sortField="parent_name">上级组织</td>
|
||
|
|
<td sortField="code">组织编码</td>
|
||
|
|
<td sortField="hotkey">热键</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr class="row{{i%2}}">
|
||
|
|
<td><input class="grid_selector" type="checkbox" id="cb{{i}}"/></td>
|
||
|
|
|
||
|
|
<#if op_Eidt||op_Delete>
|
||
|
|
<td>
|
||
|
|
<#if op_Eidt>
|
||
|
|
<a class="icon icon_rowedit" title="编辑" href="javascript:void(0);"
|
||
|
|
onclick="editRow('{{value.id}}');"></a>
|
||
|
|
</#if>
|
||
|
|
<#if op_Eidt&&op_Delete><span class="sep"></span></#if>
|
||
|
|
<#if op_Delete>
|
||
|
|
<a class="icon icon_rowdelete" title="删除" href="javascript:void(0);"
|
||
|
|
onclick="deleteRow('{{value.id}}');"></a>
|
||
|
|
</#if>
|
||
|
|
</td>
|
||
|
|
</#if>
|
||
|
|
<td>{{i+1}}</td>
|
||
|
|
<td><a title="查看" href="javascript:void(0);"
|
||
|
|
onclick="viewRow('{{value.id}}','{{value.name}}');">{{value.name}}</a></td>
|
||
|
|
<td>{{value.orgtype |orgtypeFilter}}</td>
|
||
|
|
<td>{{value.is_auto_expand |istrueFilter}}</td>
|
||
|
|
<td>{{value.sort_no}}</td>
|
||
|
|
<td>{{value.icon_name}}</td>
|
||
|
|
<td>{{value.parent_name}}</td>
|
||
|
|
<td>{{value.code}}</td>
|
||
|
|
<td>{{value.hotkey}}</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div>
|
||
|
|
</div>
|