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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="empadded.aspx.vb" Inherits="ioffice.empadded"%>
  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">
  18. </TD>
  19. </TR>
  20. <TR>
  21. <TD vAlign="top" align="middle">
  22. <TABLE style="WIDTH: 560px; HEIGHT: 419px" cellSpacing="0" cellPadding="0" width="560" border="0">
  23. <TR>
  24. <TD style="WIDTH: 549px; HEIGHT: 8px" vAlign="bottom" colSpan="1" rowSpan="1">
  25. <IMG alt="" loop="0" src="../../img/button/emp.gif" border="0" align="absBottom">
  26. </TD>
  27. </TR>
  28. <TR>
  29. <TD style="WIDTH: 65000%; HEIGHT: 340px" vAlign="top">
  30. <DIV class="box" style="WIDTH: 100%; POSITION: relative; HEIGHT: 100.59%" ms_positioning="GridLayout">
  31. <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 23px; POSITION: absolute; TOP: 16px" runat="server" CssClass="tttable" Height="13px" Width="62px">员工编码 </asp:label>
  32. <asp:textbox id="txtEmpcode" style="Z-INDEX: 102; LEFT: 104px; POSITION: absolute; TOP: 17px" runat="server" CssClass="edline" width="153"></asp:textbox>
  33. <asp:textbox id="txtLoginid" style="Z-INDEX: 103; LEFT: 364px; POSITION: absolute; TOP: 15px" runat="server" CssClass="edline" width="163"></asp:textbox>
  34. <asp:label id="Label4" style="Z-INDEX: 104; LEFT: 278px; POSITION: absolute; TOP: 15px" runat="server" CssClass="tttable" Height="20px" Width="72px">登录帐号</asp:label>
  35. <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 105; LEFT: 532px; POSITION: absolute; TOP: 18px" runat="server" Width="10px" errormessage="[登录帐号]必须输入!" InitialValue="" Display="Static" ControlToValidate="txtLoginid">*</asp:requiredfieldvalidator>
  36. <asp:label id="Label3" style="Z-INDEX: 106; LEFT: 23px; POSITION: absolute; TOP: 48px" runat="server" CssClass="tttable" Height="16px" Width="67px">员工姓名 </asp:label>
  37. <asp:textbox id="txtName" style="Z-INDEX: 107; LEFT: 104px; POSITION: absolute; TOP: 49px" runat="server" CssClass="edline" width="153px"></asp:textbox>
  38. <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 108; LEFT: 256px; POSITION: absolute; TOP: 51px" runat="server" Width="10px" errormessage="[员工姓名]必须输入!" InitialValue="" Display="Static" ControlToValidate="txtName">*</asp:requiredfieldvalidator>
  39. <asp:label id="Label9" style="Z-INDEX: 109; LEFT: 278px; POSITION: absolute; TOP: 47px" runat="server" CssClass="tttable">电子邮件</asp:label>
  40. <asp:regularexpressionvalidator id="Re1" style="Z-INDEX: 110; LEFT: 532px; POSITION: absolute; TOP: 49px" runat="server" errormessage="[电子邮件]地址格式错误!" Display="Static" ControlToValidate="txtEmail" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*">#
  41.          </asp:regularexpressionvalidator>
  42. <asp:textbox id="txtEmail" style="Z-INDEX: 111; LEFT: 364px; POSITION: absolute; TOP: 48px" runat="server" CssClass="edline" width="163px"></asp:textbox>
  43. <asp:label id="Label5" style="Z-INDEX: 112; LEFT: 23px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable" Height="20px" Width="64px">办公电话</asp:label>
  44. <asp:textbox id="txtOfficetel" style="Z-INDEX: 113; LEFT: 104px; POSITION: absolute; TOP: 81px" runat="server" CssClass="edline" width="153px"></asp:textbox>
  45. <asp:label id="Label6" style="Z-INDEX: 114; LEFT: 278px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable" Height="20px" Width="76px">移动电话</asp:label>
  46. <asp:textbox id="txtMobile" style="Z-INDEX: 115; LEFT: 364px; POSITION: absolute; TOP: 81px" runat="server" CssClass="edline" width="163px"></asp:textbox>
  47. <asp:label id="Label7" style="Z-INDEX: 116; LEFT: 23px; POSITION: absolute; TOP: 112px" runat="server" CssClass="tttable" Height="12px" Width="71px">办公室传真</asp:label>
  48. <asp:textbox id="txtOfficefax" style="Z-INDEX: 117; LEFT: 104px; POSITION: absolute; TOP: 113px" runat="server" CssClass="edline" width="153px"></asp:textbox>
  49. <asp:radiobutton id="cheSex2" style="Z-INDEX: 118; LEFT: 144px; POSITION: absolute; TOP: 146px" runat="server" GroupName="sex" text="女"></asp:radiobutton>
  50. <asp:radiobutton id="cheSex1" style="Z-INDEX: 119; LEFT: 104px; POSITION: absolute; TOP: 145px" runat="server" Height="22px" Width="35px" GroupName="sex" text="男" checked="true"></asp:radiobutton>
  51. <asp:label id="Label14" style="Z-INDEX: 120; LEFT: 23px; POSITION: absolute; TOP: 144px" runat="server" CssClass="tttable">性别 </asp:label>
  52. <asp:label id="Label17" style="Z-INDEX: 121; LEFT: 282px; POSITION: absolute; TOP: 116px" runat="server" CssClass="tttable">备注</asp:label>
  53. <asp:label id="Label2" style="Z-INDEX: 122; LEFT: 23px; POSITION: absolute; TOP: 176px" runat="server" CssClass="tttable" Height="13px" Width="62px">机构</asp:label>
  54. <asp:textbox id="txtBranchid" style="Z-INDEX: 123; LEFT: 103px; POSITION: absolute; TOP: 176px" runat="server" CssClass="edline" width="153px" ReadOnly="True" AutoPostBack="True"></asp:textbox>
  55. <asp:imagebutton id="branchbrowse" style="Z-INDEX: 124; LEFT: 257px; POSITION: absolute; TOP: 187px" runat="server" imageurl="../../img/down_arrow.gif" CausesValidation="false"></asp:imagebutton>
  56. <asp:requiredfieldvalidator id="valBranch" style="Z-INDEX: 125; LEFT: 277px; POSITION: absolute; TOP: 183px" runat="server" ControlToValidate="txtBranchid" ErrorMessage="必须选取员工所在[机构]!">*</asp:requiredfieldvalidator>
  57. <asp:textbox id="txtBasnote" style="Z-INDEX: 126; LEFT: 312px; POSITION: absolute; TOP: 130px" runat="server" Height="64px" Width="225px" textmode="multiline" rows="4" COLS="52"></asp:textbox>
  58. <TABLE style="Z-INDEX: 127; LEFT: 22px; WIDTH: 514px; POSITION: absolute; TOP: 218px; HEIGHT: 102px" cellSpacing="0" cellPadding="0" width="514" border="1" class="tableline" borderColor="#999999">
  59. <TR bgColor="#d8c8a8">
  60. <TD class="tttable" style="WIDTH: 42px; HEIGHT: 21px" align="middle">
  61. 序号
  62. </TD>
  63. <TD class="tttable" style="WIDTH: 254px; HEIGHT: 21px">
  64. 部门
  65. </TD>
  66. <TD class="tttable" style="WIDTH: 190px; HEIGHT: 21px">
  67. 职务
  68. </TD>
  69. <TD class="tttable" style="HEIGHT: 21px" noWrap align="middle">
  70. 操作
  71. </TD>
  72. </TR>
  73. <TR>
  74. <TD class="tttable" style="WIDTH: 42px" align="middle">
  75. 1
  76. </TD>
  77. <TD style="WIDTH: 254px">
  78. <asp:dropdownlist id="dropDep1" runat="server" CssClass="box" Height="23px" Width="217px" DataTextField="depname" DataValueField="depid"></asp:dropdownlist>
  79. <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="dropDep1" ErrorMessage="必须选取至少一个[部门]!">*</asp:requiredfieldvalidator>
  80. </TD>
  81. <TD style="WIDTH: 190px">
  82. <asp:dropdownlist id="dropPos1" runat="server" CssClass="box" Height="23px" Width="178px" DataTextField="name" DataValueField="name"></asp:dropdownlist>
  83. </TD>
  84. <TD align="middle">
  85. <asp:imagebutton id="cmdDel1" runat="server" CausesValidation="False" ToolTip="删除" ImageUrl="../../img/delete.gif"></asp:imagebutton>
  86. </TD>
  87. </TR>
  88. <TR>
  89. <TD class="tttable" style="WIDTH: 42px; HEIGHT: 28px" align="middle">
  90. 2
  91. </TD>
  92. <TD style="WIDTH: 254px; HEIGHT: 28px">
  93. <asp:dropdownlist id="dropDep2" runat="server" CssClass="box" Height="23px" Width="217px" DataTextField="depname" DataValueField="depid"></asp:dropdownlist>
  94. </TD>
  95. <TD style="WIDTH: 190px; HEIGHT: 28px">
  96. <asp:dropdownlist id="dropPos2" runat="server" CssClass="box" Height="23px" Width="178px" DataTextField="name" DataValueField="name"></asp:dropdownlist>
  97. </TD>
  98. <TD style="HEIGHT: 28px" align="middle">
  99. <asp:imagebutton id="cmdDel2" runat="server" CausesValidation="False" ToolTip="删除" ImageUrl="../../img/delete.gif"></asp:imagebutton>
  100. </TD>
  101. </TR>
  102. <TR>
  103. <TD class="tttable" style="WIDTH: 42px" align="middle">
  104. 3
  105. </TD>
  106. <TD style="WIDTH: 254px">
  107. <asp:dropdownlist id="dropDep3" runat="server" CssClass="box" Height="23px" Width="218px" DataTextField="depname" DataValueField="depid"></asp:dropdownlist>
  108. </TD>
  109. <TD style="WIDTH: 190px">
  110. <asp:dropdownlist id="dropPos3" runat="server" CssClass="box" Height="19px" Width="179px" DataTextField="name" DataValueField="name"></asp:dropdownlist>
  111. </TD>
  112. <TD align="middle">
  113. <asp:imagebutton id="cmdDel3" runat="server" CausesValidation="False" ToolTip="删除" ImageUrl="../../img/delete.gif"></asp:imagebutton>
  114. </TD>
  115. </TR>
  116. </TABLE>
  117. <asp:listbox id="lstBranch" style="Z-INDEX: 128; LEFT: 102px; POSITION: absolute; TOP: 196px" runat="server" Height="141px" Width="153px" AutoPostBack="True" DataTextField="simcode" DataValueField="branchid" BackColor="#F0F0F0" Visible="False"></asp:listbox>
  118. <asp:CustomValidator id="valEmp" style="Z-INDEX: 129; LEFT: 528px; POSITION: absolute; TOP: 20px" runat="server" ControlToValidate="txtLoginid" ErrorMessage="该[登录帐号]已经存在,请重新输入!">#</asp:CustomValidator>
  119. </DIV>
  120. </TD>
  121. </TR>
  122. <TR>
  123. <TD style="WIDTH: 549px; HEIGHT: 10px">
  124. </TD>
  125. </TR>
  126. <TR>
  127. <TD style="WIDTH: 549px" vAlign="top">
  128. <asp:imagebutton id="cmdSaveCon" runat="server" ImageUrl="../../img/button/savecon.gif"></asp:imagebutton>
  129. <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
  130. <asp:imagebutton id="cmdClsPwd" runat="server" CausesValidation="False" ImageUrl="../../img/button/clspwd.gif"></asp:imagebutton>
  131. <asp:imagebutton id="cmdDelete" runat="server" CausesValidation="False" ImageUrl="../../img/button/stoplogin.gif"></asp:imagebutton>
  132. <asp:imagebutton id="cmdAcLoginID" runat="server" CausesValidation="False" ImageUrl="../../img/button/activelogin.gif"></asp:imagebutton>
  133. <asp:imagebutton id="cmdExit" runat="server" CausesValidation="False" ImageUrl="../../img/button/exit.gif"></asp:imagebutton>
  134. <BR>
  135. <asp:validationsummary id="valSum" runat="server" CssClass="td" HeaderText="试图保存员工信息时,出现如下错误。" ShowSummary="False" ShowMessageBox="True"></asp:validationsummary>
  136. <asp:label id="lblErr" runat="server" CssClass="err" Height="20px" Visible="False"></asp:label>
  137. <asp:label id="lblDel" runat="server" Height="20px" Width="11px" Visible="False"></asp:label>
  138. <asp:label id="lblEmpID" runat="server" Height="20px" Width="74px" Visible="False"></asp:label>
  139. <asp:label id="lblBranchID" runat="server" Visible="False"></asp:label>
  140. </TD>
  141. </TR>
  142. </TABLE>
  143. </TD>
  144. </TR>
  145. </TABLE>
  146. </FONT>
  147. </form>
  148. </body>
  149. </HTML>