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

<%@ 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 id="Head1" 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  style="background-color: #565656">
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="DirectMethod">
    </ext:ResourceManager>
    <ext:Panel ID="Panel1" runat="server" Region="Center" Border="false">
        <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">
                                        <ext:Panel ID="PList" runat="server" Region="Center" AutoScroll="true">
                                            <Content>
                                                <table cellspacing="9">
                                                    <tr>
                                                        <td align="center">
                                                            主题：<span style="color: Red">*</span>
                                                        </td>
                                                        <td style="padding-top: 2px; padding-bottom: 2px" align="left">
                                                            <ext:TextField ID="ZT" runat="server" Width="500"  ReadOnly="true" >
                                                            </ext:TextField>
                                                        </td>
                                                        <td>
                                                            负责人：
                                                        </td>
                                                        <td>
                                                            <ext:ComboBox ID="FZR" runat="server" DisplayField="Name" ValueField="LoginAccount"
                                                              ReadOnly="true"    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" align="left">
                                                            <ext:HtmlEditor ID="NR" runat="server" Height="130" Width="746"  ReadOnly="true" >
                                                            </ext:HtmlEditor>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td valign="top" align="center">
                                                            客户：<span style="color: Red">*</span>
                                                        </td>
                                                        <td colspan="3" align="left">
                                                            <ext:TabPanel ID="TabPanel2" runat="server" TabPosition="Bottom" Plain="true" Header="false"
                                                                Border="false" Title="Center" Width="746" Height="600">
                                                                <Items>
                                                                    <ext:Panel ID="Panel2" runat="server" Title="<span style='font-size:14px'>原始任务</span>"
                                                                        Layout="FitLayout">
                                                                        <Items>
                                                                            <ext:GridPanel ID="GJD" runat="server" StripeRows="false" ColumnLines="false" ClicksToEdit="1"
                                                                                TrackMouseOver="false" Header="false" Height="456">
                                                                                <Store>
                                                                                    <ext:Store ID="Store2" runat="server">
                                                                                        <Reader>
                                                                                            <ext:JsonReader>
                                                                                                <Fields>
                                                                                                    <ext:RecordField Name="KH" />
                                                                                                    <ext:RecordField Name="FZR" />
                                                                                                    <ext:RecordField Name="Statues" />
                                                                                                    <ext:RecordField Name="JD" />
                                                                                                </Fields>
                                                                                            </ext:JsonReader>
                                                                                        </Reader>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <LoadMask ShowMask="true" />
                                                                                <ColumnModel ID="ColumnModel1" runat="server">
                                                                                    <Columns>
                                                                                        <ext:TemplateColumn MenuDisabled="true" Width="702">
                                                                                            <Template ID="Template2" runat="server">
                                                                                                <Html>
                                                                                                <span style='font-size: 16px; color: #2f97df'> 客户：{KH}</span>
                                                                                                </Html>
                                                                                            </Template>
                                                                                        </ext:TemplateColumn>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView1" runat="server" EnableRowBody="true">
                                                                                        <GetRowClass Handler="rowParams.body = '<table ><tr><td  style=color:#cb974e><p style=font-size:14px;line-height:20px>'+ record.data.JD + '</p></td></tr> <tr><td align=right style=color:#61b34e><span style=font-size:14px;line-height:20px;>执行人：'+ record.data.FZR+'['+ record.data.Statues+ ']</span></td></tr> </table>';" />
                                                                                    </ext:GridView>
                                                                                </View>
                                                                            </ext:GridPanel>
                                                                        </Items>
                                                                    </ext:Panel>
                                                                    <ext:Panel ID="Panel3" runat="server" Title="<span style='font-size:14px'>对方转移任务</span>"
                                                                        Layout="FitLayout">
                                                                        <Items>
                                                                            <ext:GridPanel ID="GridPanel4" runat="server" StripeRows="false" ColumnLines="false"
                                                                                ClicksToEdit="1" TrackMouseOver="false" Header="false">
                                                                                <Store>
                                                                                    <ext:Store ID="Store5" runat="server">
                                                                                        <Reader>
                                                                                            <ext:JsonReader>
                                                                                                <Fields>
                                                                                                    <ext:RecordField Name="KH" />
                                                                                                    <ext:RecordField Name="ZYTo" />
                                                                                                    <ext:RecordField Name="ZYUser" />
                                                                                                    <ext:RecordField Name="Statues" />
                                                                                                    <ext:RecordField Name="JD" />
                                                                                                </Fields>
                                                                                            </ext:JsonReader>
                                                                                        </Reader>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <LoadMask ShowMask="true" />
                                                                                <ColumnModel ID="ColumnModel5" runat="server">
                                                                                    <Columns>
                                                                                        <ext:TemplateColumn MenuDisabled="true" Width="502">
                                                                                            <Template ID="Template3" runat="server">
                                                                                                <Html>
                                                                                                <span style='font-size: 16px; color: #2f97df'> 客户：{KH}</span>
                                                                                                </Html>
                                                                                            </Template>
                                                                                        </ext:TemplateColumn>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView2" runat="server" EnableRowBody="true">
                                                                                        <GetRowClass Handler="rowParams.body = '<table ><tr><td  style=color:#cb974e><p style=font-size:14px;line-height:20px>'+ record.data.JD + '</p></td></tr> <tr><td align=right style=color:#61b34e><span style=font-size:14px;line-height:20px;>转移人：'+ record.data.ZYUser+'→负责人：'+ record.data.ZYTo+'['+ record.data.Statues+ ']</span></td></tr> </table>';" />
                                                                                    </ext:GridView>
                                                                                </View>
                                                                            </ext:GridPanel>
                                                                        </Items>
                                                                    </ext:Panel>
                                                                </Items>
                                                            </ext:TabPanel>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </Content>
                                        </ext:Panel>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div style="background-image: url('../FlowPage/icon/1.png'); width: 880px; height: 10px">
                        </div>
                    </td>
                </tr>
            </table>
        </Content>
    </ext:Panel>
    </form>
</body>
</html>
