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

电子政务应用

开发平台:

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. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  8. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  9. <HTML>
  10. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  11. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  12. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  13. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  14. <script language="JavaScript">
  15. window.onload=init
  16. </script>
  17. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  18. <jsp:useBean id="proxy" scope="session" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" />
  19. <jsp:useBean id="taskPendingInfo" scope="session" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingValueBean" />
  20. <jsp:useBean id="projectInfo" scope="session" class="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean" />
  21. <jsp:useBean id="docInfo" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" />
  22. <jsp:useBean id="workflowFileInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" />
  23. <jsp:useBean id="routeInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  24. <%
  25.     int workflowId = Integer.parseInt(request.getParameter("workflowId"));
  26.     int subtaskId = Integer.parseInt(request.getParameter("subtaskId"));
  27.     
  28.     int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
  29.     int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
  30.     
  31.     int execId = Integer.parseInt(request.getParameter("execId"));
  32.         
  33.     SubTaskValueBean sub = new SubTaskValueBean();        
  34.     
  35.     taskPendingInfo = proxy.getPretaskDetailInfo(workflowId,workflowtypeId);
  36.     docInfo = taskPendingInfo.getDocumentInfo();
  37.     routeInfo = docInfo.getRoute();
  38.     session.setAttribute("routeInfo",routeInfo);
  39.                         
  40.     ArrayList subs = routeInfo.getSubtaskList();
  41. %>
  42. <script language=JavaScript>
  43. function acceptor(form)
  44. {
  45.   form.action="/mainctrl/taskpending/taskPendingProjectSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>";
  46.   form.submit();
  47. }
  48. function refuse(form)
  49. {
  50.   form.action="/mainctrl/taskpending/taskPendingProjectSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.DISAGREE%>";
  51.   form.submit();
  52. }
  53. function goback(form)
  54. {
  55.     form.action="/mainctrl/taskpending/taskPendingFinishList";
  56.     form.submit();
  57. }
  58. </script>
  59. <DIV align=center>
  60. <form name="form1" method="post" action="">
  61.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  62.     <TBODY> 
  63.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" /> 
  64.     <TR> 
  65.         <TD colSpan=3 align="center"><br>
  66.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  67.             <tr> 
  68.               <td align="center" colspan="2" bgcolor="#FFFFFF"> 
  69.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  70.                   <tr bgcolor="#666666"> 
  71.                       <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>
  72.                      &gt;&gt;<a href="/mainctrl/taskpending/taskPendingFinishList"><font color="#FFFFFF">已办事宜</font></a>&gt;&gt;请示汇报</font>
  73.                      </td>
  74.                   </tr>
  75.                 </table>  
  76.                 <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  77.                           <tr bgcolor="#e0e0e0"> 
  78.                             <td width="20%"> 
  79.                               <div align="left"><strong>&nbsp;请示名称:</strong>
  80.                               </div>
  81.                             </td>
  82.                             <td> 
  83.                                 <%=docInfo.getTitle()%>
  84.                             </td>
  85.                           </tr>
  86.                           <tr bgcolor="#fafafa">  
  87.                             <td width="20%"><strong>&nbsp;请示人/部门:</strong>
  88.                             </td>
  89.                             <td> 
  90.                                <%=docInfo.getCreatorName()%>
  91.                             </td>
  92.                           </tr>
  93.                           <tr bgcolor="#e0e0e0"> 
  94.                             <td width="20%"><strong>&nbsp;请示时间:</strong></td>
  95.                             <td>
  96.                             <%
  97.                             if( docInfo.getCreateDate() != null ) 
  98.                                 out.println( StringUtil.getTimeChars( docInfo.getCreateDate()+"" , "day" ) );
  99.                             else
  100.                                 out.println("无");
  101.                             %>
  102.                             </td>
  103.                           </tr>  
  104.                           <tr bgcolor="#fafafa">
  105.                             <td width="20%"><strong>&nbsp;重要度:</strong></td>
  106.                             <td><%=docInfo.getInstancyType()%></td>
  107.                           </tr>
  108.                           <tr bgcolor="#e0e0e0"> 
  109.                             <td width="20%"><strong>&nbsp;请示内容描述:</strong></td>
  110.                             <td>
  111.                                 <%=docInfo.getDescription()%>
  112.                             </td>
  113.                           </tr>
  114.                           <tr bgcolor="#fafafa"> 
  115.                             <td width="20%"><strong>&nbsp;相关材料:</strong>
  116.                             </td>
  117.                             <td> 
  118.                             
  119.                                 <vnex:fileList collection="<%=docInfo.getFiles()%>"> 
  120.                                 <vnex:items>
  121.                                  <a href="/<vnex:fileAttribute attribute='WorkflowFile_title' />" target="_blank">
  122.                                  <vnex:fileAttribute attribute="WorkflowFile_name"/>
  123.                                  </a><br>
  124.                                   </vnex:items> 
  125.                               </vnex:fileList>                              
  126.                             </td>
  127.                           </tr>
  128.                           </table>
  129.                           <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  130.                           <tr> 
  131.                             <td align="center"><strong>序号</strong></td>
  132.                             <td align="center"><strong>姓名</strong></td>
  133.                             <td align="center"><strong>批复</strong></td>
  134.                             <td align="center"><strong>相关文档</strong></td>                            
  135.                             <td align="center"><strong>批复日期</strong></td>
  136.                           </tr>
  137. <%
  138.     for(int i = 0; i<subs.size(); i++)
  139.     {
  140.         sub = (SubTaskValueBean)subs.get(i);
  141.         
  142.         
  143. %>
  144.                           <tr bgcolor="#e0e0e0"> 
  145.                             <td bgcolor="#e0e0e0" align="center"><%=sub.getSubStepNo()%></td>
  146.                             <td align="center"><%=sub.getSubExecutorName("<br>")%></td>
  147.                             <td align="center"><a href="/mainctrl/taskpending/taskPendingProjectSummaryDescription?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&csubtaskId=<%=sub.getSubtaskId()%>&subtasktypeId=<%=subtasktypeId%>&csubtasktypeId=<%=sub.getSubTypeId()%>&execId=<%=execId%>"><%=sub.getSubStatusName()%></a></td>
  148.                             <td align="center">
  149.                              <vnex:fileList collection="<%=sub.getSubFiles()%>"> 
  150.                                 <vnex:items>
  151.                                  <a href="/<vnex:fileAttribute attribute='WorkflowFile_title' />" target="_blank">
  152.                                  <vnex:fileAttribute attribute="WorkflowFile_name"/>
  153.                                  </a><br>
  154.                                   </vnex:items> 
  155.                               </vnex:fileList>
  156.                             <td align="center">
  157.                             <%
  158.                             if( sub.getSubEndTime() != null ) 
  159.                                 out.println( StringUtil.getTimeChars( sub.getSubEndTime()+"" , "day" ) );
  160.                             else
  161.                                 out.println("无");
  162.                             %>
  163.                             </td>
  164.                           </tr>
  165. <%
  166.     }//end for
  167. %>
  168.                           <tr bgcolor="#fafafa">
  169.                              <td colspan="5" align="center" height="30">
  170.                                <input type="button" name="Button" value="返回" onClick="goback(this.form)" class="text">
  171.                              </td>
  172.                           </tr>  
  173.                         </table>
  174.                     </td>
  175.                   </tr>
  176.                 </table>
  177.           
  178.           <p><img src="/vnex/MacOS/c_logo.gif" width="300" height="50"><br>
  179.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  180.              <tr> 
  181.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  182.             </tr>
  183.             <tr> 
  184.               <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
  185.             </tr>
  186.              <tr> 
  187.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  188.             </tr>
  189.           </table>
  190. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  191.             <tr> 
  192.               <td> 
  193.                 <div align="right"><a href="/vnex/help.htm" style="cursor:help" title="使用帮助"><img src="/vnex/MacOS/help.gif" width="16" height="16" border="0">HELP</a></div>
  194.               </td>
  195.             </tr>
  196.           </table>
  197. </TD>
  198.     </TR>
  199.     <TR> 
  200.         <TD height="2"><IMG height=7 src="/vnex/MacOS/leftbottom.gif" width=6></TD>
  201.         <TD background=/vnex/MacOS/bottom.gif colSpan=3 height="2"><IMG height=7 
  202.       src="../../MacOS/bottom.gif" width=1></TD>
  203.         <TD height="2"><IMG height=7 src="/vnex/MacOS/rightbottom.gif" 
  204. width=7></TD>
  205.     </TR>
  206.     </TBODY> 
  207.   </TABLE>
  208.     <BR>
  209.   <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>
  210.     <TBODY> 
  211.     <TR>
  212.         <TD align=center><FONT class=footer><IMG height=1 
  213.       src="/vnex/MacOS/hr_black.gif" width="100%"><BR>
  214.           <A target=_top 
  215.       href="http://www.visionnex.com">VisionNex Net-OFFICE System Version 1.0</A><br>
  216.           </FONT></TD>
  217.     </TR></TBODY></TABLE>
  218. </form></DIV>
  219. </BODY></HTML>