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

电子政务应用

开发平台:

Java

  1. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  2. <%@ taglib uri="/vnex_workflow.tld" prefix="vnex_workflow" %>
  3. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  4. <%@ page import="java.util.Iterator" %>
  5. <%@ page import="com.vnex.intranet.util.TimeStamp" %>
  6. <%@ page import="com.vnex.intranet.workflow.util.*" %>
  7. <%@ page import="com.vnex.intranet.workflow.pub.value.SubTaskValueBean" %>
  8. <%@ page import="com.vnex.intranet.workflow.document.value.SecurityType" %>
  9. <%@ page import="com.vnex.intranet.workflow.document.value.InstancyType" %>
  10. <jsp:useBean id="dsvb" scope="request" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
  11. <jsp:useBean id="documentProxy" scope="application" class="com.vnex.intranet.workflow.document.proxy.DocumentProxyBean" />
  12. <jsp:useBean id="routeInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  13. <jsp:include page="/vnex/head.jsp"/>
  14. <%    
  15.     String sId = request.getParameter("id");         
  16.     dsvb = documentProxy.getSentDocDetail( Integer.parseInt( sId ) );
  17.     
  18.     routeInfo = dsvb.getRoute();
  19.     ArrayList subtasks = routeInfo.getSubtaskList();
  20.     System.out.println( "&&&&&&&routeInfo.getSubtaskList()" + routeInfo.getSubtaskList().size() );
  21.     
  22.     
  23. %>
  24. <script language="JavaScript" src="/vnex/validate.js"></script>
  25. <script language=JavaScript>
  26. function updateDoc(form)
  27. {
  28.    form.action="/mainctrl/personal/report/sentupdate";
  29.    form.submit();   
  30. }
  31. function deleteDoc(form)
  32. {
  33.    form.action="/mainctrl/personal/report/sentdeleteok";
  34.    form.submit();   
  35. }
  36. </script>
  37. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  38. <HTML><HEAD><TITLE>Net Office</TITLE>
  39. <META http-equiv=Content-Type content="text/html; charset=gb_2312-80">
  40. <META content="MSHTML 5.50.4134.600" name=GENERATOR>
  41. <link rel="stylesheet" href="/vnex/hr_MacOS.css" type="text/css">
  42. </HEAD>
  43. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=0 leftmargin="0" marginwidth="0" marginheight="0">
  44. <jsp:include page="/vnex/menu.jsp" />
  45. <DIV align=center>
  46.   <form name="form1" method="post" action="">
  47.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  48.     <TBODY> 
  49.     <TR> 
  50.       <TD><IMG height=4 src="/vnex/MacOS/lefttop.gif" width=6></TD>
  51.       <TD background=/vnex/MacOS/top.gif colSpan=3><IMG height=4 
  52.       src="/vnex/MacOS/top.gif" width=1></TD>
  53.       <TD><IMG height=4 src="/vnex/MacOS/righttop.gif"></TD>
  54.     </TR>
  55.     <TR> 
  56.       <TD vAlign=top background=/vnex/MacOS/lwing.gif rowSpan=3><IMG height=18 
  57.       src="/vnex/MacOS/left.gif" width=6></TD>
  58.       <TD vAlign=top background=/vnex/MacOS/titlebg.gif width="16"> 
  59.         <DIV><a href="/vnex/index.htm"><img src="/vnex/MacOS/logo.gif" width="16" height="16" border="0" alt="返回Net_Office首页"></a></DIV>
  60.       </TD>
  61.         <TD vAlign=top noWrap align=center width="100%" 
  62.     background=/vnex/MacOS/titlebg.gif><SPAN 
  63.       style="BACKGROUND-COLOR: #cecece"><FONT class=strong> Net- OFFICE </font></SPAN></TD>
  64.         <TD><a href="javascript:self.close()"><IMG height=18 src="/vnex/MacOS/right_b2.gif" width=18 border="0" alt="关闭窗口"></a></TD>
  65.       <TD vAlign=top background=/vnex/MacOS/rwing.gif rowSpan=3><IMG height=18 
  66.       src="/vnex/MacOS/right.gif" width=7></TD>
  67.     </TR>
  68.     <TR> 
  69.       <TD background=/vnex/MacOS/hr.gif colSpan=3><IMG height=2 
  70.       src="/vnex/MacOS/hr.gif" width=1></TD>
  71.     </TR>
  72.     <TR> 
  73.         <TD colSpan=3 align="center">
  74.           <br><span class=iframestyle 
  75.             style="OVERFLOW: visible; HEIGHT: 100%"> 
  76.           <!--个人信息开始 -->
  77.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  78.             <tr>
  79.               <td bgcolor="#fafafa"> 
  80.                 <table width="600" border="0" cellspacing="0" cellpadding="2">
  81.                   <tr> 
  82.                     <td colspan="4" height="15" bgcolor="#666666"><font class="strongw">个人办公&gt;请示汇报&gt;请示汇报详细信息</font></td>
  83.                   </tr>
  84.                   <tr> 
  85.                     <td colspan="4"> 
  86.                       <div align="center"><font class="strong" >标题:
  87.                       <%= dsvb.getTitle() %>
  88.                       </font></div>
  89.                     </td>
  90.                   </tr>
  91.                   <tr> 
  92.                     <td width="184">&nbsp;</td>
  93.                     <td width="109">&nbsp;</td>
  94.                     <td width="147">&nbsp;</td>
  95.                     <td width="148">
  96.                     <%= dsvb.getInstancyType() %>                         
  97.                     </td>
  98.                   </tr>
  99.                   <tr> 
  100.                     <td width="184"> 
  101.                       <div align="right"> </div>
  102.                     </td>
  103.                     <td width="109"> 
  104.                       <div align="left"><font class="strong" >主题词:</font></div>
  105.                     </td>
  106.                     <td width="295" colspan="2">
  107.                     <%= dsvb.getKeyword() %>
  108.                     </td>
  109.                   </tr>
  110.                   <tr> 
  111.                     <td width="184">&nbsp;</td>
  112.                     <td width="109"> 
  113.                       <div align="left"><font class="strong" >请示工作流:</font> </div>
  114.                     </td>
  115.                     <td width="295" colspan="2"><%= dsvb.getTemplateName() %></td>
  116.                   </tr>
  117.                   <tr> 
  118.                     <td width="184"></td>
  119.                     <td width="109"> 
  120.                       <div align="left"><font  class="strong">请示事宜:</font></div>
  121.                     </td>
  122.                     <td width="295" colspan="2">
  123.                     <%= dsvb.getDescription() %>
  124.                     </td>
  125.                   </tr>
  126.                   <tr> 
  127.                     <td colspan="4"> 
  128.                       <div align="center"><font  class="strong"><font  class="strong">文件附件:</font></font><font  class="strong"><br>
  129.                         </font> 
  130.                         <table border="0" cellspacing="0" cellpadding="0" width="300">                       
  131.                           <tr bgcolor="#e0e0e0"> 
  132.                             <td width="42"><font  class="strong"><font  class="strong">序号 
  133.                               </font></font></td>
  134.                             <td width="102"><font  class="strong"><font  class="strong">文件</font></font></td>
  135.                             <td width="56"><font  class="strong"><font  class="strong">说明</font></font></td>
  136.                           </tr>
  137.                           <vnex_workflow:fileList collection="<%=dsvb.getFiles()%>">          
  138.                           <vnex_workflow:items>       
  139.                           <tr> 
  140.                             <td width="42" bgcolor="#fafafa"><vnex_workflow:fileAttribute attribute="workflowfile_id"/></td>
  141.                             <td width="102" bgcolor="#fafafa"><a href="/<vnex_workflow:fileAttribute attribute="workflowfile_title"/>">
  142.                             <vnex_workflow:fileAttribute attribute="workflowfile_name"/></a></td>
  143.                             <td width="56" bgcolor="#fafafa"><vnex_workflow:fileAttribute attribute="WorkflowFile_descr"/>
  144.                             </td>
  145.                           </tr>
  146.                           </vnex_workflow:items> 
  147.                           </vnex_workflow:fileList>          
  148.                           
  149.                         </table>
  150.                         <font  class="strong"> </font></div>
  151.                     </td>
  152.                   </tr>
  153.                   <tr> 
  154.                     <td colspan="4">
  155.                       <div align="center"><font  class="strong"><font  class="strong">请示顺序:</font></font><font  class="strong"><br>
  156.                         </font> </div>
  157.                       <table border="0" cellspacing="0" cellpadding="0" width="300" align="center">
  158.                         <tr> 
  159.                           <td width="40" bgcolor="#e0e0e0"><font  class="strong"></font></td>
  160.                           <td width="52" bgcolor="#e0e0e0"> 
  161.                             <div align="center"><font  class="strong"><font  class="strong">姓名</font></font></div>
  162.                           </td>
  163.                           <td width="71" bgcolor="#e0e0e0"> 
  164.                             <div align="center"><font  class="strong"><font  class="strong">处理情况</font></font></div>
  165.                           </td>
  166.                           <td width="130" bgcolor="#e0e0e0"> 
  167.                             <div align="center"><font  class="strong"><font  class="strong">处理结果</font></font></div>
  168.                           </td>                          
  169.                         </tr>
  170. <%
  171.     for( int i = 0; i < subtasks.size(); i++ )
  172.     {
  173.         SubTaskValueBean sub = ( SubTaskValueBean )subtasks.get(i);        
  174. %>
  175.                         <tr> 
  176.                           <td width="40" bgcolor="#fafafa"><%= sub.getSubTitle() %></td>
  177.                           <td width="52" bgcolor="#fafafa"> 
  178.                             <div align="center">
  179.                             <%= sub.getSubExecutorName() %>
  180.                             </div>
  181.                           </td>
  182.                           <td width="71" bgcolor="#fafafa"> 
  183.                             <div align="center"><%= sub.getSubStatusName() %></div>
  184.                           </td>
  185.                           <td width="130" bgcolor="#fafafa"> 
  186.                             <div align="center"><%= sub.getSubNote() %></div>
  187.                           </td>                         
  188.                         </tr>
  189. <%       
  190.    }
  191. %>                    
  192.                       </table>
  193.                       
  194.                     </td>
  195.                   </tr>
  196.                   <tr> 
  197.                     <td colspan="4"> 
  198.                       <div align="center"> </div>
  199.                     </td>
  200.                   </tr>
  201.                 </table>
  202.               </td>
  203.             </tr>
  204.           </table>
  205.           </span> 
  206.           <p> 
  207.           <%            
  208.             if ( dsvb.getStatusId() == WorkFlowStatus.SENDBACK )
  209.             {
  210.           %>
  211.              <input type="hidden" name="id" value="<%=dsvb.getWorkflowId()%>" > 
  212.              <input type="button" name="Submit" value="修改" class="button" onClick="updateDoc(this.form)">
  213.              <input type="button" name="Submit" value="删除" class="button" onClick="deleteDoc(this.form)">
  214.           <%
  215.             }
  216.           %>
  217.           
  218.           <%
  219.             if ( dsvb.getStatusId() == WorkFlowStatus.DONE )
  220.             {
  221.           %>  
  222.              <input type="hidden" name="id" value="<%=dsvb.getWorkflowId()%>" >           
  223.              <input type="button" name="Submit" value="删除" class="button" onClick="deleteDoc(this.form)">
  224.           <%
  225.             }
  226.           %>            
  227.             <input type="reset" name="Submit2" value="返回" class="button" onclick="history.back()">
  228.             <br>
  229.             <img src="/vnex/MacOS/c_logo.gif" width="300" height="50"> 
  230.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  231.              <tr> 
  232.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  233.             </tr>
  234.             <tr> 
  235.               <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
  236.             </tr>
  237.              <tr> 
  238.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  239.             </tr>
  240.           </table>
  241.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  242.             <tr> 
  243.               <td> 
  244.                 <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>
  245.               </td>
  246.             </tr>
  247.           </table>
  248. </TD>
  249.     </TR>
  250.     <TR> 
  251.       <TD><IMG height=7 src="/vnex/MacOS/leftbottom.gif" width=6></TD>
  252.       <TD background=/vnex/MacOS/bottom.gif colSpan=3><IMG height=7 src="/vnex/MacOS/bottom.gif" width=1></TD>
  253.       <TD><IMG height=7 src="/vnex/MacOS/rightbottom.gif" 
  254. width=7></TD>
  255.     </TR>
  256.     </TBODY> 
  257.   </TABLE>
  258.   <BR>
  259.   <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>
  260.     <TBODY> 
  261.     <TR>
  262.         <TD align=center><FONT class=footer><IMG height=1 
  263.       src="/vnex/MacOS/hr_black.gif" width="100%"><BR>
  264.           <A target=_top 
  265.       href="http://www.visionnex.com">VisionNext Net - OFFICE System Version 1.0</A><br>
  266.           2001.02.14</FONT></TD>
  267.     </TR></TBODY></TABLE>
  268. </form></DIV>