66 lines
2.9 KiB
Plaintext
66 lines
2.9 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_submit'">导入成绩
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btn3" ui-config="style:'button_submit'">导出成绩
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btn4" ui-config="style:'button_submit'">自动判卷
|
||
|
|
</button>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<span>请选择试卷:</span>
|
||
|
|
<select id="name" name="name" class="ui_validate"
|
||
|
|
ui-config="required:true,width:200,panelHeight:450,valueField:'id',textField:'name'">
|
||
|
|
</select>
|
||
|
|
|
||
|
|
<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 style="display: none">id</td>
|
||
|
|
<td sortfield="user">答题人</td>
|
||
|
|
<td sortfield="department">部门</td>
|
||
|
|
<td sortfield="name" style="width: 200px">试卷名称</td>
|
||
|
|
<#-- total_score是通过SQL语句sum函数求每题得分计算而来-->
|
||
|
|
<td sortfield="total_score">总分数</td>
|
||
|
|
<td sortfield="user_time">答题时间</td>
|
||
|
|
<td sortfield="mark_teacher">判卷人</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.user}}</a></td>-->
|
||
|
|
<td style="display: none">{{value.id}}</td>
|
||
|
|
<td>{{value.user}}</td>
|
||
|
|
<td>{{value.department}}</td>
|
||
|
|
<td>{{value.name}}</td>
|
||
|
|
<td>{{value.total_score}}</td>
|
||
|
|
<td>{{value.user_time | dateTimeFilter}}</td>
|
||
|
|
<td>{{value.mark_teacher }}</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div>
|
||
|
|
</div>
|