EmpBase.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:14k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="EmpBase.aspx.vb" Inherits="ioffice.EmpBase"%>
- <!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: 422px" cellSpacing="0" cellPadding="0" width="560" border="0">
- <TR>
- <TD style="HEIGHT: 370px" vAlign="top">
- <table height="22" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td style="WIDTH: 1px"><asp:imagebutton id="cmdMr3" runat="server" Height="22px" ImageUrl="../../img/emp/mr3.gif"></asp:imagebutton></td>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <TD class="tttable" noWrap>
- </TD>
- </tr>
- </table>
- <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+)*">#
- </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>
- <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">
- <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" 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>
- <TD style="WIDTH: 190px"><asp:dropdownlist id="dropPos1" runat="server" Height="23px" CssClass="box" Width="178px" DataValueField="name" DataTextField="name"></asp:dropdownlist></TD>
- <TD align="middle"><asp:imagebutton id="cmdDel1" runat="server" ImageUrl="../../img/delete.gif" CausesValidation="False" ToolTip="删除"></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" Height="23px" CssClass="box" Width="217px" DataValueField="depid" DataTextField="depname"></asp:dropdownlist></TD>
- <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>
- <TD style="HEIGHT: 28px" align="middle"><asp:imagebutton id="cmdDel2" runat="server" ImageUrl="../../img/delete.gif" CausesValidation="False" ToolTip="删除"></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" Height="23px" CssClass="box" Width="218px" DataValueField="depid" DataTextField="depname"></asp:dropdownlist></TD>
- <TD style="WIDTH: 190px"><asp:dropdownlist id="dropPos3" runat="server" Height="19px" CssClass="box" Width="179px" DataValueField="name" DataTextField="name"></asp:dropdownlist></TD>
- <TD align="middle"><asp:imagebutton id="cmdDel3" runat="server" ImageUrl="../../img/delete.gif" CausesValidation="False" ToolTip="删除"></asp:imagebutton></TD>
- </TR>
- </TABLE>
- <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
- 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">
- </a>
- <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>
- </TD>
- </TR>
- <TR>
- <TD style="WIDTH: 549px; HEIGHT: 10px"></TD>
- </TR>
- <TR>
- <TD style="WIDTH: 549px" vAlign="top">
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <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>
- </TD>
- <TD noWrap align="right">
- <TABLE borderColor="#999999" cellSpacing="0" cellPadding="0" width="200" border="1">
- <TR>
- <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>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- <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>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>