personal_Report_Sent_List.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="com.vnex.intranet.pub.BusinessSession"%>
  5. <%@ page import="com.vnex.intranet.workflow.document.value.DocQueryBean"%>
  6. <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType"%>
  7. <%@ page import="java.util.*" %>
  8. <%@ page import="com.vnex.intranet.workflow.loader.WorkflowLoader" %>
  9. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  10. <jsp:useBean id="docQueryBean" scope="page" class="com.vnex.intranet.workflow.document.value.DocQueryBean" />
  11. <%
  12.     //session.setAttribute( "docQueryBean", docQueryBean );
  13.     if( request.getParameter("type") != null && Integer.parseInt( request.getParameter("type") ) == 1 )
  14.     {
  15.         session.removeAttribute( "docQueryBean" );    
  16. %>
  17. <jsp:setProperty name="docQueryBean" property="*" />
  18. <%
  19.         session.setAttribute( "docQueryBean", docQueryBean );   
  20.     }   
  21.     if( request.getParameter("type") != null && Integer.parseInt( request.getParameter("type") ) == 2 )
  22.     {
  23.         docQueryBean = new DocQueryBean();
  24.         session.setAttribute( "docQueryBean", docQueryBean );   
  25.     } 
  26.     if( request.getParameter("a") != null && Integer.parseInt( request.getParameter("a") ) == 1 )  
  27.         docQueryBean = ( DocQueryBean )session.getAttribute( "docQueryBean" );  
  28.     docQueryBean.setTypeId( WorkFlowType.APPLY );
  29.     docQueryBean.setCreatorId( BusinessName.getEmpId() ); 
  30.   
  31. %>
  32. <script language="JavaScript" src="/vnex/validate.js"></script>
  33. <script language=JavaScript>
  34. function queryDoc(form)
  35. {
  36.    form.action="/mainctrl/personal/report/sentlist?type=1";
  37.    form.submit();     
  38. }
  39. function queryDocAll(form)
  40. {
  41.    form.action="/mainctrl/personal/report/sentlist?type=2";
  42.    form.submit();     
  43. }
  44. </script>
  45. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  46. <HTML><HEAD><TITLE>Net Office</TITLE>
  47. <META http-equiv=Content-Type content="text/html; charset=gb_2312-80">
  48. <META content="MSHTML 5.50.4134.600" name=GENERATOR>
  49. <link rel="stylesheet" href="/vnex/hr_MacOS.css" type="text/css">
  50. </HEAD>
  51. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff 
  52. topMargin=0 leftmargin="0" marginwidth="0" marginheight="0">
  53. <jsp:include page="/vnex/menu.jsp" />
  54. <DIV align=center>
  55. <form name="form1" method="post" >   
  56.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  57.     <TBODY> 
  58.     <TR> 
  59.       <TD><IMG height=4 src="/vnex/MacOS/lefttop.gif" width=6></TD>
  60.       <TD background=/vnex//MacOS/top.gif colSpan=3><IMG height=4 
  61.       src="/vnex//MacOS/top.gif" width=1></TD>
  62.       <TD><IMG height=4 src="/vnex//MacOS/righttop.gif"></TD>
  63.     </TR>
  64.     <TR> 
  65.       <TD vAlign=top background=/vnex/MacOS/lwing.gif rowSpan=3><IMG height=18 
  66.       src="/vnex//MacOS/left.gif" width=6></TD>
  67.       <TD vAlign=top background=/vnex//MacOS/titlebg.gif width="16"> 
  68.         <DIV><a href="/vnex/index.htm"><img src="/vnex/MacOS/logo.gif" width="16" height="16" border="0" alt="返回Net_Office首页"></a></DIV>
  69.       </TD>
  70.         <TD vAlign=top noWrap align=center width="100%"     background=/vnex/MacOS/titlebg.gif><SPAN style="BACKGROUND-COLOR: #cecece"><FONT class=strong> Net - OFFICE </font></SPAN></TD>
  71.         <TD><a href="javascript:self.close()"><IMG height=18 src="/vnex/MacOS/right_b2.gif" width=18 border="0" alt="关闭窗口"></a></TD>
  72.       <TD vAlign=top background=/vnex/MacOS/rwing.gif rowSpan=3><IMG height=18 src="/vnex/MacOS/right.gif" width=7></TD>
  73.     </TR>
  74.     <TR> 
  75.       <TD background=/vnex/MacOS/hr.gif colSpan=3><IMG height=2 src="/vnex/MacOS/hr.gif" width=1></TD>
  76.     </TR>
  77.     <TR> 
  78.         <TD colSpan=3 align="center"><br>
  79.           <span class=iframestyle style="OVERFLOW: visible; HEIGHT: 100%"> <!--个人信息开始 -->
  80.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  81.             <tr>
  82.               <td bgcolor="#fafafa"> 
  83.                 <table width="600" border="0" cellspacing="0" cellpadding="2">
  84.                   <tr bgcolor="#666666"> 
  85.                     <td colspan="3" height="15"><font class="strongw">个人办公&gt;请示汇报&gt;查询列表 </font></td>
  86.                   </tr>
  87.                   <tr> 
  88.                     <td width="78">&nbsp;</td>
  89.                     <td width="166"> 
  90.                       <div align="right"><font class="strong" >标题:</font></div>
  91.                     </td>
  92.                     <td> 
  93.                       <p> 
  94.                         <input type="text" name="title" class="file">
  95.                       </p>
  96.                     </td>
  97.                   </tr>
  98.                   <tr> 
  99.                     <td width="78">&nbsp;</td>
  100.                     <td width="166"> 
  101.                       <div align="right"><font class="strong" >状态: </font></div>
  102.                     </td>
  103.                     <td> 
  104.                       <select name="statusId" size="1">
  105.                       <option value="-1" selected>全部状态</option>
  106.                       <%                    
  107.                         Hashtable hash = WorkflowLoader.getAllWorkflowStatus();
  108.                         Enumeration enum = hash.keys();
  109.                                                 if(enum != null)
  110.                         {
  111.                             while(enum.hasMoreElements())
  112.                             {       
  113.                                 String key = (String)enum.nextElement();                        
  114. %>                    
  115.                      <option value="<%= key%>"><%= (String)hash.get( key )%>
  116. <%
  117.     }
  118.     }
  119. %>                                
  120.                       </select>
  121.                     </td>
  122.                   </tr>
  123.                   <tr> 
  124.                     <td width="78">&nbsp;</td>
  125.                     <td width="166"> 
  126.                       <div align="right"><font class="strong" >请示时间: </font></div>
  127.                     </td>
  128.                     <td> 
  129.                       <select name="preDate" size="1">
  130.                         <option value="-1" selected>任何日期</option>
  131.                         <option value="1">昨天以前</option>
  132.                         <option value="5">5天以前</option>
  133.                         <option value="10">10天以前</option>
  134.                         <option value="30">30天以前</option>
  135.                       </select>
  136.                     </td>
  137.                   </tr>
  138.                   <tr> 
  139.                     <td colspan="3"> 
  140.                       <div align="center"> 
  141.                         <input type="button" name="Submit" value="符合条件查询" class="button" onClick="queryDoc(this.form)" >
  142.                         <input type="button" name="Submit2" value="查询全部" class="button" onClick="queryDocAll(this.form)" >
  143.                       </div>
  144.                     </td>
  145.                   </tr>
  146.                 </table>
  147.                 
  148.               </td>
  149.             </tr>
  150.           </table>
  151.           </span> 
  152.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  153.             <tr> 
  154.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  155.             </tr>
  156.             <tr> 
  157.               <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
  158.             </tr>
  159.             <tr> 
  160.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  161.             </tr>
  162.           </table>
  163.          
  164.           <span class=iframestyle 
  165.             style="OVERFLOW: visible; HEIGHT: 100%">
  166.           <table class=title cellspacing=1 cellpadding=2 width="100%" border=0>
  167.             <tbody> 
  168.             <tr align=middle> 
  169.               <td colspan="5" bgcolor="#CCCCCC"> 
  170.                 <input type="button" name="Submit22" value="新建请示报告" class="button" onClick="location='/mainctrl/personal/report/sentcreate'">
  171.               </td>
  172.             </tr>
  173.             <tr align=middle bgcolor="#fafafa"> 
  174.               <td colspan="5"><font class="strong">已被发出请示汇报:</font></td>
  175.             </tr>
  176.             <tr align=middle> 
  177.               <td width="25%"><font class="strong">标题 </font></td>
  178.               <td width="25%"><font class="strong">请示时间</font></td>
  179.               <td width="30%"><font class="strong">请示工作流</font></td>              
  180.               <td width="10%"><font class="strong">文件状态</font></td>
  181.             </tr>
  182.             <vnex_workflow:docSentList queryCond="<%=docQueryBean%>">          
  183.              <vnex:pagingItems>         
  184.              <tr bgcolor="#e0e0e0">                
  185.                <td align="center"><font face="宋体"><a href="/mainctrl/personal/report/sentdetail?id=<vnex_workflow:docSentAttribute attribute="DocumentSent_id"/>">                 
  186.                  <vnex_workflow:docSentAttribute attribute="DocumentSent_title"/>
  187.                </a></font></td>
  188.               <td align="center"><font face="宋体">
  189.                  <vnex_workflow:docSentAttribute attribute="DocumentSent_create_date"/>
  190.                </font> &nbsp; 
  191.                </td>
  192.                <td align="center"><font size="2" face="宋体"> 
  193.                 <p align="center">
  194.                   <vnex_workflow:docSentAttribute attribute="DocumentSent_templateName"/>
  195.                 </font></td>
  196.                 <td align="center"><font size="2" face="宋体"> 
  197.                 <p align="center">
  198.                   <vnex_workflow:docSentAttribute attribute="DocumentSent_status"/>
  199.                 </font></td>
  200.                               
  201.               </tr>
  202.              </vnex:pagingItems>
  203.                             
  204.              <tr>
  205.               <td colspan="4" align="center" height="19">
  206.                <table border=0 width="100%">
  207.                  
  208.                 <vnex:pagingTag pageName="/mainctrl/personal/report/sentlist?a=1" />
  209.                </table>
  210.               </td>
  211.              </tr>   
  212.             </vnex_workflow:docSentList>
  213.           </table>
  214.           </span><p><img src="/vnex/MacOs/c_logo.gif" width="300" height="50"> 
  215.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  216.              <tr> 
  217.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  218.             </tr>
  219.             <tr> 
  220.               <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
  221.             </tr>
  222.              <tr> 
  223.               <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
  224.             </tr>
  225.           </table>
  226.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  227.             <tr> 
  228.               <td> 
  229.                 <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>
  230.               </td>
  231.             </tr>
  232.           </table>
  233. </TD>
  234.     </TR>
  235.     <TR> 
  236.       <TD><IMG height=7 src="/vnex/MacOS/leftbottom.gif" width=6></TD>
  237.       <TD background=/vnex/MacOS/bottom.gif colSpan=3><IMG height=7 
  238.       src="/vnex/MacOS/bottom.gif" width=1></TD>
  239.       <TD><IMG height=7 src="/vnex/MacOS/rightbottom.gif" width=7></TD>
  240.     </TR>
  241.     </TBODY> 
  242.   </TABLE>
  243.   <BR>
  244.   <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>
  245.     <TBODY> 
  246.     <TR>
  247.         <TD align=center><FONT class=footer><IMG height=1 
  248.       src="/vnex/MacOS/hr_black.gif" width="100%"><BR>
  249.           <A target=_top 
  250.       href="http://www.visionnex.com">VisionNext Net - OFFICE System Version 1.0</A><br>
  251.           2001.02.14</FONT></TD>
  252.     </TR></TBODY></TABLE>
  253. </form></DIV>