- 系统管理模块(用户/角色/组织/权限/日志) - 教育培训计划管理模块 - 教育培训实施模块 - 考试管理模块 - 调研问卷管理模块 - 外派培训管理模块 - 年度培训总结模块 - 学习资源管理模块 - 任职资格管理模块 - 即时通讯模块 - APP 版本管理 - 统计分析模块(FineReport) - 代码审查标准和报告(CODE_REVIEW_GUIDE.md, CODE_REVIEW_REPORT.md) - 项目开发指南(PROJECT_GUIDE.md)
85 lines
4.9 KiB
Plaintext
85 lines
4.9 KiB
Plaintext
<script id="grid_form_temp" type="text/html">
|
||
<input type="hidden" id="hdID" value="{{id}}"/>
|
||
<div class="formTitle"><span class="icon icon_menu"></span>资料信息</div>
|
||
<table class="fromTable">
|
||
<tr>
|
||
<th>标题:</th>
|
||
<td colspan="3"><input id="txttitle" name="title" ui-config="required:true,width:400,validType:'length[1,50]'" value="{{title}}" class="ui_validate"/></td>
|
||
</tr>
|
||
<tr>
|
||
<th>资料分类:</th>
|
||
<td>
|
||
<input id="txtcategory" type="text" name="categoryid" class="ui_validate"
|
||
ui-config="required:true,width:400,tipAfterInput:true,dictKey:'file_cate'" value="{{categoryid}}"/>
|
||
|
||
</td>
|
||
<#-- <th>提供者:</th>-->
|
||
<#-- <td><input id="txtprovider" type="text" name="provider" ui-config="validType:'length[0,10]'" value="{{provider}}" class="ui_validate"/></td>-->
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>简介:</th>
|
||
<td colspan="3"><textarea id="txtReportContent" name="description" class="ui_validate"
|
||
ui-config="required:true,tipAfterInput:true,validType:'length[1,200]',width:400">{{description}}</textarea>
|
||
</td>
|
||
</tr>
|
||
<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>
|
||
</tr>
|
||
<tr id="uploadDes" style="font-style: italic;">
|
||
<th>说明:</th>
|
||
<td colspan="3">上传文件需小于2GB,严禁上传涉密文件!</td>
|
||
</tr>
|
||
<tr id="accList">
|
||
<th>资料附件:</th>
|
||
<td colspan="2">
|
||
<a title="资料下载" href="${webRoot}/resource/file/getFile?id={{id}}&isTransOrgin=1">{{filename}}</a>
|
||
</td>
|
||
<th><button type="button" id="btnReupload" ui-config="">修改资料附件</button></th>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th>上传资料期限:</th>
|
||
<td>
|
||
<input id="txtzlqx" type="text" name="zlqxid" class="ui_validate"
|
||
ui-config="required:true,width:400,tipAfterInput:true,dictKey:'file_qx'" value="{{zlqxid}}" />
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<th>发放范围:</th>
|
||
<td colspan="3" id="tdRange">
|
||
<#if pg=='1' || pg=='3'>
|
||
{{if limitation == "1"}}<input name="like1" id="cbInstitute" type="radio" checked="checked" ui-config="required:true" onclick="specifiedRange(1)"/><label for="cbInstitute">全院</label>
|
||
{{else}}<input name="like1" id="cbInstitute" type="radio" ui-config="required:true" onclick="specifiedRange(1)"/><label for="cbInstitute">全院</label>
|
||
{{/if}}
|
||
{{if limitation == "2"}}<input name="like1" id="cbDepartment" type="radio" checked="checked" ui-config="required:true" onclick="specifiedRange(2)"/><label for="cbDepartment">指定部门</label>
|
||
{{else}}<input name="like1" id="cbDepartment" type="radio" ui-config="required:true" onclick="specifiedRange(2)"/><label for="cbDepartment">指定部门</label>
|
||
{{/if}}
|
||
{{if limitation == "3"}}<input name="like1" id="cbPerson" type="radio" checked="checked" ui-config="required:true" onclick="specifiedRange(3)"/><label for="cbPerson">指定人员</label>
|
||
{{else}}<input name="like1" id="cbPerson" type="radio" ui-config="required:true" onclick="specifiedRange(3)"/><label for="cbPerson">指定人员</label>
|
||
{{/if}}
|
||
</#if>
|
||
<#if pg=='2'>
|
||
{{if limitation == "4"}}<input name="like1" id="cbClass" type="radio" checked="checked" ui-config="required:true" onclick="specifiedRange(4) "/><label for="cbClass">指定班级</label>
|
||
{{else}}<input name="like1" id="cbClass" type="radio" ui-config="required:true" onclick="specifiedRange(4) "/><label for="cbClass">指定班级</label>
|
||
{{/if}}
|
||
{{if limitation == "5"}}<input name="like1" id="cbCourse" type="radio" checked="checked" ui-config="required:true" onclick="specifiedRange(5) "/><label for="cbCourse">指定课程</label>
|
||
{{else}}<input name="like1" id="cbCourse" type="radio" ui-config="required:true" onclick="specifiedRange(5) "/><label for="cbCourse">指定课程</label>
|
||
{{/if}}
|
||
</#if>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<input type="hidden" id="submitState" />
|
||
</script>
|
||
<form id="grid_form_edit" enctype="multipart/form-data" method="post" style="height: 300px">
|
||
</form>
|
||
<#include 'file_limitation.ftl'>
|
||
|
||
<#--<div class="ui_dialog" id="dialog_edit">-->
|
||
<#-- <form id="grid_form_edit" enctype="multipart/form-data" method="post">-->
|
||
<#-- </form>-->
|
||
<#--</div>--> |