<%@ page language="C#" autoeventwireup="true" inherits="general_ClientManage_ApplyList, CrmCommand" %>
<%@ Register TagPrefix="C1WebGrid" Namespace="C1.Web.C1WebGrid" Assembly="C1.Web.C1WebGrid.2" %>
<!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>
       <script>
var menu_id=0;

function setPointer(theRow, thePointerColor,menu_id_over)
{
  if(menu_id!=menu_id_over)
  {
	if(thePointerColor == "#B3D1FF")
		theRow.className="menu_active";
	else
		theRow.className="menu_comon";
   }
}

function view_menu1()
{
 
   
 
   location.href="CheckList.aspx?type=unchecked"
   menu_id=1;
   menu_1.className="menu_active";
   menu_2.className="menu_comon";
  
}

function view_menu2()
{

   location.href ="CheckList.aspx?type=checked"
   menu_id=2;
   menu_1.className="menu_comon";
   menu_2.className="menu_active";
  
}
function setUp()
{
    if(document.form1.HidCode.value =="checked")
    {
          menu_1.className="menu_comon";
          menu_2.className="menu_active";
    }
    else
    {
           menu_1.className="menu_active";
           menu_2.className="menu_comon";
    }
}

</script>

</head>
<body class="bodycolor" topmargin="5" >
    <form id="form1" runat="server">
   <div id="pnlMain">
    	<TABLE class="small" cellSpacing="1" cellPadding="3"   align="center" border="0" bgcolor=#000000>
    
 
    	
    	<tr>
  <td class="TableData" noWrap>审核类型:</td><td class="TableData" noWrap>
      <select runat=server  name="SelType" id="SelType" class="BigSelect" >
	<option value="">所有审核类型</option>
	<option value="转意向客户审核">转意向客户申请</option>
	<option value="时间加权审核">时间加权申请</option>
	

</select></td>&nbsp;&nbsp;<td class="TableData" noWrap>审核结果:</td><td class="TableData" noWrap>
      <select runat=server  name="SelApply" id="SelApply" class="BigSelect" >
	<option value="">所有审核结果</option>
	<option value="未审核">未审核</option>
	<option value="审核通过">审核通过</option>
	<option value="审核不通过">审核不通过</option>
	

</select>  <asp:Button ID="BtnQuery"  class="BigButton" runat="server" Text="查询" OnClick="BtnQuery_Click"  Width="72px" /></td>
    	</tr>

 <TR>
					<td  colspan=4 align=center class="TableData" noWrap>
                        <asp:Label ID="LblInfo" Visible=false  runat="server" Text=""></asp:Label>
      <c1webgrid:c1webgrid SkinId="gridviewSkin" Width=750px   ID="C1WebGrid1" PageSize="20"  runat="server" AutoGenerateColumns="False"  AllowPaging=true OnPageIndexChanging="C1WebGrid1_PageIndexChanging" OnItemCreated="C1WebGrid1_ItemCreated"  >
        <Columns>

           
              <C1WebGrid:C1BoundColumn  DataField="ApplyType" HeaderText="审批类型" /> 
               <C1WebGrid:C1BoundColumn DataField="User_Name" HeaderText="申请人" /> 
                
                     <C1WebGrid:C1BoundColumn DataField="ApplyDate" DataFormatString="{0:d}" HeaderText="申请时间" /> 
           
            <C1WebGrid:C1TemplateColumn HeaderText="申请原因">
              
                <ItemTemplate>
                    <asp:Label    ID="Lkba" Text='<%# Server.HtmlDecode(Eval("Reason").ToString()).Length > 10 ? Server.HtmlDecode(Eval("Reason").ToString()).Substring(0, 10) + "..." : Server.HtmlDecode(Eval("Reason").ToString())%>'  ToolTip='<%#Server.HtmlDecode(Eval("Reason").ToString())%>' runat="server"></asp:Label>
 
                </ItemTemplate>
            </C1WebGrid:C1TemplateColumn> 
             <C1WebGrid:C1TemplateColumn HeaderText="审批备注">
              
                <ItemTemplate>
                    <asp:Label    ID="Lkbc" Text='<%# Server.HtmlDecode(Eval("Exp1").ToString()).Length > 10 ? Server.HtmlDecode(Eval("Exp1").ToString()).Substring(0, 10) + "..." : Server.HtmlDecode(Eval("Exp1").ToString())%>'  ToolTip='<%#Server.HtmlDecode(Eval("Exp1").ToString())%>' runat="server"></asp:Label>
 
                </ItemTemplate>
            </C1WebGrid:C1TemplateColumn>
          <C1WebGrid:C1BoundColumn DataField="AgrState" HeaderText="审批结果" >
           <ItemStyle  ForeColor=red/>
          </C1WebGrid:C1BoundColumn>  
       <C1WebGrid:C1TemplateColumn HeaderText="审批时间">
              
                <ItemTemplate>
            
                   <%# Eval("AgrState").ToString() == "未审核" ? "" : string.Format("{0:d}", Eval("AgrDate"))%>
 
                </ItemTemplate>
            </C1WebGrid:C1TemplateColumn> 
           <C1WebGrid:C1BoundColumn DataField="AgrUser" HeaderText="审批人" /> 
   
          
          
           
           
        
            
            
        </Columns> 
    
        </c1webgrid:c1webgrid></td>
  </TR>
<TR>
						<TD class="TableControl" height=22 noWrap align="center" colSpan="4" >
                      
						</TD>
					</TR>
       </TABLE>
       </div>
      
        <input id="HidCode" type="hidden"  runat=server />
         <div id="ShowJs" runat="Server"> </div>
    </form>
</body>
</html>
