- <%@ page language="C#" autoeventwireup="true" inherits="AddEmployee, App_Web_-rs7x2pk" theme="Normal" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <link href="style/dialog.css" type="text/css" rel="stylesheet">
- <title>职工</title>
- <base target="_self" />
- </head>
- <body class="whitebody">
- <form id="form1" runat="server">
- <div style="font-size:12px; font-family:Arial;" class="Content">
- <div align="left" style="text-indent:2em;height:250px; overflow-x:hidden;overflow-y:auto; width:100%;">
- <table class="Content" border="0" cellpadding="0" id="tb1" width="100%">
- <tr>
- <td style="height: 38px; width: 371px;">
- <div style="top:1px; font-weight: bolder; vertical-align:middle; color: black; font-size: 14px;">
- <img src="image/AddEmp.gif" style="width:30px; height:30px;"/>
- <asp:Label ID="LabTitle" runat="server"></asp:Label></div>
- </td>
- </tr>
- <tr>
- <td style="height:30px; width: 371px;">
- </td>
- </tr>
- <tr>
- <td style="width: 371px">
- <asp:Label ID="Label1" runat="server" Font-Bold="False" Text="职工姓名:"></asp:Label>
- <asp:TextBox ID="TxtName" runat="server" MaxLength="20"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtName"
- ErrorMessage="(*)" Font-Bold="True" Font-Size="12px" ValidationGroup="savedata" Display="Dynamic"></asp:RequiredFieldValidator>
- </td>
- <td style="width: 371px">
- <asp:CheckBox ID="CheckEmp" runat="server" Text="临时职工" />
- </td>
- </tr>
- <tr>
- <td style="width: 371px">
- <asp:Label ID="Label2" runat="server" Text="电子邮件:"></asp:Label>
- <asp:TextBox ID="TxtEmail" runat="server" MaxLength="50"></asp:TextBox>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtEmail"
- ErrorMessage="(*)" Font-Bold="True" Font-Size="12px" ValidationGroup="savedata" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*" Display="Dynamic"></asp:RegularExpressionValidator></td>
- <td style=" width:371px">
- <asp:Label ID="Label3" runat="server" Text="电话号码:"></asp:Label>
- <asp:TextBox ID="TxtPNum" runat="server" MaxLength="30"></asp:TextBox>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxtPNum"
- ErrorMessage="(*)" Font-Bold="True" Font-Size="12px" ValidationGroup="savedata" ValidationExpression="((d{3})|d{3}-)?d{8}" Display="Dynamic"></asp:RegularExpressionValidator></td>
- </tr>
- <tr>
- <td>
- <asp:Label ID="Label5" runat="server" Text="员工类型:"></asp:Label>
- <asp:DropDownList ID="DListType" runat="server" Width="155px">
- </asp:DropDownList>
- </td>
- <td>
- <asp:Label ID="LbParent" runat="server" Text="部门主管:"></asp:Label>
- <asp:DropDownList ID="DLstParent" runat="server" Width="155px">
- </asp:DropDownList>
- </td>
- </tr>
- </table>
- <table class="Content" width="100%">
- <tr>
- <td style="width: 100%">
- <asp:Label ID="Label4" runat="server" Text="组织机构:"></asp:Label>
- <asp:TextBox ID="TxtOrgName" runat="server" BorderStyle="None" BorderWidth="0px"
- ReadOnly="True" Height="15px" Width="361px" CssClass="Content"></asp:TextBox></td>
- </tr>
- <tr>
- <td>关联业务角色:</td>
- </tr>
- <tr>
- <td>
- <asp:CheckBoxList ID="ChList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
- </asp:CheckBoxList></td>
- </tr>
- </table>
- <table class="Content" width="100%" border="0">
- <tr>
- <td >
- <img alt="" src="image/header_bg.gif" width="100%" height="2px" />
- </td>
- </tr>
- </table>
- </div>
- <table class="Content" width="100%" style="height:40px;">
- <tr>
- <td style="height:10px;">
- </td>
- </tr>
- <tr style="height:10px;">
- <td style="width:60%;"></td>
- <td>
- <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="image/queding.gif" ValidationGroup="savedata" OnClick="ImageButton1_Click" />
- <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="image/quxiao.gif" /></td>
- </tr>
- <tr style="height:40px;">
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>