<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="UserConfig.aspx.cs"
    Inherits="OAWeb.Sys.UserConfig" Title="用户参数配置" Theme="Default" EnableViewState="true" %>

<%@ Register Src="/UserControls/SystemLeft.ascx" TagName="TaskNav" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">

 <table id="plc_profile" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td class="main_left">
                <uc1:TaskNav ID="TaskNav1" runat="server" />
            </td>
            <td class="main_center">
                <div class="page_main">
                    <div class="page_content">
                        <table class="data_title">
            <tr>
                <td class="data_caption">
                    用户参数配置
                </td>
            </tr>
            <tr>
                <td class="data_field">
                    部门：<asp:DropDownList ID="ddlDepartment" runat="server">
                    </asp:DropDownList>
                    &nbsp;<asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click"  CssClass=" btn_77px" />
                </td>
            </tr>
        </table>
        <asp:GridView runat="server" ID="gvUserConfig" AutoGenerateColumns="False" DataKeyNames="Id"
            Width="99%" OnRowDataBound="gvUserConfig_RowDataBound" OnRowCommand="gvUserConfig_RowCommand">
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="编号" Visible="false">
                    <ItemStyle HorizontalAlign="Left" Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="RealName" HeaderText="姓名">
                    <HeaderStyle HorizontalAlign="left" />
                    <ItemStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="每日客户领用上限">
                    <ItemTemplate>
                        <asp:TextBox ID="txtContent" runat="server"></asp:TextBox>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="客户最大跟进总量">
                    <ItemTemplate>
                        <asp:TextBox ID="txtTrackCount" runat="server"></asp:TextBox>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <asp:Button ID="btnSave" runat="server" Text="保存" CommandName="cmdSave" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <div class="pager-bar">
            <webdiyer:AspNetPager ID="pager" runat="server" PageSize="15" OnPageChanged="pager_PageChanged">
            </webdiyer:AspNetPager>
        </div>
                       
                    </div>
                </div>
            </td>
        </tr>
    </table>
   
        
    
</asp:Content>
