etms/WEB-INF/view/cetc54/exam/exampaper_list.ftl
liyuchen c24bea2687 Initial commit: JCDP 教育培训管理系统 v54
- 系统管理模块(用户/角色/组织/权限/日志)
- 教育培训计划管理模块
- 教育培训实施模块
- 考试管理模块
- 调研问卷管理模块
- 外派培训管理模块
- 年度培训总结模块
- 学习资源管理模块
- 任职资格管理模块
- 即时通讯模块
- APP 版本管理
- 统计分析模块(FineReport)
- 代码审查标准和报告(CODE_REVIEW_GUIDE.md, CODE_REVIEW_REPORT.md)
- 项目开发指南(PROJECT_GUIDE.md)
2026-04-16 16:41:34 +08:00

121 lines
5.7 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'">
<#if pg=="1">新建试卷</#if>
<#if pg=="2">新建问卷</#if>
</button>
<button type="button" id="btn2" ui-config="style:'button_danger'">删除
</button>
<button type="button" id="btn3" ui-config="style:'button_submit'">
<#if pg=="1">编辑试卷内容</#if>
<#if pg=="2">编辑问卷内容</#if>
</button>
<button type="button" id="btn4" ui-config="style:'button_submit'">
<#if pg=="1">导入新试卷</#if>
<#if pg=="2">导入新问卷</#if>
</button>
<button type="button" id="btn5" ui-config="style:'button_submit'">
<#if pg=="1">导出试卷</#if>
<#if pg=="2">导出问卷</#if>
</button>
<button type="button" id="btn6" ui-config="style:'button_danger'">
<#if pg=="1">撤销试卷</#if>
<#if pg=="2">撤销调研问卷</#if>
</button>
<button type="button" id="btn7" ui-config="style:'button_submit'">
<#if pg=="1">发布考试</#if>
<#if pg=="2">发布调研问卷</#if>
</button>
<#if pg=="2">
<button type="button" id="btn8" ui-config="style:'button_submit'">调研信息汇总</button>
</#if>
<button type="button" id="btn9" ui-config="style:'button_submit'">
<#if pg=="1">预览试卷内容</#if>
<#if pg=="2">预览调研问卷</#if>
</button>
<button type="button" id="btn10" ui-config="style:'button_submit'">
<#if pg=="1">考试详情</#if>
<#if pg=="2">调研详情</#if>
</button>
<#if pg=="1">
<button type="button" id="btn11" ui-config="style:'button_submit'">重新考试</button>
</#if>
<input type="hidden" id="pg" value="${pg}"/>
<input type="hidden" id="pg" value="${pg_l}"/>
</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="name" style="width: 200px">
<#if pg=="1">试卷名称</#if>
<#if pg=="2">问卷名称</#if>
</td>
<td sortfield="category">
<#if pg=="1">试卷类别</#if>
<#if pg=="2">问卷类别</#if>
</td>
<td sortfield="description" style="width: 200px">
<#if pg=="1">试卷描述</#if>
<#if pg=="2">问卷描述</#if>
</td>
<td sortfield="edittime">最后编辑时间</td>
<td sortfield="creatperson">创建人</td>
<td sortfield="createdepartment">部门</td>
<td sortfield="state">状态</td>
</tr>
</thead>
<tbody>
<tr class="row{{i%2}}">
<td>
<#-- {{if value.state=="未开始"}}-->
<input class="grid_selector" type="checkbox" id="cb{{i}}"/>
<#-- {{else}}<input class="grid_selector" type="checkbox" id="cb{{i}}" disabled="disabled" />-->
<#-- {{/if}}-->
</td>
<td class="tableCenterTd">
{{if value.state=="未开始"}}
<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>
{{else}}
<a class="icon icon_rowedit" title="该试卷不允许编辑" href="javascript:void(0);"
onclick="return false" style="opacity: 0.2"></a>
<a class="icon icon_rowdelete" title="该试卷不允许删除" href="javascript:void(0);"
onclick="return false" style="opacity: 0.2"></a>
{{/if}}
</td>
<td>{{i+1}}</td>
<td><a title="{{value.name}}" href="javascript:void(0);"
onclick="viewRow('{{value.id}}','{{value.name}}');">{{value.name}}</a></td>
<td title="{{value.category}}">{{value.category}}</td>
<td title="{{value.description}}">{{value.description}}</td>
<td title="{{value.edittime | dateTimeFilter}}">{{value.edittime | dateTimeFilter}}</td>
<td title="{{value.creatperson}}">{{value.creatperson }}</td>
<td title="{{value.createdepartment}}">{{value.createdepartment }}</td>
<td title="{{value.state}}">{{value.state}}</td>
</tr>
</tbody>
</table>
<div class="grid_pagination"></div>
</div>