<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GHRWJHAdd.aspx.cs" Inherits="WorkFlow.CRMManger.GHRWJHAdd"
    ValidateRequest="false" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!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">
    <title>新增客户任务计划</title>
    <link href="../FlowPage/css/main.css" rel="stylesheet" type="text/css" />
    <link href="../FlowPage/css/ext-all.css" rel="stylesheet" type="text/css" />

    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <style type="text/css">
        .cbStates-list
        {
            width: 298px;
            font: 11px tahoma,arial,helvetica,sans-serif;
        }
        .cbStates-list th
        {
            font-weight: bold;
        }
        .cbStates-list td, .cbStates-list th
        {
            padding: 3px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="DirectMethod">
    </ext:ResourceManager>
    <ext:Viewport ID="Viewport1" runat="server" Layout="border">
        <Items>
        
            <ext:Panel ID="PList" runat="server" Region="Center" AutoScroll="true">
                <TopBar>
                    <ext:Toolbar ID="Toolbar1" runat="server">
                        <Items>
                            <ext:Hidden ID="hidAccount" runat="server">
                            </ext:Hidden>
                            <ext:Hidden ID="UpdateId" runat="server">
                            </ext:Hidden>
                            <ext:Button ID="Button3" runat="server" Text="保存" Icon="Disk" ToolTip="保存客户任务计划">
                                <Listeners>
                                    <Click Handler="DirectMethod.Save(Ext.encode(#{GridPanel2}.getRowsValues(false)));" />
                                </Listeners>
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>
                </TopBar>
                <Content>
                    <table cellspacing="9">
                        <tr>
                            <td align="center">
                                主题：<span style="color: Red">*</span>
                            </td>
                            <td style="padding-top: 2px; padding-bottom: 2px">
                                <ext:TextField ID="ZT" runat="server" Width="600">
                                </ext:TextField>
                            </td>
                            <td>
                                负责人：
                            </td>
                            <td>
                                <ext:ComboBox ID="FZR" runat="server" DisplayField="Name" ValueField="LoginAccount"
                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                    SelectOnFocus="true">
                                    <Store>
                                        <ext:Store ID="SFZR" runat="server">
                                            <Reader>
                                                <ext:JsonReader IDProperty="LoginAccount">
                                                    <Fields>
                                                        <ext:RecordField Name="DepartmentName" />
                                                        <ext:RecordField Name="Name" />
                                                        <ext:RecordField Name="PostionName" />
                                                        <ext:RecordField Name="LoginAccount" />
                                                    </Fields>
                                                </ext:JsonReader>
                                            </Reader>
                                        </ext:Store>
                                    </Store>
                                    <Template ID="Template1" runat="server">
                                        <Html>
                                        <tpl for=".">
					                        <div class="list-item">
						                         <h3>{LoginAccount}{Name}</h3>
						                         {DepartmentName}, {PostionName}
					                        </div>
				                        </tpl>
                                        </Html>
                                    </Template>
                                </ext:ComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                内容：
                            </td>
                            <td colspan="3">
                                <ext:HtmlEditor ID="NR" runat="server" Height="130" Width="846">
                                </ext:HtmlEditor>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" align="center">
                                客户：<span style="color: Red">*</span><br />
                                <ext:Button ID="Button4" runat="server" Text="[选择]" ToolTip="选择客户">
                                    <DirectEvents>
                                        <Click OnEvent="KHShow_Click">
                                        </Click>
                                    </DirectEvents>
                                </ext:Button>
                                <br />
                                <ext:Button ID="Button5" runat="server" Text="[清空]" ToolTip="清空所选客户" Disabled="true">
                                    <DirectEvents>
                                        <Click OnEvent="Clear_Click">
                                        </Click>
                                    </DirectEvents>
                                </ext:Button>
                            </td>
                            <td colspan="3">
                                <ext:GridPanel ID="GridPanel2" runat="server" Frame="true" StripeRows="true" AnimCollapse="false"
                                    Icon="Table" TrackMouseOver="true" Height="500">
                                    <Store>
                                        <ext:Store ID="Store3" runat="server">
                                            <Reader>
                                                <ext:JsonReader IDProperty="Id">
                                                    <Fields>
                                                        <ext:RecordField Name="Id" />
                                                        <ext:RecordField Name="KHMC" />
                                                        <ext:RecordField Name="KHBH" />
                                                        <ext:RecordField Name="DH" />
                                                        <ext:RecordField Name="Email" />
                                                        <ext:RecordField Name="FZR" />
                                                        <ext:RecordField Name="ZXR" />
                                                        <ext:RecordField Name="RWZT" />
                                                    </Fields>
                                                </ext:JsonReader>
                                            </Reader>
                                        </ext:Store>
                                    </Store>
                                    <ColumnModel ID="ColumnModel1" runat="server">
                                        <Columns>
                                            <ext:Column Header="客户名称 " DataIndex="KHMC" Width="250">
                                            </ext:Column>
                                            <ext:Column Header="客户编号" DataIndex="KHBH" Width="90" />
                                            <ext:Column Header="电话" DataIndex="DH" Width="120" />
                                            <ext:Column Header="Email" DataIndex="Email" Width="100" />
                                            <ext:Column Header="负责人" DataIndex="FZR" Width="70" />
                                            <ext:Column Header="责任人" DataIndex="ZXR" Width="70" />
                                            <ext:Column Header="任务状态" DataIndex="RWZT" Width="90" />
                                        </Columns>
                                    </ColumnModel>
                                    <LoadMask ShowMask="true" />
                                </ext:GridPanel>
                            </td>
                        </tr>
                    </table>
                </Content>
            </ext:Panel>
        </Items>
    </ext:Viewport>
    <ext:Window ID="WKH" runat="server" Closable="True" Resizable="false" Height="430"
        Constrain="true" Icon="Anchor" Title="<span style='font-size:14px'>选择客户</span>"
        Draggable="true" CloseAction="Hide" Maximized="true" Modal="true" Padding="0"
        Hidden="true" AutoScroll="true" Layout="FitLayout">
        <TopBar>
            <ext:Toolbar ID="Toolbar2" runat="server">
                <Items>
                    <ext:Button ID="Button2" runat="server" Text="获取所选" Icon="BasketPut" ToolTip="获取所选任务客户">
                        <DirectEvents>
                            <Click OnEvent="Get_Click">
                                <EventMask ShowMask="true" Msg="正在获取中，请稍后..." />
                            </Click>
                        </DirectEvents>
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </TopBar>
        <Items>
            <ext:Panel ID="Panel1" runat="server" Layout="FitLayout">
                <TopBar>
                    <ext:Toolbar runat="server">
                        <Content>
                            <table width="100%" style="background-color: #565656">
                                <tr>
                                    <td align="center">
                                        <div style="background-image: url('../FlowPage/icon/1new.png'); width: 880px; height: 10px">
                                        </div>
                                        <div style="background-image: url('../FlowPage/icon/2.png'); width: 880px; text-align: center">
                                            <table width="100%">
                                                <tr>
                                                    <td align="center">
                                                        <table>
                                                            <tr>
                                                                <td style="padding-top: 2px; padding-bottom: 2px">
                                                                    查询：
                                                                    <ext:Hidden ID="hidInfo" runat="server">
                                                                    </ext:Hidden>
                                                                </td>
                                                                <td style="padding-top: 2px; padding-bottom: 2px">
                                                                    <ext:ComboBox ID="ComboBox1" runat="server" SelectedIndex="0" Width="90" Editable="false">
                                                                        <Items>
                                                                            <ext:ListItem Text="客户名称" Value="客户名称" />
                                                                            <ext:ListItem Text="电话" Value="电话" />
                                                                            <ext:ListItem Text="城市" Value="城市" />
                                                                            <ext:ListItem Text="客户来源" Value="客户来源" />
                                                                            <ext:ListItem Text="客户级别" Value="客户级别" />
                                                                            <ext:ListItem Text="客户状态" Value="客户状态" />
                                                                            <ext:ListItem Text="行业" Value="行业" />
                                                                            <ext:ListItem Text="创建时间" Value="创建时间" />
                                                                        </Items>
                                                                        <DirectEvents>
                                                                            <Select OnEvent="Search_Change">
                                                                                <EventMask ShowMask="true" Msg="正在操作中，请稍后..." />
                                                                            </Select>
                                                                        </DirectEvents>
                                                                    </ext:ComboBox>
                                                                </td>
                                                                <td style="padding-top: 2px; padding-bottom: 2px; padding-left: 10px">
                                                                    <ext:ComboBox ID="cbHY" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                                        Hidden="true" EmptyText="请选择一个行业来查询" TypeAhead="true" Mode="Local" ForceSelection="true"
                                                                        TriggerAction="All" ItemSelector="div.list-item" SelectOnFocus="true">
                                                                        <Store>
                                                                            <ext:Store ID="SHY" runat="server">
                                                                                <Reader>
                                                                                    <ext:JsonReader IDProperty="Id">
                                                                                        <Fields>
                                                                                            <ext:RecordField Name="FLName" />
                                                                                            <ext:RecordField Name="Id" />
                                                                                        </Fields>
                                                                                    </ext:JsonReader>
                                                                                </Reader>
                                                                            </ext:Store>
                                                                        </Store>
                                                                        <Template ID="Template6" runat="server">
                                                                            <Html>
                                                                            <tpl for=".">
						                                                                <div class="list-item">
							                                                                 <h3>{FLName}</h3>							
						                                                                </div>
					                                                                </tpl>
                                                                            </Html>
                                                                        </Template>
                                                                    </ext:ComboBox>
                                                                    <ext:ComboBox ID="cbKHZT" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                                        Hidden="true" EmptyText="请选择一个客户状态来查询" TypeAhead="true" Mode="Local" ForceSelection="true"
                                                                        TriggerAction="All" ItemSelector="div.list-item" SelectOnFocus="true">
                                                                        <Store>
                                                                            <ext:Store ID="SKHZT" runat="server">
                                                                                <Reader>
                                                                                    <ext:JsonReader IDProperty="Id">
                                                                                        <Fields>
                                                                                            <ext:RecordField Name="FLName" />
                                                                                            <ext:RecordField Name="Id" />
                                                                                        </Fields>
                                                                                    </ext:JsonReader>
                                                                                </Reader>
                                                                            </ext:Store>
                                                                        </Store>
                                                                        <Template ID="Template5" runat="server">
                                                                            <Html>
                                                                            <tpl for=".">
						                                                            <div class="list-item">
							                                                             <h3>{FLName}</h3>							
						                                                            </div>
					                                                            </tpl>
                                                                            </Html>
                                                                        </Template>
                                                                    </ext:ComboBox>
                                                                    <ext:ComboBox ID="cbKHJB" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                                        Hidden="true" EmptyText="请选择一个客户级别来查询" TypeAhead="true" Mode="Local" ForceSelection="true"
                                                                        TriggerAction="All" ItemSelector="div.list-item" SelectOnFocus="true">
                                                                        <Store>
                                                                            <ext:Store ID="SKHJB" runat="server">
                                                                                <Reader>
                                                                                    <ext:JsonReader IDProperty="Id">
                                                                                        <Fields>
                                                                                            <ext:RecordField Name="FLName" />
                                                                                            <ext:RecordField Name="Id" />
                                                                                        </Fields>
                                                                                    </ext:JsonReader>
                                                                                </Reader>
                                                                            </ext:Store>
                                                                        </Store>
                                                                        <Template ID="Template4" runat="server">
                                                                            <Html>
                                                                            <tpl for=".">
						                                                            <div class="list-item">
							                                                             <h3>{FLName}</h3>							
						                                                            </div>
					                                                            </tpl>
                                                                            </Html>
                                                                        </Template>
                                                                    </ext:ComboBox>
                                                                    <ext:ComboBox ID="cbKHLY" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                                        Hidden="true" EmptyText="请选择一个客户来源来查询" TypeAhead="true" Mode="Local" ForceSelection="true"
                                                                        TriggerAction="All" ItemSelector="div.list-item" SelectOnFocus="true">
                                                                        <Store>
                                                                            <ext:Store ID="SKHLY" runat="server">
                                                                                <Reader>
                                                                                    <ext:JsonReader IDProperty="Id">
                                                                                        <Fields>
                                                                                            <ext:RecordField Name="FLName" />
                                                                                            <ext:RecordField Name="Id" />
                                                                                        </Fields>
                                                                                    </ext:JsonReader>
                                                                                </Reader>
                                                                            </ext:Store>
                                                                        </Store>
                                                                        <Template ID="Template3" runat="server">
                                                                            <Html>
                                                                            <tpl for=".">
						                                                            <div class="list-item">
							                                                             <h3>{FLName}</h3>							
						                                                            </div>
					                                                            </tpl>
                                                                            </Html>
                                                                        </Template>
                                                                    </ext:ComboBox>
                                                                    <ext:ComboBox ID="cbCS" runat="server" Width="215" DisplayField="CS" ValueField="Id"
                                                                        TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" EmptyText="选择一个城市来查询"
                                                                        Hidden="true" ItemSelector="div.list-item" SelectOnFocus="true">
                                                                        <Store>
                                                                            <ext:Store ID="Store2" runat="server">
                                                                                <Reader>
                                                                                    <ext:JsonReader IDProperty="Id">
                                                                                        <Fields>
                                                                                            <ext:RecordField Name="Id" />
                                                                                            <ext:RecordField Name="GJ" />
                                                                                            <ext:RecordField Name="SF" />
                                                                                            <ext:RecordField Name="CS" />
                                                                                        </Fields>
                                                                                    </ext:JsonReader>
                                                                                </Reader>
                                                                            </ext:Store>
                                                                        </Store>
                                                                        <Template ID="Template2" runat="server">
                                                                            <Html>
                                                                            <tpl for=".">
						                                                            <div class="list-item">
							                                                             <h3>{CS}</h3>
							                                                             {GJ}, {SF}
						                                                            </div>
					                                                            </tpl>
                                                                            </Html>
                                                                        </Template>
                                                                    </ext:ComboBox>
                                                                    <ext:TextField ID="txtKHMC" runat="server" EmptyText="可根据名称来模糊查询" Width="200">
                                                                    </ext:TextField>
                                                                    <ext:TextField ID="txtDH" runat="server" Hidden="true" EmptyText="输入电话号码进行查询" Width="200">
                                                                    </ext:TextField>
                                                                    <ext:Panel ID="Panel2" runat="server" Hidden="true" Border="false">
                                                                        <Content>
                                                                            <table cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td>
                                                                                        <ext:TriggerField runat="server" ID="CJSJStart" TriggerIcon="Date" Width="100" Editable="false">
                                                                                            <Listeners>
                                                                                                <Focus Handler="WdatePicker({minDate:'%y-%M-{%d}',startDate:'%y-%M-01',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true});" />
                                                                                                <TriggerClick Handler="WdatePicker({el:'CJSJStart',minDate:'%y-%M-{%d}',startDate:'%y-%M-01',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true});" />
                                                                                            </Listeners>
                                                                                        </ext:TriggerField>
                                                                                    </td>
                                                                                    <td>
                                                                                        <span style="margin-left: 3px; margin-right: 3px">至</span>
                                                                                    </td>
                                                                                    <td>
                                                                                        <ext:TriggerField runat="server" ID="CJSJEnd" TriggerIcon="Date" Width="100" Editable="false">
                                                                                            <Listeners>
                                                                                                <Focus Handler="WdatePicker({minDate:'%y-%M-{%d}',startDate:'%y-%M-01',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true});" />
                                                                                                <TriggerClick Handler="WdatePicker({el:'CJSJEnd',minDate:'%y-%M-{%d}',startDate:'%y-%M-01',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true});" />
                                                                                            </Listeners>
                                                                                        </ext:TriggerField>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </Content>
                                                                    </ext:Panel>
                                                                </td>
                                                                <td style="padding-top: 2px; padding-bottom: 2px">
                                                                    <ext:Button ID="Button1" runat="server" Text="<span style='color:black'>立即查找</span>"
                                                                        Icon="Zoom" ToolTip="立即查找">
                                                                        <DirectEvents>
                                                                            <Click OnEvent="SearchInfo_Click">
                                                                                <EventMask ShowMask="true" Msg="正在查询中，请稍后..." />
                                                                            </Click>
                                                                        </DirectEvents>
                                                                    </ext:Button>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <table width="756px">
                                                            <tr>
                                                                <td>
                                                                    <ext:Button ID="Button6" runat="server" Text="<span style='color:black'>A</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('A')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button7" runat="server" Text="<span style='color:black'>B</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('B')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button8" runat="server" Text="<span style='color:black'>C</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('C')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button9" runat="server" Text="<span style='color:black'>D</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('D')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button10" runat="server" Text="<span style='color:black'>E</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('E')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button11" runat="server" Text="<span style='color:black'>F</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('F')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button12" runat="server" Text="<span style='color:black'>G</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('G')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button13" runat="server" Text="<span style='color:black'>H</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('H')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button14" runat="server" Text="<span style='color:black'>I</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('I')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button15" runat="server" Text="<span style='color:black'>J</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('J')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button16" runat="server" Text="<span style='color:black'>K</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('K')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button17" runat="server" Text="<span style='color:black'>L</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('L')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button18" runat="server" Text="<span style='color:black'>M</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('M')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button19" runat="server" Text="<span style='color:black'>N</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('N')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button20" runat="server" Text="<span style='color:black'>O</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('O')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button21" runat="server" Text="<span style='color:black'>P</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('P')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button22" runat="server" Text="<span style='color:black'>Q</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('Q')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button23" runat="server" Text="<span style='color:black'>R</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('R')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button24" runat="server" Text="<span style='color:black'>S</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('S')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button25" runat="server" Text="<span style='color:black'>T</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('T')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button26" runat="server" Text="<span style='color:black'>U</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('U')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button27" runat="server" Text="<span style='color:black'>V</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('V')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button28" runat="server" Text="<span style='color:black'>W</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('W')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button29" runat="server" Text="<span style='color:black'>X</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('X')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button30" runat="server" Text="<span style='color:black'>Y</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('Y')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                                <td>
                                                                    <ext:Button ID="Button31" runat="server" Text="<span style='color:black'>Z</span>">
                                                                        <Listeners>
                                                                            <Click Handler="DirectMethod.CXMethod('Z')" />
                                                                        </Listeners>
                                                                    </ext:Button>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div style="background-image: url('../FlowPage/icon/1.png'); width: 880px; height: 10px">
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </Content>
                    </ext:Toolbar>
                </TopBar>
                <Content>
                    <ext:GridPanel ID="GridPanel1" runat="server" Frame="true" StripeRows="true" AnimCollapse="false"
                        Icon="Table" TrackMouseOver="true">
                        <Store>
                            <ext:Store ID="Store1" runat="server" OnRefreshData="Store1_RefreshData">
                                <Reader>
                                    <ext:JsonReader IDProperty="Id">
                                        <Fields>
                                            <ext:RecordField Name="Id" />
                                            <ext:RecordField Name="KHMC" />
                                            <ext:RecordField Name="DH" />
                                            <ext:RecordField Name="City" />
                                            <ext:RecordField Name="KHLY" />
                                            <ext:RecordField Name="KHJB" />
                                            <ext:RecordField Name="KHZT" />
                                            <ext:RecordField Name="HY" />
                                            <ext:RecordField Name="CreateDate" />
                                            <ext:RecordField Name="FZR" />
                                            <ext:RecordField Name="LXCS" />
                                            <ext:RecordField Name="GX" />
                                        </Fields>
                                    </ext:JsonReader>
                                </Reader>
                            </ext:Store>
                        </Store>
                        <ColumnModel ID="ColumnModel2" runat="server">
                            <Columns>
                                <ext:Column Header="客户名称 " DataIndex="KHMC" Width="250">
                                </ext:Column>
                                <ext:Column Header="电话" DataIndex="DH" Width="130" />
                                <ext:Column Header="城市" DataIndex="City" Width="70" />
                                <ext:Column Header="客户来源" DataIndex="KHLY" Width="70" />
                                <ext:Column Header="客户级别" DataIndex="KHJB" Width="70" />
                                <ext:Column Header="客户状态" DataIndex="KHZT" Width="70" />
                                <ext:Column Header="行业" DataIndex="HY" Width="90" />
                                <ext:Column Header="负责人" DataIndex="FZR" Width="70" />
                                <ext:Column Header="创建时间" DataIndex="CreateDate" Width="90" />
                                <ext:Column Header="联系次数" DataIndex="LXCS" Width="70" />
                            </Columns>
                        </ColumnModel>
                        <LoadMask ShowMask="true" />
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckboxSelectionModel2" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolbar1" runat="server" PageSize="17" DisplayInfo="true"
                                BeforePageText="<span style='font-size:12px'>第</span>" AfterPageText="<span style='font-size:12px'>页</span>"
                                DisplayMsg="<span style='font-size:12px'>显示 {0} - {1}， 共 {2} 条</span>" EmptyMsg="<span style='font-size:12px'>无数据可以显示</span>"
                                Cls="fontsize" />
                        </BottomBar>
                    </ext:GridPanel>
                </Content>
            </ext:Panel>
        </Items>
    </ext:Window>
    </form>
</body>
</html>
