<%@ Page Language="C#" MaintainScrollPositionOnPostback="true"  AutoEventWireup="true" MasterPageFile="~/Portal/default.Master"  CodeBehind="appform_waitingaudit.aspx.cs" Inherits="Portal.Portal.audit.waitaudit" %>

 
<%@ Register src="../UserControls/Menu.ascx" tagname="Menu" tagprefix="uc1" %>

 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <uc1:Menu ID="Menu1" runat="server" />


  
  
 <div class="appform_body">
 <div style=" margin-left:5px">
   
    
 
  <div style=" width:90%; text-align:right; margin:10px;">

     <a href='appform_waitingaudit.aspx' style="color:#ffffff" class=" btn  btn-flat btn-sm  btn-danger">待审批</a>  
   <a href='appform_waitingaudit.aspx?s=isprocess'  style="color:#ffffff" class=" btn  btn-flat btn-sm   btn-success ">查看归档</a>
 

</div>
 

 <asp:ListView ID="lv_lists" runat="server"      ItemContainerID="layoutTableTemplate"  
  DataKeyNames="id" 
  
 
            onpagepropertieschanging="lv_lists_PagePropertiesChanging" OnItemDataBound="lv_lists_ItemDataBound" 
            >
 
 
    <LayoutTemplate>
 
   <table class="table table-hover">
	<tr  >
      <th scope="col" width="50px">ID  
     </th>
        
      <th scope="col" width="70px">状态</th>

	   <th scope="col" width="70px">审批</th>
	   <th scope="col" width="120px">流水号</th>
	   <th scope="col" >表单名称</th>
	 
	   <th scope="col" width="125px">提交时间</th> 
	   <th scope="col" width="150px">姓名</th> 
		<th   align="center" scope="col" width="280px">
	    	 操作 
		</th>
	</tr>
        
    <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
         
    
	
 </table>
  </LayoutTemplate>
     
    
    <ItemTemplate>
    <tr  >
    
<td   >
 
  <%# Eval("id")%>
</td>

     
<td>
<asp:Label runat="server" ID="lbl_process"></asp:Label>
</td>
<td>
 <asp:Label runat="server" ID="lbl_auditstatus"></asp:Label>
</td>
 

 <td  >
<%#Eval("orderno")%> 
</td>
 

	<td>
 <%#Eval("title")%>  
</td> 
 <td   >
  <%#DateTime.Parse(Eval("createdate").ToString()).ToString("yyyy-MM-dd HH:mm")%>  
</td> 
 
  
<td>
 <%#Eval("username")%>  
</td>
 
  
  
 
 <td  > 


          
      


       <input  type="button" value="审批"  class="btn btn-flat btn-success btn-flat"   onclick="openPop('appform_auditing.aspx?id=<%#Eval("id") %>&treeid=<%#Eval("treeid") %>','查看处理进度'); return false;" />

        
     
        <a href="#"   class="btn btn-flat btn-sm btn-danger" onclick="openPop('appform_auditlogs.aspx?id=<%#Eval("id") %>','查看处理进度'); return false;" >进度</a>
      
            <a   target="_blank"    class="btn btn-flat btn-sm bg-maroon"  href='AppformDetail.aspx?id=<%#Eval("id") %>&treeid=<%#Eval("treeid")%>&activeid=<%#Eval("activeid") %>'>查看</a>
  
     
  	</td>  
 
</tr>  
 
    </ItemTemplate>


  

</asp:ListView>     
Total:<asp:Label runat="server" ID="lbl_total"></asp:Label>条 &nbsp;&nbsp;
<asp:DataPager ID="DataPager1" PagedControlID="lv_lists" runat="server" 
        PageSize="20"    >

    <Fields>
            <asp:numericpagerfield ButtonCount="10" NextPageText="" 
                PreviousPageText=""   />
       <asp:nextpreviouspagerfield FirstPageText="首页" LastPageText="尾页"  ButtonCssClass="btn" 
                NextPageText="下一页" PreviousPageText="上一页"   ButtonType="Button" />
        </Fields>


</asp:DataPager>

</div>

</div>



<script>
    SetC("L4"); 

  

</script>
 

    <input type="hidden" name="hf_ids" id="hf_ids"   />

 
   </asp:Content>