task_pending_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. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  14. <jsp:useBean id="taskPendingInfo" scope="session" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingValueBean" />
  15. <jsp:useBean id="projectInfo" scope="session" class="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean" />
  16. <jsp:useBean id="routeInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  17. <%
  18.     int workflowId = Integer.parseInt(request.getParameter("workflowId"));
  19.     int subtaskId = Integer.parseInt(request.getParameter("subtaskId"));
  20.     int csubtaskId = Integer.parseInt(request.getParameter("csubtaskId"));
  21.         
  22.     int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
  23.     int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
  24.     int csubtasktypeId = Integer.parseInt(request.getParameter("csubtasktypeId"));
  25.     
  26.     int execId = Integer.parseInt(request.getParameter("execId"));
  27.     int type = 0;
  28.     if ( request.getParameter("type") != null )
  29.        type = Integer.parseInt(request.getParameter("type"));     
  30.     routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
  31.     
  32.     ArrayList subs = routeInfo.getSubtaskList();    
  33.     SubTaskValueBean click = new SubTaskValueBean();
  34.     
  35.     
  36.     for(int i=0; i<subs.size(); i++)
  37.     {
  38.         SubTaskValueBean sub = (SubTaskValueBean)subs.get(i);
  39.         if (sub.getSubtaskId() == csubtaskId)
  40.         {
  41.             click = sub;            
  42.         }
  43.     }
  44.     session.removeAttribute("routeInfo");
  45. %>
  46. <script language=JavaScript>
  47. function goback(form)
  48. {
  49.     form.action="/mainctrl/taskpending/taskPendingDispatch?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&type=<%=type%>";
  50.     form.submit();
  51. }
  52. </script>
  53. <DIV align=center>
  54. <form name="form1" method="post" action="">
  55.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  56.     <TBODY> 
  57.        <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  58.     <TR> 
  59.         <TD colSpan=3 align="center"><br>
  60.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  61.             <tr> 
  62.               <td align="center" colspan="2" bgcolor="#FFFFFF"> 
  63.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  64.                   <tr bgcolor="#666666"> 
  65.                      <td bgcolor="#666666"><font class="strongw"><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>
  66.                      &gt;&gt;<a href="/mainctrl/taskpending/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>&gt;&gt;子任务详细信息</font></td>
  67.                   </tr>
  68.                 </table>    
  69.                 <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  70.                   <tr bgcolor="#fafafa"> 
  71.                     <td  height="15" width="20%"><strong>&nbsp;实际开始时间</strong></td>
  72.                     <td  height="15" width="80%"> 
  73.                         <%
  74.                         if(  click.getSubBeginTime() != null ) 
  75.                             out.println( StringUtil.getTimeChars( click.getSubBeginTime()+"" ,"day") )
  76.                         else
  77.                             out.println("无");
  78.                         %>
  79.                     </td>
  80.                   </tr>
  81.                   <tr  bgcolor="#e0e0e0"> 
  82.                     <td  height="15" width="20%" ><strong>&nbsp;实际结束时间</strong></td>
  83.                     <td  height="15"  width="80%">
  84.                         <%
  85.                         if(  click.getSubEndTime() != null ) 
  86.                             out.println( StringUtil.getTimeChars( click.getSubEndTime() +"" ,"day") )
  87.                         else
  88.                             out.println("无");
  89.                         %> 
  90.                     </td>
  91.                   </tr>
  92.                   <tr bgcolor="#fafafa"> 
  93.                     <td  height="15" width="20%"><strong>&nbsp;计划结束时间</strong></td>
  94.                     <td  height="15" width="80%">
  95.                         <%
  96.                         if(  click.getSubPlanEndTime() != null ) 
  97.                             out.println( StringUtil.getTimeChars( click.getSubPlanEndTime() + "" ,"day" ) )
  98.                         else
  99.                             out.println("无");
  100.                         %>                       
  101.                     </td>
  102.                   </tr>
  103.                   <tr bgcolor="#e0e0e0"> 
  104.                     <td  height="15" width="20%"> 
  105.                       <div align="left"><strong>&nbsp;工作任务描述</strong></div>
  106.                     </td>
  107.                     <td  height="15" width="80%">
  108.                         <%=click.getSubDescription()%>
  109.                     </td>
  110.                   </tr>
  111.                   <tr bgcolor="#fafafa">
  112.                      <td colspan="2" align="center">
  113.                          <input type="button" name="Button" value="返回" onClick="goback(this.form)" class="text">
  114.                      </td>
  115.                   </tr>    
  116.                 </table>
  117.               </td>
  118.             </tr>
  119.           </table>       
  120.  <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  121. </TD>
  122.     </TR>
  123.        <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  124.     </TABLE>
  125.   <BR>
  126.      <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  127. </form></DIV>
  128. </BODY></HTML>