ImportEmployee.aspx.exclude 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ImportEmployee.aspx.cs" Inherits="Ehr_ImportEmployee" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. <style type="text/css">
  8. .import_div{border:solid 1px #dedede; width:500px;margin-left:auto;margin-right:auto;margin-top:20px;}
  9. .import_tip{text-align:left;color:red;line-height:18px;padding:5px;}
  10. .import_btn{text-align:center;height:30px;line-height:30px;}
  11. .import_result{text-align: center;height:30px;line-height: 30px;}
  12. </style>
  13. </head>
  14. <script type="text/javascript">
  15. function closeFn(flag) {
  16. if (window.CloseOwnerWindow) {
  17. if (flag != undefined) window.CloseOwnerWindow("save");
  18. else window.CloseOwnerWindow("close");
  19. }
  20. else {
  21. window.close();
  22. }
  23. }
  24. </script>
  25. <body>
  26. <form id="form1" runat="server">
  27. <div class="import_div">
  28. <div class="import_tip">
  29. <p>*要批量导入成员,请先下载模板<a target="_blank" href="../attach/员工批量导入模板.xls">员工批量导入模板.xls</a></p>
  30. <p>*下载后,请按格式填写,填写完毕点击上传导入,即可.</p>
  31. </div>
  32. <div class="import_btn">
  33. 上传文件:<asp:FileUpload ID="xlsFile" runat="server" /><asp:Button runat="server" ID="btnSure" OnClick="btnSure_Click" Text="确认导入"/>
  34. </div>
  35. <div class="import_result">
  36. <asp:Literal runat="server" ID="litResult"></asp:Literal>
  37. </div>
  38. </div>
  39. </form>
  40. </body>
  41. </html>