task_pending_finish_project_detail.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ include file="/vnex/head.jsp"%>
  2. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  3. <%@ page import="java.util.*" %>
  4. <%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
  5. <%@ page import="com.vnex.intranet.workflow.util.*" %>
  6. <%@ page import="com.vnex.intranet.util.StringUtil" %>
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  8. <HTML>
  9. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  10. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  11. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  12. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  13. <script language="JavaScript">
  14. window.onload=init
  15. </script>
  16. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  17. <jsp:useBean id="taskPendingInfo" scope="session" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingValueBean" />
  18. <jsp:useBean id="projectInfo" scope="session" class="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean" />
  19. <jsp:useBean id="routeInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  20. <%
  21.     int workflowId = Integer.parseInt(request.getParameter("workflowId"));
  22.     int subtaskId = Integer.parseInt(request.getParameter("subtaskId"));
  23.     int csubtaskId = Integer.parseInt(request.getParameter("csubtaskId"));
  24.         
  25.     int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
  26.     int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
  27.     int csubtasktypeId = Integer.parseInt(request.getParameter("csubtasktypeId"));
  28.     
  29.     int execId = Integer.parseInt(request.getParameter("execId"));
  30.     int querytype = Integer.parseInt(request.getParameter("querytype"));
  31.             
  32.     routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
  33.     
  34.     ArrayList subs = routeInfo.getSubtaskList();    
  35.     SubTaskValueBean click = new SubTaskValueBean();
  36.     
  37.     
  38.     for(int i=0; i<subs.size(); i++)
  39.     {
  40.         SubTaskValueBean sub = (SubTaskValueBean)subs.get(i);
  41.         if (sub.getSubtaskId() == csubtaskId)
  42.         {
  43.             click = sub;            
  44.         }
  45.     }
  46.     session.removeAttribute("routeInfo");
  47. %>
  48. <script language=JavaScript>
  49. function goback(form)
  50. {
  51.     form.action="/mainctrl/taskpending/taskPendingFinishDispatch?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&querytype=<%=querytype%>";
  52.     form.submit();
  53. }
  54. </script>
  55. <DIV align=center>
  56. <form name="form1" method="post" action="">
  57.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  58.     <TBODY> 
  59.      <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  60.     <TR> 
  61.         <TD colSpan=3 align="center"><br>
  62.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  63.             <tr> 
  64.               <td align="center" colspan="2" bgcolor="#FFFFFF"> 
  65.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  66.                   <tr bgcolor="#666666"> 
  67.                      
  68.                     <td colspan="6"><font class="strongw">&nbsp;<a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>&gt;&gt;<a href="/mainctrl/taskpending/taskPendingFinishList"><font color="#FFFFFF">已办事宜</font></a>&gt;&gt;项目管理&gt;&gt;总结描述</font></td>
  69.                   </tr>
  70.                 </table>    
  71.                 <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  72.                   <tr bgcolor="#fafafa"> 
  73.                     <td  height="15" width="20%"><strong>&nbsp;实际开始时间:</strong></td>
  74.                     <td  height="15" width="80%">
  75.                         <%
  76.                         if ( click.getSubBeginTime() != null ) 
  77.                             out.println( StringUtil.getTimeChars( click.getSubBeginTime()+"" ,"day" ) );
  78.                         else
  79.                             out.println("无");
  80.                         %>
  81.                     </td>
  82.                   </tr>
  83.                   <tr bgcolor="#e0e0e0"> 
  84.                     <td  height="15" width="20%" ><strong>&nbsp;实际结束时间:</strong></td>
  85.                     <td  height="15"  width="80%">
  86.                         
  87.                     </td>
  88.                   </tr>
  89.                   <tr bgcolor="#fafafa"> 
  90.                     <td  height="15" width="20%"><strong>&nbsp;计划结束时间:</strong></td>
  91.                     <td  height="15" width="80%">
  92.                         <%
  93.                         if ( click.getSubPlanEndTime() != null ) 
  94.                             out.println( StringUtil.getTimeChars( click.getSubPlanEndTime()+"" ,"day" ) );
  95.                         else
  96.                             out.println("无");
  97.                         %>              
  98.                     </td>
  99.                   </tr>
  100.                   <tr bgcolor="#e0e0e0"> 
  101.                     <td  height="15" width="20%"> 
  102.                       <div align="left"><strong>&nbsp;工作任务描述:</strong></div>
  103.                     </td>
  104.                     <td  height="15" width="80%">
  105.                         <%=click.getSubDescription()%>
  106.                     </td>
  107.                   </tr>
  108.                   <tr bgcolor="#fafafa">
  109.                      <td colspan="2" align="center" height="30">
  110.                          <input type="button" name="Button" value="返回" onClick="goback(this.form)" class="text">
  111.                      </td>
  112.                   </tr>    
  113.                 </table>
  114.               </td>
  115.             </tr>
  116.           </table>         
  117.  <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  118. </TD>
  119.     </TR>
  120.        <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  121.     </TABLE>
  122.   <BR>
  123.      <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  124. </form></DIV>
  125. </BODY></HTML>