123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OvertimeApplicationList.aspx.cs" Inherits="OA2014.OvertimeApplicationList" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <%@ Register Src="../publicControls/pageControl.ascx" TagName="pageControl" TagPrefix="uc1" %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>加班申请</title>
- <link href="../css/all.css" rel="stylesheet" type="text/css" />
- <%-- <link href="../css/upCard.css" rel="stylesheet" type="text/css" />--%>
- <link href="../css/pagination.css" rel="stylesheet" type="text/css" />
- <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
- </head>
- <body style="margin: auto; width: 75%; height: 550px;">
- <form id="form1" runat="server">
- <div>
- <div class="ps">
- <table class="ps" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td style="width: 75%;">日期:
- <asp:TextBox ID="txtStardDate" runat="server"
- Width="80" onClick="WdatePicker()" Style="border: 1px solid #b3b3b3;" />
- 至
- <asp:TextBox ID="txtEndDate" runat="server"
- Width="80" onClick="WdatePicker()" Style="border: 1px solid #b3b3b3;" />
- 人事审核状态:<asp:DropDownList ID="ddlRSAudit" AutoPostBack="true" runat="server"
- Width="70" OnSelectedIndexChanged="ddlRSAudit_SelectedIndexChanged">
- <asp:ListItem Value="0" Text="未审核" />
- <asp:ListItem Value="1" Text="已审核" />
- <asp:ListItem Value="2" Text="未通过" />
- </asp:DropDownList>
- 主管审核状态:<asp:DropDownList ID="ddlZGAudit" AutoPostBack="true" runat="server"
- Width="70" OnSelectedIndexChanged="ddlZGAudit_SelectedIndexChanged">
- <asp:ListItem Value="0" Text="未审核" />
- <asp:ListItem Value="1" Text="已审核" />
- <asp:ListItem Value="2" Text="未通过" />
- </asp:DropDownList>
- 加班类型:<asp:DropDownList runat="server" ID="ddlOvertimeType">
- <asp:ListItem Text="全部" Value="0" />
- <asp:ListItem Text="公司加班" Value="1" />
- <asp:ListItem Text="在家加班" Value="2" />
- <asp:ListItem Text="外出加班" Value="3" />
- </asp:DropDownList>
- <asp:Button ID="Button1" runat="server" Text="查 询" CssClass="btn" Style="line-height: 18px; width: 65px; height: 20px;"
- OnClick="Button1_Click" />
- </td>
- <td class="ps_add" style="width: 25%">
- <asp:Button ID="btnAdd" runat="server" Text="新增加班申请" CssClass="btn" Style="line-height: 18px; width: 85px; height: 20px;"
- OnClick="btnAdd_Click" />
- </td>
- </tr>
- </table>
- </div>
- <div class="list">
- <table class="list" cellpadding="0" cellspacing="0" border="0">
- <tr class="tr_title">
- <td style="border: 1px solid #168ec7; width: 100px;">序号
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">申请人
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">申请日期
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">开始时间
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">结束时间
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">加班类型
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">实际加班累计
- </td>
- <td style="border: 1px solid #168ec7; width: 200px;">新规加班累计
- </td>
- <td class="td">事由说明
- </td>
- <td class="td_oper">操 作
- </td>
- </tr>
- <asp:Repeater ID="rpData" runat="server" OnItemDataBound="rpData_ItemDataBound">
- <ItemTemplate>
- <tr class="tr_content">
- <td class="td">
- <%# Container.ItemIndex + 1%>
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">
- <asp:Label runat="server" ID="uName"></asp:Label>
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">
- <%#Convert.ToDateTime(Eval("OverDate")).ToString("yyyy-MM-dd")%>
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">
- <%#Eval("StardTime")%>
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">
- <%#Eval("EndTime")%>
- </td>
- <td style="border: 1px solid #168ec7; width: 150px;">
- <asp:HiddenField runat="server" ID="hdOvertimeType" Value='<%#Eval("OvertimeType")%>' />
- <asp:Label runat="server" ID="lbOvertimeType" />
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">
- <%#Eval("ObjectiveTime")%>
- </td>
- <td style="border: 1px solid #168ec7; width: 100px;">
- <%#Eval("SubjectiveTime")%>
- </td>
- <td class="td" style="border: 1px solid #168ec7; width: 300px;">
- <%#Eval("Reason")%>
- </td>
- <td style="width: 100px; border: 1px solid #168ec7;">
- <asp:Label ID="lblUID" Visible="false" runat="server" Text='<%# Eval("UID") %>'></asp:Label>
- <asp:LinkButton ID="lbtnEdit" runat="server" Text="编 辑" OnClick="lbtnEdit_Click"
- CommandArgument='<%#Eval("Id")%>' />
- |
- <asp:LinkButton ID="lbtnDel" runat="server" Text="删 除" OnClick="lbtnDel_Click" OnClientClick='return confirm("温馨提示:确定删除该条数据吗?");'
- CommandArgument='<%#Eval("Id")%>' />
- </td>
- </tr>
- </ItemTemplate>
- </asp:Repeater>
- </table>
- <%-- <span style="color: green;">共加班:</span><label runat="server" style="font-size: 20px;" id="lblOverHourse">0</label>小时 --%>
- <span style="color: green;">共加班(在家加班时间按公司规章统计):</span><label runat="server" style="font-size: 20px;" id="lblOverHourseSub">0</label>小时
- <br />
- <span style="color: red;">共抵休:</span><label runat="server" style="font-size: 20px;" id="lblLeavelHourse">0</label>小时
- </div>
- <uc1:pageControl ID="pageControl" runat="server" />
- </div>
- </form>
- </body>
- </html>
|