1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "GraduationPicImport";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Html.BeginForm("GraduationPicImport", "Students", new { MNU = Request["MNU"], WindowID = Request["WindowID"] }, FormMethod.Post, new { enctype = "multipart/form-data" }))
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 照片导入</div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("GraduationImport")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="1">
- <tr>
- <td>
- <label>
- 导入文件:</label>
- </td>
- <td>
- <input type="file" name="file" accept="*.zip;*.rar;" value=" " />
- </td>
- </tr>
- <tr>
- <td colspan="2" style="text-align: center; color: Red;">
- 注:相片以身份证号命名(支持jpg格式的图片),并且使用zip或rar压缩进行上传。
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- <script>
- function Student_EditImport() {
- var filepath = $("input[name='file']").val();
- if (filepath == "") {
- $.messager.alert("系统提示", "请选择你要上传的文件。");
- return;
- }
- $(document.forms[0]).submitWithLoading();
- }
- </script>
|