59 lines
2.6 KiB
Plaintext
59 lines
2.6 KiB
Plaintext
|
|
<div id="grid_limitation" style="display: none;height: calc(100% - 230px);">
|
||
|
|
<div class="grid_toolbar">
|
||
|
|
<table style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td style="width:100%;">
|
||
|
|
<button type="button" id="btnDepartment" ui-config="style:'button_submit'">添加部门
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnPerson" ui-config="style:'button_submit'">添加人员
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnClass" ui-config="style:'button_submit'">添加班级
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnCourse" ui-config="style:'button_submit'">添加课程
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnDelete" ui-config="style:'button_danger'">删除
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnImport" ui-config="style:'button_submit'">人员导入
|
||
|
|
</button>
|
||
|
|
</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="user">
|
||
|
|
<span id="spanDepartment">部门</span>
|
||
|
|
<span id="spanPerson">人员</span>
|
||
|
|
<span id="spanClass">班级</span>
|
||
|
|
<span id="spanCourse">课程</span>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr class="row{{i%2}}">
|
||
|
|
<td>
|
||
|
|
<input class="grid_selector" type="checkbox" id="cb{{i}}"/>
|
||
|
|
<span class="spanId" style="display: none">{{value.id}}</span>
|
||
|
|
</td>
|
||
|
|
<td class="tableCenterTd">
|
||
|
|
|
||
|
|
<a class="icon icon_rowedit" title="编辑" href="javascript:void(0);"
|
||
|
|
onclick="editLimitationRow('{{value.id}}');"></a>
|
||
|
|
<a class="icon icon_rowdelete" title="删除" href="javascript:void(0);"
|
||
|
|
onclick="deleteLimitationRow('{{value.id}}');"></a>
|
||
|
|
</td>
|
||
|
|
<td>{{i+1}}</td>
|
||
|
|
<td>
|
||
|
|
<#-- <a title="查看" href="javascript:void(0);" onclick="viewLimitationRow('{{value.id}}','{{value.type}}');">{{value.user}}</a>-->
|
||
|
|
{{value.user}}
|
||
|
|
{{if value.limitation=="3"}}({{value.user_id}}){{/if}}
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div> <#-- 分页-->
|
||
|
|
</div>
|