EmpBase.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:12k
- <%@ Page Language="c#" AutoEventWireup="false" Codebehind="EmpBase.aspx.cs" Inherits="qminoa.Webs.MR.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="../lynn.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 id="Table1" cellSpacing="0" cellPadding="1" width="300" bgColor="black" border="0">
- <TR>
- <TD>
- <TABLE id="Table2" style="WIDTH: 560px; HEIGHT: 422px" cellSpacing="0" cellPadding="0" width="560" bgColor="white" border="0">
- <TR>
- <TD style="HEIGHT: 257px" vAlign="top">
- <TABLE id="Table3" height="22" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr3" runat="server" ImageUrl="../img/emp/mr3.gif" Height="22px"></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></TD>
- <TD class="tttable" noWrap>
- </TD>
- </TR>
- </TABLE>
- <DIV class="box" style="WIDTH: 99.98%; POSITION: relative; HEIGHT: 287px" ms_positioning="GridLayout">
- <asp:textbox id="txtLoginid" style="Z-INDEX: 101; LEFT: 91px; POSITION: absolute; TOP: 16px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label4" style="Z-INDEX: 102; LEFT: 28px; POSITION: absolute; TOP: 19px" runat="server" Height="18px" CssClass="tttable" Font-Size="X-Small" Width="58px">登录帐号</asp:label>
- <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 103; LEFT: 258px; POSITION: absolute; TOP: 16px" runat="server" Font-Size="X-Small" Width="10px" errormessage="[登录帐号]必须输入!" InitialValue="" Display="Static" ControlToValidate="txtLoginid">*</asp:requiredfieldvalidator><asp:label id="Label3" style="Z-INDEX: 104; LEFT: 24px; POSITION: absolute; TOP: 48px" runat="server" Height="16px" CssClass="tttable" Font-Size="X-Small" Width="67px">人员姓名 </asp:label>
- <asp:textbox id="txtName" style="Z-INDEX: 105; LEFT: 91px; POSITION: absolute; TOP: 47px" runat="server" Height="20px" width="152px" CssClass="edline" Font-Size="X-Small"></asp:textbox>
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 106; LEFT: 255px; POSITION: absolute; TOP: 48px" runat="server" Font-Size="X-Small" Width="10px" errormessage="[人员姓名]必须输入!" InitialValue="" Display="Static" ControlToValidate="txtName">*</asp:requiredfieldvalidator><asp:label id="Label9" style="Z-INDEX: 107; LEFT: 24px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable" Font-Size="X-Small">电子邮件</asp:label>
- <asp:regularexpressionvalidator id="Re1" style="Z-INDEX: 108; LEFT: 255px; POSITION: absolute; TOP: 80px" runat="server" Font-Size="X-Small" errormessage="[电子邮件]地址格式错误!" Display="Static" ControlToValidate="txtEmail" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*">#
- </asp:regularexpressionvalidator><asp:textbox id="txtEmail" style="Z-INDEX: 109; LEFT: 91px; POSITION: absolute; TOP: 79px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label5" style="Z-INDEX: 110; LEFT: 24px; POSITION: absolute; TOP: 114px" runat="server" Height="20px" CssClass="tttable" Font-Size="X-Small" Width="64px">办公电话</asp:label>
- <asp:textbox id="txtOfficetel" style="Z-INDEX: 111; LEFT: 91px; POSITION: absolute; TOP: 113px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label6" style="Z-INDEX: 112; LEFT: 23px; POSITION: absolute; TOP: 182px" runat="server" Height="20px" CssClass="tttable" Font-Size="X-Small" Width="76px">移动电话</asp:label>
- <asp:label id="Label7" style="Z-INDEX: 113; LEFT: 23px; POSITION: absolute; TOP: 148px" runat="server" Height="12px" CssClass="tttable" Font-Size="X-Small" Width="88px">办公室传真</asp:label>
- <asp:textbox id="txtOfficefax" style="Z-INDEX: 114; LEFT: 90px; POSITION: absolute; TOP: 147px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:textbox id="txtMobile" style="Z-INDEX: 115; LEFT: 90px; POSITION: absolute; TOP: 181px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox>
- <asp:label id="Label1" style="Z-INDEX: 116; LEFT: 286px; POSITION: absolute; TOP: 178px" runat="server" Height="13px" CssClass="tttable" Font-Size="X-Small" Width="72px">人员编码 </asp:label>
- <asp:textbox id="txtEmpcode" style="Z-INDEX: 117; LEFT: 355px; POSITION: absolute; TOP: 176px" runat="server" Height="20px" width="163px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label2" style="Z-INDEX: 118; LEFT: 30px; POSITION: absolute; TOP: 215px" runat="server" Height="13px" CssClass="tttable" Font-Size="X-Small" Width="56px">机 构</asp:label>
- <asp:requiredfieldvalidator id="valBranch" style="Z-INDEX: 119; LEFT: 261px; POSITION: absolute; TOP: 219px" runat="server" Font-Size="X-Small" ControlToValidate="dropBranch" ErrorMessage="必须选取人员所在[机构]!">*</asp:requiredfieldvalidator>
- <asp:label id="Label14" style="Z-INDEX: 120; LEFT: 293px; POSITION: absolute; TOP: 216px" runat="server" CssClass="tttable" Font-Size="X-Small">性别 </asp:label>
- <asp:radiobuttonlist id="EmpSex" style="Z-INDEX: 121; LEFT: 355px; POSITION: absolute; TOP: 215px" RepeatDirection="Horizontal" Runat="server" AutoPostBack=False>
- <asp:ListItem Text="男" Value="0" Selected=True></asp:ListItem>
- <asp:ListItem Text="女" Value="1"></asp:ListItem>
- </asp:radiobuttonlist><IMG id="lnkEmpPic" title="人员照片" style="Z-INDEX: 123; BORDER-LEFT-COLOR: #0099cc; LEFT: 348px; 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">
- <asp:linkbutton id="cmdAddPic" style="Z-INDEX: 124; LEFT: 376px; POSITION: absolute; TOP: 144px" runat="server" Font-Size="X-Small"><img src="../img/empphoto.gif" border="0" align="absbottom">上传人员照片</asp:linkbutton>
- <asp:dropdownlist id=dropBranch style="Z-INDEX: 125; LEFT: 90px; POSITION: absolute; TOP: 212px" runat="server" Height="24px" Font-Size="X-Small" Width="152px" AutoPostBack="True" DataSource="<%# BraTB %>" DataValueField="BranchID" DataTextField="SimpleCode">
- </asp:dropdownlist><asp:label id="Label8" style="Z-INDEX: 126; LEFT: 30px; POSITION: absolute; TOP: 252px" runat="server" Height="26px" Font-Size="X-Small" Width="48px">部 门</asp:label><asp:label id="Label10" style="Z-INDEX: 127; LEFT: 292px; POSITION: absolute; TOP: 256px" runat="server" Height="24px" Font-Size="X-Small" Width="40px">职 务</asp:label>
- <asp:dropdownlist id=dropDep AutoPostBack=False style="Z-INDEX: 128; LEFT: 87px; POSITION: absolute; TOP: 250px" runat="server" Height="20px" Font-Size="X-Small" Width="168px" DataSource="<%# DepTB %>" DataValueField="DepID" DataTextField="DepName">
- </asp:dropdownlist><asp:dropdownlist id=dropPosition AutoPostBack=False style="Z-INDEX: 129; LEFT: 367px; POSITION: absolute; TOP: 254px" runat="server" Height="20px" Font-Size="X-Small" Width="168px" DataSource="<%# PositionLst %>">
- </asp:dropdownlist><asp:requiredfieldvalidator id="RequiredFieldValidator3" style="Z-INDEX: 130; LEFT: 263px; POSITION: absolute; TOP: 253px" runat="server" Font-Size="X-Small" ControlToValidate="dropDep" ErrorMessage="部门名称不能为空">*</asp:requiredfieldvalidator></DIV>
- </TD>
- </TR>
- <TR>
- <TD style="WIDTH: 549px" vAlign="top">
- <TABLE id="Table4" 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="cmdExit" runat="server" ImageUrl="../img/button/exit.gif" CausesValidation="False"></asp:imagebutton><A href="empview.aspx" target="_blank"></A></TD>
- <TD noWrap align="right">
- <TABLE id="Table5" borderColor="#999999" cellSpacing="0" cellPadding="0" width="200" border="0">
- <TR>
- <TD noWrap align="middle"></TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- <asp:validationsummary id="valSum" runat="server" CssClass="td" Font-Size="X-Small" ShowMessageBox="True" ShowSummary="False" HeaderText="试图保存人员信息时,出现如下错误。"></asp:validationsummary><asp:label id="lblEmpID" runat="server" Height="20px" Font-Size="X-Small" Width="74px" Visible="False"></asp:label>
- <asp:label id="lblErr" runat="server" Height="20px" CssClass="err" Font-Size="X-Small" Visible="False"></asp:label>
- <asp:label id="lblFileID" runat="server" Font-Size="X-Small"></asp:label></TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </FORM>
- </BODY>
- </HTML>