empadded.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:12k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="empadded.aspx.vb" Inherits="ioffice.empadded"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title></title>
- <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <FONT face="宋体">
- <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="HEIGHT: 12px">
- </TD>
- </TR>
- <TR>
- <TD vAlign="top" align="middle">
- <TABLE style="WIDTH: 560px; HEIGHT: 419px" cellSpacing="0" cellPadding="0" width="560" border="0">
- <TR>
- <TD style="WIDTH: 549px; HEIGHT: 8px" vAlign="bottom" colSpan="1" rowSpan="1">
- <IMG alt="" loop="0" src="../../img/button/emp.gif" border="0" align="absBottom">
- </TD>
- </TR>
- <TR>
- <TD style="WIDTH: 65000%; HEIGHT: 340px" vAlign="top">
- <DIV class="box" style="WIDTH: 100%; POSITION: relative; HEIGHT: 100.59%" ms_positioning="GridLayout">
- <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 23px; POSITION: absolute; TOP: 16px" runat="server" CssClass="tttable" Height="13px" Width="62px">员工编码 </asp:label>
- <asp:textbox id="txtEmpcode" style="Z-INDEX: 102; LEFT: 104px; POSITION: absolute; TOP: 17px" runat="server" CssClass="edline" width="153"></asp:textbox>
- <asp:textbox id="txtLoginid" style="Z-INDEX: 103; LEFT: 364px; POSITION: absolute; TOP: 15px" runat="server" CssClass="edline" width="163"></asp:textbox>
- <asp:label id="Label4" style="Z-INDEX: 104; LEFT: 278px; POSITION: absolute; TOP: 15px" runat="server" CssClass="tttable" Height="20px" Width="72px">登录帐号</asp:label>
- <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>
- <asp:label id="Label3" style="Z-INDEX: 106; LEFT: 23px; POSITION: absolute; TOP: 48px" runat="server" CssClass="tttable" Height="16px" Width="67px">员工姓名 </asp:label>
- <asp:textbox id="txtName" style="Z-INDEX: 107; LEFT: 104px; POSITION: absolute; TOP: 49px" runat="server" CssClass="edline" width="153px"></asp:textbox>
- <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>
- <asp:label id="Label9" style="Z-INDEX: 109; LEFT: 278px; POSITION: absolute; TOP: 47px" runat="server" CssClass="tttable">电子邮件</asp:label>
- <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+)*">#
- </asp:regularexpressionvalidator>
- <asp:textbox id="txtEmail" style="Z-INDEX: 111; LEFT: 364px; POSITION: absolute; TOP: 48px" runat="server" CssClass="edline" width="163px"></asp:textbox>
- <asp:label id="Label5" style="Z-INDEX: 112; LEFT: 23px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable" Height="20px" Width="64px">办公电话</asp:label>
- <asp:textbox id="txtOfficetel" style="Z-INDEX: 113; LEFT: 104px; POSITION: absolute; TOP: 81px" runat="server" CssClass="edline" width="153px"></asp:textbox>
- <asp:label id="Label6" style="Z-INDEX: 114; LEFT: 278px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable" Height="20px" Width="76px">移动电话</asp:label>
- <asp:textbox id="txtMobile" style="Z-INDEX: 115; LEFT: 364px; POSITION: absolute; TOP: 81px" runat="server" CssClass="edline" width="163px"></asp:textbox>
- <asp:label id="Label7" style="Z-INDEX: 116; LEFT: 23px; POSITION: absolute; TOP: 112px" runat="server" CssClass="tttable" Height="12px" Width="71px">办公室传真</asp:label>
- <asp:textbox id="txtOfficefax" style="Z-INDEX: 117; LEFT: 104px; POSITION: absolute; TOP: 113px" runat="server" CssClass="edline" width="153px"></asp:textbox>
- <asp:radiobutton id="cheSex2" style="Z-INDEX: 118; LEFT: 144px; POSITION: absolute; TOP: 146px" runat="server" GroupName="sex" text="女"></asp:radiobutton>
- <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>
- <asp:label id="Label14" style="Z-INDEX: 120; LEFT: 23px; POSITION: absolute; TOP: 144px" runat="server" CssClass="tttable">性别 </asp:label>
- <asp:label id="Label17" style="Z-INDEX: 121; LEFT: 282px; POSITION: absolute; TOP: 116px" runat="server" CssClass="tttable">备注</asp:label>
- <asp:label id="Label2" style="Z-INDEX: 122; LEFT: 23px; POSITION: absolute; TOP: 176px" runat="server" CssClass="tttable" Height="13px" Width="62px">机构</asp:label>
- <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>
- <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>
- <asp:requiredfieldvalidator id="valBranch" style="Z-INDEX: 125; LEFT: 277px; POSITION: absolute; TOP: 183px" runat="server" ControlToValidate="txtBranchid" ErrorMessage="必须选取员工所在[机构]!">*</asp:requiredfieldvalidator>
- <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>
- <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">
- <TR bgColor="#d8c8a8">
- <TD class="tttable" style="WIDTH: 42px; HEIGHT: 21px" align="middle">
- 序号
- </TD>
- <TD class="tttable" style="WIDTH: 254px; HEIGHT: 21px">
- 部门
- </TD>
- <TD class="tttable" style="WIDTH: 190px; HEIGHT: 21px">
- 职务
- </TD>
- <TD class="tttable" style="HEIGHT: 21px" noWrap align="middle">
- 操作
- </TD>
- </TR>
- <TR>
- <TD class="tttable" style="WIDTH: 42px" align="middle">
- 1
- </TD>
- <TD style="WIDTH: 254px">
- <asp:dropdownlist id="dropDep1" runat="server" CssClass="box" Height="23px" Width="217px" DataTextField="depname" DataValueField="depid"></asp:dropdownlist>
- <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="dropDep1" ErrorMessage="必须选取至少一个[部门]!">*</asp:requiredfieldvalidator>
- </TD>
- <TD style="WIDTH: 190px">
- <asp:dropdownlist id="dropPos1" runat="server" CssClass="box" Height="23px" Width="178px" DataTextField="name" DataValueField="name"></asp:dropdownlist>
- </TD>
- <TD align="middle">
- <asp:imagebutton id="cmdDel1" runat="server" CausesValidation="False" ToolTip="删除" ImageUrl="../../img/delete.gif"></asp:imagebutton>
- </TD>
- </TR>
- <TR>
- <TD class="tttable" style="WIDTH: 42px; HEIGHT: 28px" align="middle">
- 2
- </TD>
- <TD style="WIDTH: 254px; HEIGHT: 28px">
- <asp:dropdownlist id="dropDep2" runat="server" CssClass="box" Height="23px" Width="217px" DataTextField="depname" DataValueField="depid"></asp:dropdownlist>
- </TD>
- <TD style="WIDTH: 190px; HEIGHT: 28px">
- <asp:dropdownlist id="dropPos2" runat="server" CssClass="box" Height="23px" Width="178px" DataTextField="name" DataValueField="name"></asp:dropdownlist>
- </TD>
- <TD style="HEIGHT: 28px" align="middle">
- <asp:imagebutton id="cmdDel2" runat="server" CausesValidation="False" ToolTip="删除" ImageUrl="../../img/delete.gif"></asp:imagebutton>
- </TD>
- </TR>
- <TR>
- <TD class="tttable" style="WIDTH: 42px" align="middle">
- 3
- </TD>
- <TD style="WIDTH: 254px">
- <asp:dropdownlist id="dropDep3" runat="server" CssClass="box" Height="23px" Width="218px" DataTextField="depname" DataValueField="depid"></asp:dropdownlist>
- </TD>
- <TD style="WIDTH: 190px">
- <asp:dropdownlist id="dropPos3" runat="server" CssClass="box" Height="19px" Width="179px" DataTextField="name" DataValueField="name"></asp:dropdownlist>
- </TD>
- <TD align="middle">
- <asp:imagebutton id="cmdDel3" runat="server" CausesValidation="False" ToolTip="删除" ImageUrl="../../img/delete.gif"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <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>
- <asp:CustomValidator id="valEmp" style="Z-INDEX: 129; LEFT: 528px; POSITION: absolute; TOP: 20px" runat="server" ControlToValidate="txtLoginid" ErrorMessage="该[登录帐号]已经存在,请重新输入!">#</asp:CustomValidator>
- </DIV>
- </TD>
- </TR>
- <TR>
- <TD style="WIDTH: 549px; HEIGHT: 10px">
- </TD>
- </TR>
- <TR>
- <TD style="WIDTH: 549px" vAlign="top">
- <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="cmdClsPwd" runat="server" CausesValidation="False" ImageUrl="../../img/button/clspwd.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdDelete" runat="server" CausesValidation="False" ImageUrl="../../img/button/stoplogin.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdAcLoginID" runat="server" CausesValidation="False" ImageUrl="../../img/button/activelogin.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdExit" runat="server" CausesValidation="False" ImageUrl="../../img/button/exit.gif"></asp:imagebutton>
- <BR>
- <asp:validationsummary id="valSum" runat="server" CssClass="td" HeaderText="试图保存员工信息时,出现如下错误。" ShowSummary="False" ShowMessageBox="True"></asp:validationsummary>
- <asp:label id="lblErr" runat="server" CssClass="err" Height="20px" 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>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>