ResourceReport.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:7k
- <%@ Import Namespace="qminoa.BLL.PM" %>
- <%@ Page language="c#" Codebehind="ResourceReport.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.PM.ResourceReportForm" %>
- <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <html>
- <head>
- <title>Resource Report Page</title>
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <link href="styles.css" type="text/css" rel="stylesheet">
- </head>
- <body>
- <form id="ResourceReportForm" method="post" runat="server">
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td class="tab-active" vAlign="top" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
- </tr>
- </table>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
- <td>
- <asp:hyperlink ID="BackLink1" Text='< 返回' Runat="server" />
- </td>
- </tr>
- <tr>
- <td width="11" colspan="2"><img height="11" src="images/spacer.gif" width="11">
- </td>
- </tr>
- <tr>
- <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
- <td valign="top">
- <table class="tan-border" cellSpacing="11" cellPadding="0" width="100%" border="0" height="526">
- <tr vAlign="top">
- <td>
- <asp:label id="NoData" runat="server" Visible="False" CssClass="header-gray">没有数据!</asp:label>
- <asp:datalist id="UserList" runat="server" Width="100%">
- <headertemplate>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td colspan="3" class="header-gray">成员统计报告</td>
- </tr>
- <tr>
- <td colspan="3"> </td>
- </tr>
- <tr>
- <td width="150" class="report-header">开始日期</td>
- <td width="150" class="report-header">结束日期</td>
- <td width="*" class="report-header"> </td>
- </tr>
- <tr>
- <td class="report-text">
- <asp:Label ID="StartDate" Runat="server" Text='<%# _startDate.ToString("d") %>' /></td>
- <td class="report-text">
- <asp:Label ID="EndDate" Runat="server" Text='<%# _endDate.ToString("d") %>' /></td>
- <td></td>
- </tr>
- <tr>
- <td colspan="3"> </td>
- </tr>
- </table>
- </headertemplate>
- <itemtemplate>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td width="150" class="report-main-header">成员</td>
- <td width="78" align="right" class="report-main-header">所用时间</td>
- <td width="*" class="report-main-header"> </td>
- </tr>
- <tr>
- <td class="report-text"><%# DataBinder.Eval(Container.DataItem, "FullName") %></td>
- <td class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "TotalHours") %></td>
- <td class="report-text"> </td>
- </tr>
- <tr>
- <td height="24" colspan="3"> </td>
- </tr>
- </table>
- <table cellSpacing="0" cellPadding="3" width="100%" border="0">
- <tr>
- <td>
- <asp:datagrid id="TimeEntryGrid" DataSource='<%# ListTimeEntry(_user.UserID, (int)DataBinder.Eval(Container.DataItem, "UserID"), _startDate, _endDate) %>' runat="server" BorderStyle="None" Width="100%" CellPadding="4" AutoGenerateColumns="False" Font-Name="Verdana" AllowSorting="True" BorderColor="White" OnSortCommand="TimeEntryGrid_Sort">
- <headerstyle Font-Bold="True" CssClass="report-header"></headerstyle>
- <columns>
- <asp:templatecolumn SortExpression="EntryDate" HeaderText="日期">
- <headerstyle HorizontalAlign="Left" Width="150px" CssClass="report-header" VerticalAlign="Middle"></headerstyle>
- <itemstyle HorizontalAlign="Left" Width="150px" CssClass="report-text"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container, "DataItem.EntryDate", "{0:d}") %>
- </itemtemplate>
- </asp:templatecolumn>
- <asp:templatecolumn SortExpression="ProjectName" HeaderText="项目">
- <headerstyle HorizontalAlign="Left" Width="120px" CssClass="report-header" VerticalAlign="Middle"></headerstyle>
- <itemstyle CssClass="report-text" Width="120px" Wrap="False"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container, "DataItem.ProjectName") %>
- </itemtemplate>
- </asp:templatecolumn>
- <asp:templatecolumn SortExpression="CategoryName" HeaderText="进程">
- <headerstyle HorizontalAlign="Left" Width="50px" CssClass="report-header" VerticalAlign="Middle"></headerstyle>
- <itemstyle CssClass="report-text" Width="50px"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container.DataItem, "CategoryShortName") %>
- </itemtemplate>
- </asp:templatecolumn>
- <asp:templatecolumn SortExpression="Duration" HeaderText="时间">
- <headerstyle HorizontalAlign="Right" Width="50px" CssClass="report-header" VerticalAlign="Middle"></headerstyle>
- <itemstyle HorizontalAlign="Right" CssClass="report-text" Width="40px"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container.DataItem, "Duration", "{0:f}") %>
- </itemtemplate>
- </asp:templatecolumn>
- <asp:templatecolumn SortExpression="Description" HeaderText="描述">
- <headerstyle HorizontalAlign="Left" CssClass="report-header" VerticalAlign="Middle"></headerstyle>
- <itemstyle CssClass="report-text" Wrap="False"></itemstyle>
- <itemtemplate>
- <%# DataBinder.Eval(Container, "DataItem.Description") %>
- </itemtemplate>
- </asp:templatecolumn>
- </columns>
- </asp:datagrid>
- </td>
- </tr>
- <tr>
- <td height="48"> </td>
- </tr>
- </table>
- </itemtemplate>
- </asp:datalist>
- </td>
- </tr>
- </table>
- </td>
- <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
- </tr>
- <tr>
- <td width="11" colspan="2"><img height="11" src="images/spacer.gif" width="11"></td>
- </tr>
- <tr>
- <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
- <td>
- <asp:hyperlink ID="BackLink2" Text='< Back to Reports' Runat="server" />
- </td>
- </tr>
- <tr>
- <td vAlign="top" height="15" colspan="5"><img height="15" src="images/spacer.gif" width="15"></td>
- </tr>
- </table>
- </form>
- </body>
- </html>