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

<!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="department" HeaderText="所属机构" ReadOnly="True" />
                      <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                      <asp:BoundField DataField="staffname" HeaderText="申请人" ReadOnly="True" />
                      <asp:BoundField DataField="copyiesnumber" HeaderText="份数" ReadOnly="True" />
                            <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>
                         <asp:Label ID="lbStaffname" runat="server"></asp:Label>
                        &nbsp;<asp:Label ID="lbStaffid" runat="server" Visible ="false" ></asp:Label>              <asp:Label ID="lbEmail" runat="server"  Visible ="false"></asp:Label>
                        <asp:Label ID="lbSMS" runat="server"  Visible ="false" ></asp:Label>
                        <asp:Label ID="lbChat" runat="server"  Visible ="false"></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 =" margin   :10px;"> 
                        <table><tr><td>
                            <asp:RadioButtonList ID="rblState" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblState_SelectedIndexChanged">
                            <asp:ListItem Selected="True" Value="审核通过">通过</asp:ListItem>
                            <asp:ListItem Value="审核退回">退回</asp:ListItem>
                        </asp:RadioButtonList>
                                   </td><td>
备注：<asp:TextBox ID="tbRemarks" runat="server" Width="300px"></asp:TextBox>
                                        </td></tr></table>
                       <div  class ="gv2row ">    <asp:CheckBox ID="cbEmail" Text="邮件通知" runat="server" Visible ="false"  />  
                        <asp:CheckBox ID="cbSMS" Text="短信通知" runat="server"  Visible ="false" />   
                        <asp:CheckBox ID="cbChat" Text="微信通知" runat="server"  Visible ="false" />  &nbsp;     <asp:Button ID="btCheck" runat="server" CausesValidation="False" onclick="btCheck_Click" Text="提交" /></div> 
                    </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>