<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="content.aspx.cs" Inherits="sakq.frame.content" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
        <LINK href="../css/style.css" type="text/css" rel="stylesheet">
    <script language="JavaScript" src="../js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server"><br>
         <table id="Table1" align="center" border="0" cellpadding="0" cellspacing="0" width="98%"  >
            <tr>
                <td style="width:48%" valign=top>
                    <table id="Table4"  class="sys_grid" width="100%" style="margin-bottom: -1px;">
                        <tr>
                            <td align="left" class="sys_head_cell"><img align="absMiddle" src="../Image/search.gif" />
                            请假信息</td>
                        </tr>
                      </table>
                      <asp:GridView ID="gv_qj" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                CssClass="gdv" EmptyDataText=">>无待审记录" OnPageIndexChanging="gv_qj_PageIndexChanging"
                                OnRowDataBound="gv_qj_RowDataBound" PageSize="5" Width="100%">
                            <Columns>
                                <asp:BoundField DataField="per_name" HeaderText="申请人" SortExpression="per_name" />
                                <asp:BoundField DataField="hd_name" HeaderText="假期名称" SortExpression="hd_name" />
                                <asp:BoundField DataField="apply_days" HeaderText="请假天数(天)" SortExpression="apply_days" />
                                <asp:BoundField DataField="approve_state" HeaderText="审批状态" SortExpression="approve_state" />
                            </Columns>                            
                            <PagerStyle HorizontalAlign="Right" />
                        </asp:GridView>
                    </td>
                    <td style="width:4%">
                        &nbsp;
                    </td>
                    <td style="width:48%" valign=top>
                    <table id="Table2"  class="sys_grid" width="100%" style="margin-bottom: -1px;">
                        <tr>
                            <td align="left" class="sys_head_cell"><img align="absMiddle" src="../Image/search.gif" />
                                个人假期</td>
                        </tr>
                      </table>
                      <asp:GridView ID="gv_holiday" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                            CssClass="gdv" EmptyDataText=">>无假期数据" OnPageIndexChanging="gv_holiday_PageIndexChanging"
                            OnRowDataBound="gv_holiday_RowDataBound" PageSize="5" Width="100%">
                            <Columns>
                                <asp:BoundField DataField="per_name" HeaderText="姓名" SortExpression="per_name" />
                                <asp:BoundField DataField="nian" HeaderText="年度" SortExpression="nian" />
                                <asp:BoundField DataField="hd_name" HeaderText="假期类型" SortExpression="hd_name" />
                                <asp:BoundField DataField="hd_days" HeaderText="总天数" SortExpression="hd_days" />
                                <asp:BoundField DataField="hd_times" HeaderText="总次数" SortExpression="hd_times" />
                                <asp:BoundField DataField="use_days" HeaderText="已用天数" SortExpression="use_days" />
                                <asp:BoundField DataField="use_times" HeaderText="已用次数" SortExpression="use_times" />
                                <asp:BoundField DataField="left_days" HeaderText="剩余天数" SortExpression="left_days" />
                                <asp:BoundField DataField="left_times" HeaderText="剩余次数" SortExpression="left_times" />
                            </Columns>                            
                            <PagerStyle HorizontalAlign="Right" />
                        </asp:GridView>
                    </td>
            </tr>
        </table>
    </form>
       	<script language="javascript">
       <%=msg%>;
       function Ondbclk(s1,s2)
	    { 
		     window.showModalDialog('../aspx/showModal.aspx?url='+s1+'?ID='+s2,'','dialogWidth:600px;dialogHeight:600px;help:no;status:no;dialogHide:yes;scrollbars:no;center:yes');
             window.location="content.aspx";
		 }   	     
    </script>  
</body>
</html>
