etms/WEB-INF/view/etms/exam/exampaper_import.ftl
liyuchen 512d57c5d9 Code fixes: global vars, date API, deprecated SQL, FTL comments
Fixed Issues:
- globalConfig.js: Added const declarations for 10 undeclared regex variables
- globalConfig.js: Fixed getDay() -> getDate() for date comparison
- Removed 16 deprecated SQL definitions from 4 map.xml files
- Cleaned 615+ commented code blocks from 115 FTL templates

Added:
- CODE_FIX_PLAN.md: Detailed fix plan for remaining issues

Remaining (documented in CODE_FIX_PLAN.md):
- 6 async: false AJAX requests to convert
- 120+ SELECT * to optimize
- 6265+ inline styles to refactor
2026-04-16 17:24:37 +08:00

33 lines
1.3 KiB
Plaintext

<form id="fileform" enctype="multipart/form-data" method="post">
</form>
<script id="grid_form_temp2" type="text/html">
<input type="hidden" id="hdIDClass" value="{{id}}"/>
<div class="formTitle"><span class="icon icon_menu"></span>
<#if pg=="1">导入新试卷</#if>
<#if pg=="2">导入新问卷</#if>
</div>
<table class="fromTable">
<tr id="uploadAcc">
<th>上传附件:</th>
<td colspan="3">
<input type="file" id="txtaccFile" name="accFile" class="ui_validate" onchange="checkSize(this)"
ui-config="width:400,missingMessage: '请选择文件!'"/><input id="hidFile" type="hidden"/>
</td>
<th>
<button type="button" id="btnUpload" ui-config="style:'button_submit'">导入</button>
</th>
</tr>
<tr id="accList">
<#if pg=="1">
<th>下载试卷模板:</th>
<td><a title="下载" href="${asset_path}/_temp/exam.xls">试卷模板</a>
</td>
</#if>
<#if pg=="2">
<th>下载问卷模板:</th>
<td><a title="下载" href="${asset_path}/_temp/research.xls">问卷模板</a>
</td>
</#if>
</tr>
</table>
</script>