<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="handlesearch.aspx.cs" Inherits="Web.ys.show.handlesearch" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
      <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    文印查询
                     </td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
             <div style ="text-align :left "> 
                </div> 

                <asp:Panel ID="Panelview" runat ="server" >
<!--栏目开始 -->
<asp:Panel ID="Panel1" runat="server" >
         <div class ="lanmubiaoti ">已处理文印申请（点击内容查看详情）</div>
            
            <!--这里添加内容 -->
			<asp:GridView ID="GridView2" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                onselectedindexchanging="GridView2_SelectedIndexChanging" OnRowDataBound="GridView2_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                  <Columns>
                   <asp:BoundField DataField="id" HeaderText="申请编号" ReadOnly="True" />
                                         <asp:TemplateField HeaderText="内容" ShowHeader="False">
                   <ItemTemplate>
                       <asp:LinkButton ID="LinkButton_Trouble" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# Bind("name") %>'></asp:LinkButton>
                                   <asp:Label ID="lb_Trouble" runat="server" Text='<%# Bind("name") %>' Visible ="false" ></asp:Label>
                   </ItemTemplate>
                   </asp:TemplateField>
                            <asp:BoundField DataField="applicationtime" HeaderText="申请时间" ReadOnly="True" />
                    <asp:BoundField DataField="state" HeaderText="处理状态" ReadOnly="True" />
                      
                                

                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
</asp:Panel> 
<!--栏目结束 -->
               
<!--栏目开始 -->


</asp:Panel>
                <asp:Panel ID ="PanelEdit" runat ="server" Visible ="false" >
                    <div style =" background-color :#cccccc; padding :10px;">
                    <div  class ="gv2row ">申请编号：<asp:Label ID="lbId" runat="server" ></asp:Label>&nbsp;状态：<asp:Label ID="lbState" runat="server"></asp:Label>
                        </div>
                    <div class ="gv2row ">名称：<asp:Label ID="lbName" runat="server" ></asp:Label> </div>
                    <div class ="gv2row ">
                      点击下面链接下载文件：  <asp:BulletedList ID="BulletedList1" runat="server" DisplayMode="LinkButton" OnClick="BulletedList1_Click" Font-Bold="True" Font-Size="Large" ForeColor="Red">
                        </asp:BulletedList></div>
                    <div class ="gv2row ">纸张规格：<asp:Label ID="lbPagetype" runat="server"></asp:Label>
                        双面：<asp:Label ID="lbPagedouble" runat="server"></asp:Label>
                        每份张数：<asp:Label ID="lbEachnumber" runat="server"></asp:Label>
                        份数：<asp:Label ID="lbCopyiesnumber" runat="server"></asp:Label>
                        &nbsp;合计用纸<asp:Label ID="lbPagenumber" runat="server"></asp:Label>张</div> </div> 
           <div style =" margin   :10px;"> 
               <div class ="gv2row ">申请处理进程：</div>
               <asp:DataList ID="DataList1" runat="server" Width="100%">
                <AlternatingItemStyle CssClass="gv2row_AlternatingItemStyle" />
              <ItemTemplate>
              <div  class ="gv2row ">
                <div> 
                    <asp:Label ID="lbDate" runat="server" Text='<%# Bind("operationtime") %>'></asp:Label>&nbsp;
                    <asp:Label ID="Label11" runat="server" Text='<%# Bind("staffname") %>'></asp:Label>：
                    <asp:Label ID="Label13" runat="server" Text='<%# Bind("operation") %>'></asp:Label>&nbsp;
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("remarks") %>'></asp:Label>

                </div> 
                </ItemTemplate>
          </asp:DataList></div> 
                 <div style =" padding-top :10px; padding-bottom :10px; text-align :center ">
                     <asp:Button ID="btBack" runat="server" CausesValidation="False" onclick="btBack_Click" Text="返回" />
                     <div style =" padding-top :5px; padding-bottom :5px; text-align :center "></div> 
            </div>

                </asp:Panel>

                </div>
            </div>
        </form>
    </body>
</html>