ProjectReport.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:7k
- <%@ Page language="c#" Codebehind="ProjectReport.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.PM.ProjectReport" %>
- <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>Project 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="ProjectReport" 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="BackLink" Text='< 返回' Runat="server" NavigateUrl="Reports.aspx" />
- </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">
- <tbody>
- <tr vAlign="top">
- <td>
- <asp:label id="NoData" runat="server" CssClass="header-gray" Visible="False">没有数据!</asp:label>
- <asp:datalist id="ProjectList" RepeatColumns="1" RepeatDirection="Vertical" runat="server">
- <headerstyle cssclass="header-gray" />
- <headertemplate>
- 项目统计报告
- </headertemplate>
- <itemtemplate>
- <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
- <tr>
- <td valign="top"> </td>
- </tr>
- <tr>
- <td>
- <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
- <tr>
- <td width="180" class="report-main-header">项目名称</td>
- <td width="70" align="right" class="report-main-header">完成时间</td>
- <td width="100" align="right" class="report-main-header">实际所用时间</td>
- <td width="150" class="report-main-header">完成日期</td>
- </tr>
- <tr>
- <td class="report-text"><%# DataBinder.Eval(Container.DataItem, "ProjectName") %></td>
- <td class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "EstHours") %></td>
- <td class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "ActualHours") %></td>
- <td class="report-text"><%# DataBinder.Eval(Container.DataItem, "EstCompletionDate", "{0:d}") %></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top"> </td>
- </tr>
- <tr>
- <td>
- <asp:datalist id="CategoryList" RepeatColumns="1" RepeatDirection="Vertical" DataSource='<%# ListCategory((int) DataBinder.Eval(Container.DataItem, "ProjectID")) %>' runat="server">
- <itemtemplate>
- <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
- <tr>
- <td height="12" width="105"><img height="1" src="images/spacer.gif" width="1"></td>
- <td valign="top" width="72" class="report-header">进程名称</td>
- <td valign="top" width="70" align="right" class="report-header">完成时间</td>
- <td valign="top" width="100" align="right" class="report-header">实际所用时间</td>
- </tr>
- <tr>
- <td height="12" width="105"><img height="1" src="images/spacer.gif" width="1"></td>
- <td valign="top" class="report-text"><%# DataBinder.Eval(Container.DataItem, "CategoryShortName") %></td>
- <td valign="top" class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "EstDuration") %></td>
- <td valign="top" class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "ActualHours") %></td>
- </tr>
- <tr>
- <td valign="top" colspan="4"><img height="15" src="images/spacer.gif" width="1"></td>
- </tr>
- <tr>
- <td valign="top" colspan="2"> </td>
- <td colspan="2">
- <asp:datalist id="EntryList" Width="100%" RepeatColumns="1" RepeatDirection="Vertical" DataSource='<%# ListTimeEntries((int) DataBinder.Eval(Container.DataItem, "CategoryID")) %>' runat="server">
- <headertemplate>
- <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
- <tr>
- <td valign="top" align="left" class="report-header">成员</td>
- <td valign="top" align="right" class="report-header">时间</td>
- </tr>
- </headertemplate>
- <itemtemplate>
- <tr>
- <td valign="top" class="report-text">
- <a href='ResourceReport.aspx?index=<%# _pageIndex %>&IDs=<%# DataBinder.Eval(Container.DataItem, "UserID") %>&Start=<%#((DateTime)DataBinder.Eval(Container.DataItem, "MinEntryDate")).ToShortDateString()%>&End=<%#((DateTime)DataBinder.Eval(Container.DataItem, "MaxEntryDate")).ToShortDateString()%>'>
- <%# DataBinder.Eval(Container.DataItem, "FullName") %>
- </a>
- </td>
- <td valign="top" class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "Duration") %></td>
- </tr>
- </itemtemplate>
- <footertemplate>
- </table>
- </FooterTemplate>
- </asp:datalist>
- </td>
- </tr>
- <tr>
- <td height="25" valign="top" colspan="4"><img height="1" src="images/spacer.gif" width="1"></td>
- </tr>
- </table>
- </itemtemplate>
- </asp:datalist>
- </td>
- </tr>
- </table>
- </itemtemplate> </asp:datalist>
- </td>
- </tr>
- </table>
- </TD></TR>
- <tr>
- <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='< 返回' Runat="server" NavigateUrl="Reports.aspx" />
- </td>
- </tr>
- <tr>
- <td vAlign="top" height="15" colspan="5"><img height="15" src="images/spacer.gif" width="15"></td>
- </tr>
- </TBODY></TABLE>
- </form>
- </body>
- </HTML>