📄 history.aspx
字号:
<%@ Page language="c#" Codebehind="History.aspx.cs" AutoEventWireup="false" Inherits="BlueHill.SubmitOvertime.History" %>
<%@ Register TagPrefix="uc1" TagName="Left" Src="Left.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Common/Header.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>History</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="../Styles.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="800" align="center" border="0">
<TR>
<TD style="HEIGHT: 90px" vAlign="top" align="center" width="100%" colSpan="2"><FONT face="宋体">
<uc1:Header id="Header1" runat="server"></uc1:Header></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 500px; BACKGROUND-COLOR: #cccccc" vAlign="top" align="center" width="200">
<br>
<uc1:Left id="Left1" runat="server"></uc1:Left></TD>
<TD style="HEIGHT: 500px" vAlign="top" align="center" width="600"><FONT face="宋体">
<br>
<asp:Panel id="pnlSearch" runat="server" Height="88px">
<TABLE id="Table2" style="WIDTH: 500px; HEIGHT: 72px" cellSpacing="0" cellPadding="0" width="500"
border="0">
<TR>
<TD style="HEIGHT: 22px" width="70">开始时间:</TD>
<TD style="HEIGHT: 22px" width="180">
<asp:TextBox id="txtStartTime" runat="server"></asp:TextBox></TD>
<TD style="HEIGHT: 22px" width="70">结束时间:</TD>
<TD style="HEIGHT: 22px" width="180">
<asp:TextBox id="txtEndTime" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD style="HEIGHT: 21px" width="70"></TD>
<TD style="HEIGHT: 21px" width="180">
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="txtStartTime" ErrorMessage="开始时间不能为空"
Display="Dynamic"></asp:RequiredFieldValidator>
<asp:CompareValidator id="CompareValidator1" runat="server" ControlToValidate="txtStartTime" ErrorMessage="开始时间格式不正确"
Operator="DataTypeCheck" Type="Date" Display="Dynamic"></asp:CompareValidator></TD>
<TD style="HEIGHT: 21px" width="70"></TD>
<TD style="HEIGHT: 21px" width="180">
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="txtEndTime" ErrorMessage="结束时间不能为空"
Display="Dynamic"></asp:RequiredFieldValidator>
<asp:CompareValidator id="CompareValidator2" runat="server" ControlToValidate="txtEndTime" ErrorMessage="结束时间格式不正确"
Operator="DataTypeCheck" Type="Date" Display="Dynamic"></asp:CompareValidator></TD>
</TR>
<TR>
<TD align="left" width="500" colSpan="4">
<asp:RadioButtonList id="rdoOptionList" runat="server" Height="64px" Width="240px">
<asp:ListItem Value="0" Selected="True">显示全部</asp:ListItem>
<asp:ListItem Value="1">只显示折算成年假的记录</asp:ListItem>
<asp:ListItem Value="2">只显示折算成津贴的记录</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD style="HEIGHT: 31px" align="left" width="500" colSpan="4">
<asp:Button id="btnSearch" runat="server" Width="72px" Text="搜 索"></asp:Button></TD>
</TR>
</TABLE>
</asp:Panel>
<asp:Panel id="pnlDetail" runat="server" Visible="False" Height="88px">
<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="500" border="0">
<TR>
<TD style="HEIGHT: 28px" width="80">审批者:</TD>
<TD style="HEIGHT: 28px" width="420">
<asp:Label id="lblApproverName" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD style="HEIGHT: 27px" width="80">加班事由:</TD>
<TD style="HEIGHT: 27px" width="420">
<asp:Label id="lblReason" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD style="HEIGHT: 26px" width="80">
<asp:Label id="lblDeny" runat="server">否决理由:</asp:Label></TD>
<TD style="HEIGHT: 26px" width="420">
<asp:Label id="lblDenyReason" runat="server"></asp:Label></TD>
</TR>
</TABLE>
</asp:Panel></FONT>
<asp:Panel id="pnlResult" runat="server" Visible="False" Height="88px">
<asp:Label id="lblMessage" runat="server" Visible="False" ForeColor="Red">没有找到任何记录</asp:Label>
<asp:DataGrid id="grdResult" runat="server" Width="100%" Visible="False" CellPadding="4" BackColor="White"
BorderWidth="1px" BorderStyle="None" BorderColor="#3366CC" AutoGenerateColumns="False">
<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
<ItemStyle ForeColor="#003399" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="OvertimeID"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="ApproverName"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="Reason"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="DenyReason"></asp:BoundColumn>
<asp:BoundColumn DataField="StartTime" HeaderText="开始时间">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="EndTime" HeaderText="结束时间">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="SubmitTime" HeaderText="提交时间">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="TypeName" HeaderText="类 型">
<HeaderStyle Width="80px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Status" HeaderText="状 态">
<HeaderStyle Width="50px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Hours" HeaderText="小时数">
<HeaderStyle Width="50px"></HeaderStyle>
</asp:BoundColumn>
<asp:ButtonColumn Text="详细情况..." HeaderText="详细情况" CommandName="Select">
<HeaderStyle Width="80px"></HeaderStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
</asp:DataGrid>
</asp:Panel></TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -