<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserLeave.aspx.cs" Inherits="ComResProSystem.UserLeave" %>

<!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 runat="server">
    <title></title>
   
    <style type="text/css">
     body
        {
            margin: 0px;
            padding: 0px;
            font-size: 12px;
        }
       .table{border-collapse:collapse; height:24px; line-height:24px;  text-align:center;}
       .table tr {border-right:solid 1px #b5bdc0; border-left:solid 1px #b5bdc0;}
       .table tr td{border:solid 1px #b5bdc0;}
       .classtd
       {
           background-image:url(Image/tab/tab_14.gif);
            height:26px;
             background-repeat:repeat-x;
              text-align:center
       }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <div style="background-image: url(Image/tab/tab_05.gif); height: 25px; background-repeat: repeat-x">
            <img src="Image/tab/311.gif" alt="" /><span style="font-size: 12px; color: #1F4A65;
                font-weight: bold;">员工离职管理</span>
        </div>
          <div>
            <table>
                <tr>
                    <td>
                        请选择查询条件:
                    </td>
                    <td>
                        部门:
                        <asp:DropDownList ID="Dd_Part" runat="server">
                            <asp:ListItem>-请选择-</asp:ListItem>
                            <asp:ListItem>财务部</asp:ListItem>
                            <asp:ListItem>工程部</asp:ListItem>
                            <asp:ListItem>开发部</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        职位:<asp:DropDownList ID="Dd_UserPos" runat="server">
                            <asp:ListItem>-请选择-</asp:ListItem>
                            <asp:ListItem>普通员工</asp:ListItem>
                            <asp:ListItem>部门主管</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:ImageButton ID="Ibt_select" runat="server" 
                            ImageUrl="~/Image/Bt_Select.gif" onclick="Ibt_select_Click"  />
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Repeater ID="Repeater1" runat="server" 
                onitemcommand="Repeater1_ItemCommand">
                <HeaderTemplate>
                    <table class="table" cellpadding="0px" cellspacing="0px" width="90%" align="center">
                        <tr>
                            <td class="classtd">
                                编号
                            </td>
                            <td class="classtd">
                                员工姓名
                            </td>
                            <td class="classtd">
                                所属部门
                            </td>
                            <td class="classtd">
                                职位
                            </td>
                            <td class="classtd">
                                申请离职原因
                            </td>
                            <td class="classtd">
                                申请时间
                            </td>
                            <td class="classtd">
                                操作
                            </td>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Container.ItemIndex+1 %>
                        </td>
                        <td>
                            <%#Eval("UserName")%>
                        </td>
                        <td>
                            <%#Eval("UserPart")%>
                        </td>
                        <td>
                            <%#Eval("UserPos")%>
                        </td>
                        <td>
                            <%#Eval("LeaveRea")%>
                        </td>
                        <td>
                            <%#Eval("ApplicationTime")%>
                        </td>
                        <td>
                            <asp:LinkButton ID="Lbt_Detali" runat="server" CommandName="Aduit" CommandArgument='<%#Eval("ID")+"@"+Eval("UserID") %>'>审核</asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
              <div id="preup" runat="server" style=" margin-right:5%; display:none " align="right">
            <table>
                <tr>
                    <td>
                        总共<asp:Label ID="Lb_Total" runat="server" Text=""></asp:Label>页
                    </td>
                    <td>
                        当前第<asp:Label ID="Lb_Now" runat="server" Text=""></asp:Label>页
                    </td>
                    <td>
                        <asp:ImageButton ID="Ibt_Firsr" runat="server" ImageUrl="~/Image/tab/first.gif" 
                            onclick="Ibt_Firsr_Click" />
                    </td>
                    <td>
                        <asp:ImageButton ID="Ibt_Pre" runat="server" ImageUrl="~/Image/tab/back.gif" 
                            onclick="Ibt_Pre_Click"  />
                    </td>
                    <td>
                        <asp:ImageButton ID="Ibt_Next" runat="server" ImageUrl="~/Image/tab/next.gif" onclick="Ibt_Next_Click" 
                          />
                    </td>
                    
                    <td>
                        <asp:ImageButton ID="Ibt_Last" runat="server" ImageUrl="~/Image/tab/last.gif" onclick="Ibt_Last_Click" 
                            />
                    </td>
                    <td>
                        <asp:TextBox ID="Tb_goto" runat="server" Height="12px" Width="15px"></asp:TextBox>
                        <asp:ImageButton ID="Ibt_goto" runat="server" ImageUrl="~/Image/tab/go.gif" onclick="Ibt_goto_Click"/> </td>
                </tr>
            </table>
        </div>
        </div>
    </div>
    </form>
</body>
</html>
