<%@ Page language="c#" Codebehind="Emplist.aspx.cs" AutoEventWireup="false" Inherits="WebStarCRM.Emplist" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../Include/Css.ascx" %>
<%@ Register TagPrefix="uc1" TagName="quickdirect" Src="../Include/quickdirect.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE width="100%" border="1">
				<TR class="WsdnOrgInfo">
					<TD width="50%" colSpan="2">
						<P><asp:label id="Label1" runat="server">&nbsp;&nbsp;员工管理</asp:label><uc1:css id="Css1" runat="server"></uc1:css><asp:label id="msg" runat="server" ForeColor="Red"></asp:label></P>
					</TD>
					<TD colSpan="2"><FONT face="宋体"><uc1:quickdirect id="Quickdirect1" runat="server"></uc1:quickdirect></FONT></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="50%" colSpan="2">&nbsp;&nbsp;模糊搜索：
						<asp:textbox id="Txtsearch" runat="server"></asp:textbox><asp:button id="Btsearch" runat="server" Text="确定"></asp:button></TD>
					<TD colSpan="2"><asp:imagebutton id="ImBtAdd" runat="server" ImageUrl="../pic/new.png"></asp:imagebutton><FONT face="宋体">添加&nbsp;&nbsp;
							<asp:imagebutton id="BtnDelete" runat="server" ImageUrl="../pic/delete.png"></asp:imagebutton><FONT face="宋体">删除</FONT>&nbsp;&nbsp;
						</FONT>
						<asp:imagebutton id="btPrint" runat="server" ImageUrl="../pic/print_preview.png"></asp:imagebutton><FONT face="宋体">打印&nbsp;&nbsp;
						</FONT>
						<asp:imagebutton id="btHelp" runat="server" ImageUrl="../pic/help.png"></asp:imagebutton><FONT face="宋体">帮助&nbsp;&nbsp;
							<asp:imagebutton id="Btoutput" runat="server" ImageUrl="../pic/export.png"></asp:imagebutton></FONT><FONT face="宋体">输出&nbsp;
							<asp:imagebutton id="Btfresh" runat="server" ImageUrl="../pic/refresh.png"></asp:imagebutton>刷新<asp:label id="thisid" runat="server" Visible="False">0</asp:label></FONT></TD>
				</TR>
				<TR>
					<TD colSpan="4"><FONT face="宋体"><asp:datagrid id="DataGrid1" runat="server" AutoGenerateColumns="False" AllowPaging="True" Width="100%"
								PageSize="15">
								<FooterStyle HorizontalAlign="Right"></FooterStyle>
								<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
								<Columns>
									<asp:TemplateColumn HeaderText="选择">
										<ItemTemplate>
											<INPUT type="radio" onclick='EmployeeSelect("<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>")' name='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' title='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' value='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>'>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:ButtonColumn Text="编辑" CommandName="Select"></asp:ButtonColumn>
									<asp:HyperLinkColumn Text="细权限" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="DetRight.aspx?id={0}"
										HeaderText="细权限"></asp:HyperLinkColumn>
									<asp:HyperLinkColumn Text="客户关系权限" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="DetCLRight.aspx?id={0}"
										HeaderText="客户关系权限"></asp:HyperLinkColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_id" HeaderText="ID"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="登陆名"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_OldName" HeaderText="姓名"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Sex" HeaderText="性别"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所属部门"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Postion" HeaderText="职位"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Cphone" HeaderText="工作电话"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Fphone" HeaderText="家庭电话"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Mobile" HeaderText="手机号码"></asp:BoundColumn>
									<asp:TemplateColumn HeaderText="删除">
										<ItemTemplate>
											<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
											<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
											</asp:TextBox>
										</ItemTemplate>
									</asp:TemplateColumn>
								</Columns>
								<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
							</asp:datagrid></FONT>
						<asp:RadioButtonList id="RadioButtonList2" runat="server" Width="200px" RepeatColumns="2" AutoPostBack="True">
							<asp:ListItem Value="在职" Selected="True">在职</asp:ListItem>
							<asp:ListItem Value="离职">离职</asp:ListItem>
						</asp:RadioButtonList><asp:label id="Label2" runat="server">跳至第</asp:label><asp:dropdownlist id="Tbpage" runat="server"></asp:dropdownlist><asp:label id="Label3" runat="server">页</asp:label><asp:button id="Btpage" runat="server" Text="确定"></asp:button><FONT face="宋体">&nbsp;
						</FONT>
						<asp:label id="Lgrid" runat="server">共 条数据，每页 条</asp:label></TD>
				</TR>
				<TR>
					<TD class="back2" align="left" colSpan="4">
						<asp:Label id="Labelbirth" runat="server" Font-Bold="True"></asp:Label></TD>
				</TR>
				<TR>
					<TD class="back2" align="right" colSpan="4"><asp:label id="Label53" runat="server" ForeColor="Red" Font-Bold="True">注意：试用版限制删除账号！</asp:label><asp:radiobuttonlist id="RadioButtonList1" runat="server" Width="568px" RepeatColumns="4" AutoPostBack="True">
							<asp:ListItem Value="1" Selected="True">当天生日员工</asp:ListItem>
							<asp:ListItem Value="2">明天生日员工</asp:ListItem>
							<asp:ListItem Value="3">本周生日员工</asp:ListItem>
							<asp:ListItem Value="4">本月生日员工</asp:ListItem>
						</asp:radiobuttonlist></TD>
				</TR>
				<TR>
					<TD colSpan="4"><FONT face="宋体"><asp:datagrid id="Datagrid2" runat="server" AutoGenerateColumns="False" Width="100%" PageSize="15">
								<FooterStyle HorizontalAlign="Right"></FooterStyle>
								<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
								<Columns>
									<asp:BoundColumn DataField="Wsdn_StarCRM_id" HeaderText="ID"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="登陆名"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_OldName" HeaderText="姓名"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Sex" HeaderText="性别"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所属部门"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Postion" HeaderText="职位"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Cphone" HeaderText="工作电话"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Fphone" HeaderText="家庭电话"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Mobile" HeaderText="手机号码"></asp:BoundColumn>
								</Columns>
								<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
							</asp:datagrid></FONT></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
