EmpBase.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:14k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="EmpBase.aspx.vb" Inherits="ioffice.EmpBase"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  13. <form id="Form1" method="post" runat="server">
  14. <FONT face="宋体">
  15. <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  16. <TR>
  17. <TD style="HEIGHT: 12px"></TD>
  18. </TR>
  19. <TR>
  20. <TD vAlign="top" align="middle">
  21. <TABLE style="WIDTH: 560px; HEIGHT: 422px" cellSpacing="0" cellPadding="0" width="560" border="0">
  22. <TR>
  23. <TD style="HEIGHT: 370px" vAlign="top">
  24. <table height="22" cellSpacing="0" cellPadding="0" width="100%" border="0">
  25. <tr>
  26. <td style="WIDTH: 1px"><asp:imagebutton id="cmdMr3" runat="server" Height="22px" ImageUrl="../../img/emp/mr3.gif"></asp:imagebutton></td>
  27. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMR31" onmouseover="this.src='../../img/emp/mr3100.gif';" onmouseout="this.src='../../img/emp/mr310.gif';" runat="server" ImageUrl="../../img/emp/mr310.gif"></asp:imagebutton></TD>
  28. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr32" onmouseover="this.src='../../img/emp/mr3200.gif';" onmouseout="this.src='../../img/emp/mr320.gif';" runat="server" ImageUrl="../../img/emp/mr320.gif"></asp:imagebutton></TD>
  29. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr33" onmouseover="this.src='../../img/emp/mr3300.gif';" onmouseout="this.src='../../img/emp/mr330.gif';" runat="server" ImageUrl="../../img/emp/mr330.gif"></asp:imagebutton></TD>
  30. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr34" onmouseover="this.src='../../img/emp/mr3400.gif';" onmouseout="this.src='../../img/emp/mr340.gif';" runat="server" ImageUrl="../../img/emp/mr340.gif"></asp:imagebutton></TD>
  31. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr35" onmouseover="this.src='../../img/emp/mr3500.gif';" onmouseout="this.src='../../img/emp/mr350.gif';" runat="server" ImageUrl="../../img/emp/mr350.gif"></asp:imagebutton></TD>
  32. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr36" onmouseover="this.src='../../img/emp/mr3600.gif';" onmouseout="this.src='../../img/emp/mr360.gif';" runat="server" ImageUrl="../../img/emp/mr360.gif"></asp:imagebutton></TD>
  33. <TD class="tttable" style="WIDTH: 1px" noWrap><asp:imagebutton id="cmdMr37" onmouseover="this.src='../../img/emp/mr3700.gif';" onmouseout="this.src='../../img/emp/mr370.gif';" runat="server" ImageUrl="../../img/emp/mr370.gif"></asp:imagebutton></TD>
  34. <TD class="tttable" noWrap>&nbsp;&nbsp;
  35. </TD>
  36. </tr>
  37. </table>
  38. <DIV class="box" style="WIDTH: 100%; POSITION: relative; HEIGHT: 370px" ms_positioning="GridLayout"><asp:textbox id="txtLoginid" style="Z-INDEX: 101; LEFT: 104px; POSITION: absolute; TOP: 16px" runat="server" CssClass="edline" width="153px"></asp:textbox><asp:label id="Label4" style="Z-INDEX: 102; LEFT: 24px; POSITION: absolute; TOP: 16px" runat="server" Height="20px" CssClass="tttable" Width="72px">登录帐号</asp:label><asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 103; LEFT: 257px; POSITION: absolute; TOP: 18px" runat="server" Width="10px" ControlToValidate="txtLoginid" Display="Static" InitialValue="" errormessage="[登录帐号]必须输入!">*</asp:requiredfieldvalidator><asp:label id="Label3" style="Z-INDEX: 104; LEFT: 23px; POSITION: absolute; TOP: 48px" runat="server" Height="16px" CssClass="tttable" Width="67px">员工姓名 </asp:label><asp:textbox id="txtName" style="Z-INDEX: 105; LEFT: 104px; POSITION: absolute; TOP: 48px" runat="server" CssClass="edline" width="153px"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 106; LEFT: 256px; POSITION: absolute; TOP: 51px" runat="server" Width="10px" ControlToValidate="txtName" Display="Static" InitialValue="" errormessage="[员工姓名]必须输入!">*</asp:requiredfieldvalidator><asp:label id="Label9" style="Z-INDEX: 107; LEFT: 24px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable">电子邮件</asp:label><asp:regularexpressionvalidator id="Re1" style="Z-INDEX: 108; LEFT: 260px; POSITION: absolute; TOP: 84px" runat="server" ControlToValidate="txtEmail" Display="Static" errormessage="[电子邮件]地址格式错误!" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*">#
  39.          </asp:regularexpressionvalidator><asp:textbox id="txtEmail" style="Z-INDEX: 109; LEFT: 104px; POSITION: absolute; TOP: 80px" runat="server" CssClass="edline" width="153px"></asp:textbox><asp:label id="Label5" style="Z-INDEX: 110; LEFT: 24px; POSITION: absolute; TOP: 112px" runat="server" Height="20px" CssClass="tttable" Width="64px">办公电话</asp:label><asp:textbox id="txtOfficetel" style="Z-INDEX: 111; LEFT: 104px; POSITION: absolute; TOP: 112px" runat="server" CssClass="edline" width="153px"></asp:textbox><asp:label id="Label6" style="Z-INDEX: 112; LEFT: 24px; POSITION: absolute; TOP: 180px" runat="server" Height="20px" CssClass="tttable" Width="76px">移动电话</asp:label><asp:label id="Label7" style="Z-INDEX: 113; LEFT: 24px; POSITION: absolute; TOP: 144px" runat="server" Height="12px" CssClass="tttable" Width="71px">办公室传真</asp:label><asp:textbox id="txtOfficefax" style="Z-INDEX: 114; LEFT: 104px; POSITION: absolute; TOP: 144px" runat="server" CssClass="edline" width="153px"></asp:textbox><asp:textbox id="txtMobile" style="Z-INDEX: 115; LEFT: 104px; POSITION: absolute; TOP: 180px" runat="server" CssClass="edline" width="153px"></asp:textbox><asp:label id="Label1" style="Z-INDEX: 116; LEFT: 300px; POSITION: absolute; TOP: 180px" runat="server" Height="13px" CssClass="tttable" Width="62px">员工编码 </asp:label><asp:textbox id="txtEmpcode" style="Z-INDEX: 117; LEFT: 372px; POSITION: absolute; TOP: 180px" runat="server" CssClass="edline" width="163px"></asp:textbox><asp:label id="Label2" style="Z-INDEX: 120; LEFT: 24px; POSITION: absolute; TOP: 212px" runat="server" Height="13px" CssClass="tttable" Width="62px">机构</asp:label><asp:textbox id="txtBranchid" style="Z-INDEX: 121; LEFT: 104px; POSITION: absolute; TOP: 216px" runat="server" CssClass="edline" width="153px" AutoPostBack="True" ReadOnly="True"></asp:textbox><asp:imagebutton id="branchbrowse" style="Z-INDEX: 122; LEFT: 260px; POSITION: absolute; TOP: 224px" runat="server" CausesValidation="false" imageurl="../../img/down_arrow.gif"></asp:imagebutton><asp:requiredfieldvalidator id="valBranch" style="Z-INDEX: 123; LEFT: 272px; POSITION: absolute; TOP: 224px" runat="server" ControlToValidate="txtBranchid" ErrorMessage="必须选取员工所在[机构]!">*</asp:requiredfieldvalidator><asp:label id="Label14" style="Z-INDEX: 124; LEFT: 300px; POSITION: absolute; TOP: 216px" runat="server" CssClass="tttable">性别 </asp:label><asp:radiobutton id="cheSex1" style="Z-INDEX: 125; LEFT: 372px; POSITION: absolute; TOP: 212px" runat="server" Height="22px" Width="35px" text="男" GroupName="sex" checked="true"></asp:radiobutton><asp:radiobutton id="cheSex2" style="Z-INDEX: 126; LEFT: 420px; POSITION: absolute; TOP: 212px" runat="server" text="女" GroupName="sex"></asp:radiobutton>
  40. <TABLE class="tableline" style="Z-INDEX: 118; LEFT: 24px; WIDTH: 514px; POSITION: absolute; TOP: 256px; HEIGHT: 102px" borderColor="#999999" cellSpacing="0" cellPadding="0" width="514" border="1">
  41. <TR bgColor="#d8c8a8">
  42. <TD class="tttable" style="WIDTH: 42px; HEIGHT: 21px" align="middle">序号
  43. </TD>
  44. <TD class="tttable" style="WIDTH: 254px; HEIGHT: 21px">部门
  45. </TD>
  46. <TD class="tttable" style="WIDTH: 190px; HEIGHT: 21px">职务
  47. </TD>
  48. <TD class="tttable" style="HEIGHT: 21px" noWrap align="middle">操作
  49. </TD>
  50. </TR>
  51. <TR>
  52. <TD class="tttable" style="WIDTH: 42px" align="middle">1
  53. </TD>
  54. <TD style="WIDTH: 254px"><asp:dropdownlist id="dropDep1" runat="server" Height="23px" CssClass="box" Width="217px" DataValueField="depid" DataTextField="depname"></asp:dropdownlist><asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" CssClass="td" ControlToValidate="dropDep1" ErrorMessage="必须选取至少一个[部门]!">*</asp:requiredfieldvalidator></TD>
  55. <TD style="WIDTH: 190px"><asp:dropdownlist id="dropPos1" runat="server" Height="23px" CssClass="box" Width="178px" DataValueField="name" DataTextField="name"></asp:dropdownlist></TD>
  56. <TD align="middle"><asp:imagebutton id="cmdDel1" runat="server" ImageUrl="../../img/delete.gif" CausesValidation="False" ToolTip="删除"></asp:imagebutton></TD>
  57. </TR>
  58. <TR>
  59. <TD class="tttable" style="WIDTH: 42px; HEIGHT: 28px" align="middle">2
  60. </TD>
  61. <TD style="WIDTH: 254px; HEIGHT: 28px"><asp:dropdownlist id="dropDep2" runat="server" Height="23px" CssClass="box" Width="217px" DataValueField="depid" DataTextField="depname"></asp:dropdownlist></TD>
  62. <TD style="WIDTH: 190px; HEIGHT: 28px"><asp:dropdownlist id="dropPos2" runat="server" Height="23px" CssClass="box" Width="178px" DataValueField="name" DataTextField="name"></asp:dropdownlist></TD>
  63. <TD style="HEIGHT: 28px" align="middle"><asp:imagebutton id="cmdDel2" runat="server" ImageUrl="../../img/delete.gif" CausesValidation="False" ToolTip="删除"></asp:imagebutton></TD>
  64. </TR>
  65. <TR>
  66. <TD class="tttable" style="WIDTH: 42px" align="middle">3
  67. </TD>
  68. <TD style="WIDTH: 254px"><asp:dropdownlist id="dropDep3" runat="server" Height="23px" CssClass="box" Width="218px" DataValueField="depid" DataTextField="depname"></asp:dropdownlist></TD>
  69. <TD style="WIDTH: 190px"><asp:dropdownlist id="dropPos3" runat="server" Height="19px" CssClass="box" Width="179px" DataValueField="name" DataTextField="name"></asp:dropdownlist></TD>
  70. <TD align="middle"><asp:imagebutton id="cmdDel3" runat="server" ImageUrl="../../img/delete.gif" CausesValidation="False" ToolTip="删除"></asp:imagebutton></TD>
  71. </TR>
  72. </TABLE>
  73. <asp:listbox id="lstBranch" style="Z-INDEX: 119; LEFT: 100px; POSITION: absolute; TOP: 238px" runat="server" Height="130px" Width="163px" AutoPostBack="True" DataValueField="branchid" DataTextField="simcode" Visible="False" BackColor="#F0F0F0"></asp:listbox><a 
  74.             href="<%=spicpath%>" target=_blank><IMG id="lnkEmpPic" title="员工照片" style="Z-INDEX: 127; BORDER-LEFT-COLOR: #0099cc; LEFT: 381px; BORDER-BOTTOM-COLOR: #0099cc; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: #0099cc; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; POSITION: absolute; TOP: 11px; BORDER-RIGHT-COLOR: #0099cc; BORDER-BOTTOM-STYLE: solid" src="../../img/logo2.jpg" border="2" runat="server" BorderWidth="1px">
  75. </a>
  76. <asp:linkbutton id="cmdAddPic" style="Z-INDEX: 128; LEFT: 348px; POSITION: absolute; TOP: 143px" runat="server"><img src="../../img/empphoto.gif" border="0" align="absbottom">上传员工照片</asp:linkbutton><asp:hyperlink id="lnkView" style="Z-INDEX: 129; LEFT: 448px; POSITION: absolute; TOP: 143px" runat="server" Target="_blank"><img src="../../img/bigview.gif" border="0" align="absbottom">放大显示...</asp:hyperlink></DIV>
  77. </TD>
  78. </TR>
  79. <TR>
  80. <TD style="WIDTH: 549px; HEIGHT: 10px"></TD>
  81. </TR>
  82. <TR>
  83. <TD style="WIDTH: 549px" vAlign="top">
  84. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  85. <TR>
  86. <TD noWrap><asp:imagebutton id="cmdSaveCon" runat="server" ImageUrl="../../img/button/savecon.gif"></asp:imagebutton><asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton><asp:imagebutton id="cmdDelete" runat="server" ImageUrl="../../img/button/stoplogin.gif" CausesValidation="False"></asp:imagebutton><asp:imagebutton id="cmdAcLoginID" runat="server" ImageUrl="../../img/button/activelogin.gif" CausesValidation="False"></asp:imagebutton><asp:imagebutton id="cmdExit" runat="server" ImageUrl="../../img/button/exit.gif" CausesValidation="False"></asp:imagebutton><A href="empview.aspx" target="_blank"><IMG id="imgPrint" title="浏览完整的员工信息!" alt="" src="../../img/button/print.gif" border="0" runat="server"></A>
  87. </TD>
  88. <TD noWrap align="right">
  89. <TABLE borderColor="#999999" cellSpacing="0" cellPadding="0" width="200" border="1">
  90. <TR>
  91. <TD noWrap align="middle"><asp:linkbutton id="cmdLast" runat="server" Height="13px" CssClass="td" Width="29px"><img src="../../img/left_arrow.gif" border="0" align="absmiddle">上一个</asp:linkbutton><asp:dropdownlist id="dropEmp" runat="server" Height="23px" Width="85px" AutoPostBack="True" DataValueField="empid" DataTextField="baname"></asp:dropdownlist><asp:linkbutton id="cmdNext" runat="server" CssClass="td">下一个<img src="../../img/right_arrow.gif" border="0" align="absmiddle"></asp:linkbutton></TD>
  92. </TR>
  93. </TABLE>
  94. </TD>
  95. </TR>
  96. </TABLE>
  97. <asp:validationsummary id="valSum" runat="server" CssClass="td" ShowMessageBox="True" ShowSummary="False" HeaderText="试图保存员工信息时,出现如下错误。"></asp:validationsummary><asp:label id="lblErr" runat="server" Height="20px" CssClass="err" Visible="False"></asp:label><asp:label id="lblDel" runat="server" Height="20px" Width="11px" Visible="False"></asp:label><asp:label id="lblEmpID" runat="server" Height="20px" Width="74px" Visible="False"></asp:label><asp:label id="lblBranchID" runat="server" Visible="False"></asp:label><asp:label id="lblSEmpID" runat="server" Visible="False"></asp:label><asp:label id="lblLast" runat="server" Visible="False"></asp:label><asp:label id="lblNext" runat="server" Visible="False"></asp:label></TD>
  98. </TR>
  99. </TABLE>
  100. </TD>
  101. </TR>
  102. </TABLE>
  103. </FONT>
  104. </form>
  105. </body>
  106. </HTML>