etms/WEB-INF/view/cetc54/exam/exampaper_import.ftl

55 lines
2.3 KiB
Plaintext
Raw Normal View History

<#--<div id="grid_form_temp2" type="text/html">-->
<#-- <div class="formTitle"><span class="icon icon_menu"></span>导入新试卷</div>-->
<#-- <table class="fromTable">-->
<#-- <tr id="uploadAcc">-->
<#-- <form id="fileform" enctype="multipart/form-data" method="post">-->
<#-- <th>上传附件:</th>-->
<#-- <td colspan="3">-->
<#-- <input type="file" id="txtaccFile" name="accFile" class="ui_validate" /><input id="hidFile" type="hidden"/>-->
<#-- </td>-->
<#-- <th><button type="button" id="btnUpload" >导入</button></th>-->
<#-- </form>-->
<#-- </tr>-->
<#-- <tr id="accList">-->
<#-- <th>下载试卷模板:</th>-->
<#-- <td><a title="下载" href="${asset_path}/_temp/exam.xls">试卷模板</a>-->
<#-- </td>-->
<#-- </tr>-->
<#-- </table>-->
<#--</div>-->
<#--<div class="ui_dialog" id="importnewpaper_dialog">-->
<form id="fileform" enctype="multipart/form-data" method="post">
</form>
<#--</div>-->
<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>