<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="SortEdition.aspx.cs"
    Inherits="OAWeb.crm.SortEdition" Title="销售龙虎榜" Theme="Default" EnableViewState="true" %>

<%@ Register Src="/UserControls/TontJiLeft.ascx" TagName="TaskNav" TagPrefix="uc1" %>
<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" cellpadding="8">
                            <tr>
                                <td class="data_caption" colspan="4">
                                    销售龙虎榜
                                </td>
                            </tr>
                            <tr>
                                <td class="data_field" colspan="4">
                                    部门：<asp:DropDownList ID="ddlDepartment" runat="server">
                                    </asp:DropDownList>
                                    月份：<asp:DropDownList ID="ddlMonth" runat="server">
                                        <asp:ListItem>本月</asp:ListItem>
                                        <asp:ListItem>上月</asp:ListItem>
                                    </asp:DropDownList>
                                    &nbsp;<asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click"
                                        CssClass="btn-77px" />
                                </td>
                            </tr>
                            <tr>
                                <td class="data-field algin-center " colspan="4">
                                    <b><font size="4px">我的业绩：<font color="red"><asp:Literal ID="ltlMyGatherRecord" runat="server"
                                        Text="无"></asp:Literal></font>&nbsp;&nbsp; 当前排行：<font color="red"><asp:Literal ID="ltlMyNumber"
                                            runat="server" Text="无"></asp:Literal></font> </font></b>
                                </td>
                            </tr>
                            <tr>
                                <td class="data-label algin-center">
                                    <table class="list-view" style="width: 60%" cellpadding="8" cellspacing="1">
                                        <tr>
                                            <td class="data-caption" colspan="4">
                                                名列前茅
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="data-label algin-left w80px">
                                                <b>名次</b>
                                            </td>
                                            <td class="data-label algin-left w150px">
                                                <b>姓名</b>
                                            </td>
                                            <td class="data-label algin-left w150px">
                                                <b>部门</b>
                                            </td>
                                            <td class="data-label algin-left w150px">
                                                <b>业绩</b>
                                            </td>
                                        </tr>
                                        <asp:Repeater ID="rptData1" runat="server" OnItemDataBound="repeater_ItemDataBound">
                                            <ItemTemplate>
                                                <tr>
                                                    <td class="data-label algin-left" style="color: Blue">
                                                        <b>
                                                            <%#Eval("Sort")%></b>
                                                    </td>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("UserName")%>
                                                    </td>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("DepartmentName")%>
                                                    </td>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("GatherMoney")%>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <tr>
                                            <td class="data-caption" colspan="4">
                                                名落孙山啦
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="data-label algin-left w80px">
                                                <b>名次</b>
                                            </td>
                                            <td class="data-label algin-left w150px">
                                                <b>姓名</b>
                                            </td>
                                            <td class="data-label algin-left w150px">
                                                <b>部门</b>
                                            </td>
                                            <td class="data-label algin-left w150px">
                                                <b>业绩</b>
                                            </td>
                                        </tr>
                                        <asp:Repeater ID="rptData2" runat="server" OnItemDataBound="repeater_ItemDataBound">
                                            <ItemTemplate>
                                                <tr>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("Sort")%>
                                                    </td>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("UserName")%>
                                                    </td>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("DepartmentName")%>
                                                    </td>
                                                    <td class="data-label algin-left">
                                                        <%#Eval("GatherMoney")%>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
