task_pending_project_summary_description.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. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  11. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  12. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  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 querytype = Integer.parseInt(request.getParameter("querytype"));
  28.         
  29.     routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
  30.     
  31.     ArrayList subs = routeInfo.getSubtaskList();    
  32.     SubTaskValueBean click = new SubTaskValueBean();
  33.     
  34.     for(int i=0; i<subs.size(); i++)
  35.     {
  36.         routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
  37.         SubTaskValueBean sub = (SubTaskValueBean)subs.get(i);
  38.         
  39.         if (sub.getSubtaskId() == csubtaskId)
  40.         {
  41.             click = sub;            
  42.         }
  43.     }
  44. %>
  45. <script language=JavaScript>
  46. function goback(form)
  47. {
  48.     form.action="/mainctrl/taskpending/taskPendingDispatch?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&querytype=<%=querytype%>";
  49.     form.submit();
  50. }
  51. </script>
  52. <DIV align=center>
  53. <form name="form1" method="post" action="">
  54.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  55.      <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  56.     <TR> 
  57.         <TD colSpan=3 align="center"><br>
  58.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  59.             <tr valign="top"> 
  60.               <td bgcolor="#fafafa">
  61.                   <table width="600" border="0" cellspacing="0" cellpadding="0">
  62.                     <tr> 
  63.                     <td bgcolor="#666666"><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/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>&gt;&gt;批复</font></td>
  64.                     </tr>
  65.                   </table>
  66.                 <table width="600" border="0" cellpadding="2" cellspacing="1" class=title>
  67.                   <tr align="left"  bgcolor="#fafafa"> 
  68.                     <td width="110"><font class="strong">&nbsp;标题:</font>
  69. </td>
  70.                     <td colspan="2">
  71. <%=click.getSubTitle()%>
  72. </td>
  73.                   </tr>
  74.                   <tr align="left"  bgcolor="#E0E0E0"> 
  75.                     <td width="110"><font class="strong">&nbsp;顺序:</font>
  76. </td>
  77.                     <td colspan="2">
  78. <%=click.getSubStepNo()%>
  79. </td>
  80.                   <tr align="left" bgcolor="#fafafa"> 
  81.                     <td width="110"><font class="strong">&nbsp;开始时间:</font>
  82. </td>
  83.                     <td colspan="2">
  84. <%
  85.  
  86. if  ( click.getSubBeginTime() != null )     
  87.     out.println( StringUtil.getTimeChars( click.getSubBeginTime().toString() , "day") );
  88. else 
  89.      out.println("无");
  90.         %>
  91. </td>
  92.                   </tr>
  93.                   <tr align="left" bgcolor="#E0E0E0"> 
  94.                     <td width="110"><font class="strong">&nbsp;计划结束时间:</font>
  95. </td>
  96.                     <td colspan="2">
  97. <%
  98. if ( click.getSubPlanEndTime() != null )
  99.    out.println( StringUtil.getTimeChars( click.getSubPlanEndTime().toString(), "day" ) );
  100. else 
  101.   out.println("无");
  102. %>
  103.  
  104.     
  105. </td>
  106.   </tr>
  107.                   <tr align="left" bgcolor="#fafafa" > 
  108.                     <td width="110"><font class="strong">&nbsp;结束时间:</font>
  109. </td>
  110.                     <td colspan="2">
  111. <%
  112. if((click.getSubStatusId()!= SubTaskStatus.PENDING) &&(click.getSubStatusId()!= SubTaskStatus.SENDBACK_PENDING))
  113. {
  114.      if ( click.getSubEndTime() != null )
  115.        out.print( StringUtil.getTimeChars( click.getSubEndTime().toString(), "day") );
  116.      else 
  117.        out.println("无");
  118. }
  119. else 
  120.        out.println("无");
  121. %>
  122. </td>
  123.   </tr>
  124.                   <tr align="left" bgcolor="#E0E0E0"> 
  125.                     <td width="110"><font class="strong">&nbsp;批复:</font>
  126. </td>
  127.                     <td colspan="2">
  128. <%=click.getSubNote()%>
  129. </td>
  130.   </tr>  
  131.                 <tr align="center" bgcolor="#fafafa"> 
  132.                     <td height="30" colspan="3"> 
  133.                       <input type="button" name="Submit" value="返回" onClick="goback(this.form)"  class="text">
  134.                     </td>
  135.                   </tr>
  136.                 </table>
  137.               </td>
  138.             </tr>
  139.           </table>                   
  140. <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  141. </TD>
  142.     </TR>
  143.        <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  144.     </TABLE>
  145.   <BR>
  146.      <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  147. </form></DIV>
  148. </BODY></HTML>