<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reply.aspx.cs" Inherits="TotCms.Web.Office.Document.Reply" %>
<!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="../style/global.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="br"></div>
    <div id="right_dqwz">公文批复</div>
    <table cellpadding="0" cellspacing="1" border="0" width="100%">
      <tr>
        <td height="32" colspan="6">
        <a href="?runstatus=0" class="<%=GetCss(0)%>">全部</a>
        <a href="?runstatus=1" class="<%=GetCss(1)%>">待办流程</a>
        <a href="?runstatus=2" class="<%=GetCss(2)%>">在办流程</a>
        <a href="?runstatus=3" class="<%=GetCss(3)%>">已办流程</a>
        <a href="?runstatus=4" class="<%=GetCss(4)%>">退回流程</a>
        </td>
      </tr>   
    </table>
    <asp:ListView ID="lvList" runat="server" ItemPlaceholderID="items"
        onitemcommand="lvList_ItemCommand" DataKeyNames="id" 
      onpagepropertieschanged="lvList_PagePropertiesChanged">
        <LayoutTemplate>
          <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">            
          <tr class="suphead">
              <td style="text-align:left; padding-left:5px;">标题</td>
              <td width="10%">执行到</td>
              <td width="10%">状态</td>
              <td width="10%">发起者</td>
              <td width="12%">发起日期</td>
              <td width="12%">完成日期</td>
              
          </tr>
          <asp:PlaceHolder runat="server" ID="items"></asp:PlaceHolder>
          </table>
        </LayoutTemplate>   
        <ItemTemplate>
            <tr class="lines" onmouseover="this.style.backgroundColor='#ffffff';" onmouseout="this.style.backgroundColor='#f5f5f5';">
            <td style="text-align:left; padding-left:5px;"><a  href='Issue_Reply.aspx?id=<%# Eval("id")%>'><%# Eval("Title")%></a></td>
            <td><a href='Issue_Reply.aspx?id=<%# Eval("id")%>'><%# Eval("CurrentStep")%></a></td>
            <td><%# GetStatus(Eval("RunStatus"))%></td>
            <td><%# Eval("UserName") %></td>
            <td><%# Eval("PubDate","{0:yyyy-MM-dd}")%></td>
            <td><%# Eval("CompleteDate")%></td>
            
            </tr>
        </ItemTemplate>     
        <EmptyDataTemplate>
            <div class="info">暂时没有数据.</div>
        </EmptyDataTemplate>       
    </asp:ListView>
    
    <div class="pages">
      <asp:DataPager ID="DataPager1" runat="server" 
        PagedControlID="lvList" PageSize="15">
      <Fields>
        <asp:NextPreviousPagerField FirstPageText="首页" LastPageText="尾页" 
          NextPageText="下一页" PreviousPageText="上一页" ShowFirstPageButton="True" 
          ShowLastPageButton="True" />
        <asp:NumericPagerField />
      </Fields>
    </asp:DataPager></div>
    </form>
</body>
</html>

