ProjectReport.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:7k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="ProjectReport.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.PM.ProjectReport" %>
  2. <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>Project Report Page</title>
  6. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  7. <link href="styles.css" type="text/css" rel="stylesheet">
  8. </HEAD>
  9. <body>
  10. <form id="ProjectReport" method="post" runat="server">
  11. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  12. <tr>
  13. <td class="tab-active" vAlign="top" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
  14. </tr>
  15. </table>
  16. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  17. <tr>
  18. <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
  19. <td>
  20. <asp:hyperlink ID="BackLink" Text='< 返回' Runat="server" NavigateUrl="Reports.aspx" />
  21. </td>
  22. </tr>
  23. <tr>
  24. <td width="11" colspan="2"><img height="11" src="images/spacer.gif" width="11">
  25. </td>
  26. </tr>
  27. <tr>
  28. <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
  29. <td valign="top">
  30. <table class="tan-border" cellSpacing="11" cellPadding="0" width="100%" border="0" height="526">
  31. <tbody>
  32. <tr vAlign="top">
  33. <td>
  34. <asp:label id="NoData" runat="server" CssClass="header-gray" Visible="False">没有数据!</asp:label>
  35. <asp:datalist id="ProjectList" RepeatColumns="1" RepeatDirection="Vertical" runat="server">
  36. <headerstyle cssclass="header-gray" />
  37. <headertemplate>
  38. 项目统计报告
  39. </headertemplate>
  40. <itemtemplate>
  41. <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
  42. <tr>
  43. <td valign="top">&nbsp;</td>
  44. </tr>
  45. <tr>
  46. <td>
  47. <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
  48. <tr>
  49. <td width="180" class="report-main-header">项目名称</td>
  50. <td width="70" align="right" class="report-main-header">完成时间</td>
  51. <td width="100" align="right" class="report-main-header">实际所用时间</td>
  52. <td width="150" class="report-main-header">完成日期</td>
  53. </tr>
  54. <tr>
  55. <td class="report-text"><%# DataBinder.Eval(Container.DataItem, "ProjectName") %></td>
  56. <td class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "EstHours") %></td>
  57. <td class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "ActualHours") %></td>
  58. <td class="report-text"><%# DataBinder.Eval(Container.DataItem, "EstCompletionDate", "{0:d}") %></td>
  59. </tr>
  60. </table>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td valign="top">&nbsp;</td>
  65. </tr>
  66. <tr>
  67. <td>
  68. <asp:datalist id="CategoryList" RepeatColumns="1" RepeatDirection="Vertical" DataSource='<%# ListCategory((int) DataBinder.Eval(Container.DataItem, "ProjectID")) %>' runat="server">
  69. <itemtemplate>
  70. <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
  71. <tr>
  72. <td height="12" width="105"><img height="1" src="images/spacer.gif" width="1"></td>
  73. <td valign="top" width="72" class="report-header">进程名称</td>
  74. <td valign="top" width="70" align="right" class="report-header">完成时间</td>
  75. <td valign="top" width="100" align="right" class="report-header">实际所用时间</td>
  76. </tr>
  77. <tr>
  78. <td height="12" width="105"><img height="1" src="images/spacer.gif" width="1"></td>
  79. <td valign="top" class="report-text"><%# DataBinder.Eval(Container.DataItem, "CategoryShortName") %></td>
  80. <td valign="top" class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "EstDuration") %></td>
  81. <td valign="top" class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "ActualHours") %></td>
  82. </tr>
  83. <tr>
  84. <td valign="top" colspan="4"><img height="15" src="images/spacer.gif" width="1"></td>
  85. </tr>
  86. <tr>
  87. <td valign="top" colspan="2">&nbsp;</td>
  88. <td colspan="2">
  89. <asp:datalist id="EntryList" Width="100%" RepeatColumns="1" RepeatDirection="Vertical" DataSource='<%# ListTimeEntries((int) DataBinder.Eval(Container.DataItem, "CategoryID")) %>' runat="server">
  90. <headertemplate>
  91. <table border="0" cellpadding="0" cellspacing="0" class="Content" width="100%">
  92. <tr>
  93. <td valign="top" align="left" class="report-header">成员</td>
  94. <td valign="top" align="right" class="report-header">时间</td>
  95. </tr>
  96. </headertemplate>
  97. <itemtemplate>
  98. <tr>
  99. <td valign="top" class="report-text">
  100. <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()%>'>
  101. <%# DataBinder.Eval(Container.DataItem, "FullName") %>
  102. </a>
  103. </td>
  104. <td valign="top" class="report-text" align="right"><%# DataBinder.Eval(Container.DataItem, "Duration") %></td>
  105. </tr>
  106. </itemtemplate>
  107. <footertemplate>
  108. </table>
  109. </FooterTemplate>
  110. </asp:datalist>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td height="25" valign="top" colspan="4"><img height="1" src="images/spacer.gif" width="1"></td>
  115. </tr>
  116. </table>
  117. </itemtemplate>
  118. </asp:datalist>
  119. </td>
  120. </tr>
  121. </table>
  122. </itemtemplate> </asp:datalist>
  123. </td>
  124. </tr>
  125. </table>
  126. </TD></TR>
  127. <tr>
  128. <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
  129. </tr>
  130. <tr>
  131. <td width="11" colspan="2"><img height="11" src="images/spacer.gif" width="11"></td>
  132. </tr>
  133. <tr>
  134. <td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
  135. <td>
  136. <asp:hyperlink ID="BackLink2" Text='< 返回' Runat="server" NavigateUrl="Reports.aspx" />
  137. </td>
  138. </tr>
  139. <tr>
  140. <td vAlign="top" height="15" colspan="5"><img height="15" src="images/spacer.gif" width="15"></td>
  141. </tr>
  142. </TBODY></TABLE>
  143. </form>
  144. </body>
  145. </HTML>