⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 personal_report_sent_list.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ taglib uri="/vnex.tld" prefix="vnex" %>
<%@ taglib uri="/vnex_workflow.tld" prefix="vnex_workflow" %>
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.pub.BusinessSession"%>
<%@ page import="com.vnex.intranet.workflow.document.value.DocQueryBean"%>
<%@ page import="com.vnex.intranet.workflow.util.WorkFlowType"%>
<%@ page import="java.util.*" %>
<%@ page import="com.vnex.intranet.workflow.loader.WorkflowLoader" %>

<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
<jsp:useBean id="docQueryBean" scope="page" class="com.vnex.intranet.workflow.document.value.DocQueryBean" />
<%
    //session.setAttribute( "docQueryBean", docQueryBean );
    if( request.getParameter("type") != null && Integer.parseInt( request.getParameter("type") ) == 1 )
    {
        session.removeAttribute( "docQueryBean" );    
%>
<jsp:setProperty name="docQueryBean" property="*" />
<%
        session.setAttribute( "docQueryBean", docQueryBean );   
    }   
    if( request.getParameter("type") != null && Integer.parseInt( request.getParameter("type") ) == 2 )
    {
        docQueryBean = new DocQueryBean();
        session.setAttribute( "docQueryBean", docQueryBean );   
    } 
    if( request.getParameter("a") != null && Integer.parseInt( request.getParameter("a") ) == 1 )  
        docQueryBean = ( DocQueryBean )session.getAttribute( "docQueryBean" );  
    docQueryBean.setTypeId( WorkFlowType.APPLY );
    docQueryBean.setCreatorId( BusinessName.getEmpId() ); 
  
%>
<script language="JavaScript" src="/vnex/validate.js"></script>
<script language=JavaScript>
function queryDoc(form)
{
   form.action="/mainctrl/personal/report/sentlist?type=1";
   form.submit();     
}

function queryDocAll(form)
{
   form.action="/mainctrl/personal/report/sentlist?type=2";
   form.submit();     
}

</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Net Office</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb_2312-80">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<link rel="stylesheet" href="/vnex/hr_MacOS.css" type="text/css">
</HEAD>
<BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff 
topMargin=0 leftmargin="0" marginwidth="0" marginheight="0">
<jsp:include page="/vnex/menu.jsp" />

<DIV align=center>
<form name="form1" method="post" >   
    <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
    <TBODY> 
    <TR> 
      <TD><IMG height=4 src="/vnex/MacOS/lefttop.gif" width=6></TD>
      <TD background=/vnex//MacOS/top.gif colSpan=3><IMG height=4 
      src="/vnex//MacOS/top.gif" width=1></TD>
      <TD><IMG height=4 src="/vnex//MacOS/righttop.gif"></TD>
    </TR>
    <TR> 
      <TD vAlign=top background=/vnex/MacOS/lwing.gif rowSpan=3><IMG height=18 
      src="/vnex//MacOS/left.gif" width=6></TD>
      <TD vAlign=top background=/vnex//MacOS/titlebg.gif width="16"> 
        <DIV><a href="/vnex/index.htm"><img src="/vnex/MacOS/logo.gif" width="16" height="16" border="0" alt="返回Net_Office首页"></a></DIV>
      </TD>
        <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>
        <TD><a href="javascript:self.close()"><IMG height=18 src="/vnex/MacOS/right_b2.gif" width=18 border="0" alt="关闭窗口"></a></TD>
      <TD vAlign=top background=/vnex/MacOS/rwing.gif rowSpan=3><IMG height=18 src="/vnex/MacOS/right.gif" width=7></TD>
    </TR>
    <TR> 
      <TD background=/vnex/MacOS/hr.gif colSpan=3><IMG height=2 src="/vnex/MacOS/hr.gif" width=1></TD>
    </TR>
    <TR> 
        <TD colSpan=3 align="center"><br>
          <span class=iframestyle style="OVERFLOW: visible; HEIGHT: 100%"> <!--个人信息开始 -->
          <table width="600" border="1" cellspacing="1" bordercolor="#666666">
            <tr>
              <td bgcolor="#fafafa"> 
                <table width="600" border="0" cellspacing="0" cellpadding="2">
                  <tr bgcolor="#666666"> 
                    <td colspan="3" height="15"><font class="strongw">个人办公&gt;请示汇报&gt;查询列表 </font></td>
                  </tr>
                  <tr> 
                    <td width="78">&nbsp;</td>
                    <td width="166"> 
                      <div align="right"><font class="strong" >标题:</font></div>
                    </td>
                    <td> 
                      <p> 
                        <input type="text" name="title" class="file">
                      </p>
                    </td>
                  </tr>
                  <tr> 
                    <td width="78">&nbsp;</td>
                    <td width="166"> 
                      <div align="right"><font class="strong" >状态: </font></div>
                    </td>
                    <td> 
                      <select name="statusId" size="1">
                      <option value="-1" selected>全部状态</option>
                      <%                    
                        Hashtable hash = WorkflowLoader.getAllWorkflowStatus();
                        Enumeration enum = hash.keys();
                                                if(enum != null)
                        {
                            while(enum.hasMoreElements())
                            {       
                                String key = (String)enum.nextElement();                        
%>                    
                     <option value="<%= key%>"><%= (String)hash.get( key )%>
<%
    }
    }
%>                                
                      </select>
                    </td>
                  </tr>
                  <tr> 
                    <td width="78">&nbsp;</td>
                    <td width="166"> 
                      <div align="right"><font class="strong" >请示时间: </font></div>
                    </td>
                    <td> 
                      <select name="preDate" size="1">
                        <option value="-1" selected>任何日期</option>
                        <option value="1">昨天以前</option>
                        <option value="5">5天以前</option>
                        <option value="10">10天以前</option>
                        <option value="30">30天以前</option>
                      </select>
                    </td>
                  </tr>
                  <tr> 
                    <td colspan="3"> 
                      <div align="center"> 
                        <input type="button" name="Submit" value="符合条件查询" class="button" onClick="queryDoc(this.form)" >
                        <input type="button" name="Submit2" value="查询全部" class="button" onClick="queryDocAll(this.form)" >
                      </div>
                    </td>
                  </tr>
                </table>
                
              </td>
            </tr>
          </table>
          </span> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
            </tr>
            <tr> 
              <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
            </tr>
            <tr> 
              <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
            </tr>
          </table>
         
          <span class=iframestyle 
            style="OVERFLOW: visible; HEIGHT: 100%">
          <table class=title cellspacing=1 cellpadding=2 width="100%" border=0>
            <tbody> 
            <tr align=middle> 
              <td colspan="5" bgcolor="#CCCCCC"> 
                <input type="button" name="Submit22" value="新建请示报告" class="button" onClick="location='/mainctrl/personal/report/sentcreate'">
              </td>
            </tr>
            <tr align=middle bgcolor="#fafafa"> 
              <td colspan="5"><font class="strong">已被发出请示汇报:</font></td>
            </tr>
            <tr align=middle> 
              <td width="25%"><font class="strong">标题 </font></td>
              <td width="25%"><font class="strong">请示时间</font></td>
              <td width="30%"><font class="strong">请示工作流</font></td>              
              <td width="10%"><font class="strong">文件状态</font></td>
            </tr>
            <vnex_workflow:docSentList queryCond="<%=docQueryBean%>">          
             <vnex:pagingItems>         
             <tr bgcolor="#e0e0e0">                
               <td align="center"><font face="宋体"><a href="/mainctrl/personal/report/sentdetail?id=<vnex_workflow:docSentAttribute attribute="DocumentSent_id"/>">                 
                 <vnex_workflow:docSentAttribute attribute="DocumentSent_title"/>
               </a></font></td>
              <td align="center"><font face="宋体">
                 <vnex_workflow:docSentAttribute attribute="DocumentSent_create_date"/>
               </font> &nbsp; 
               </td>
               <td align="center"><font size="2" face="宋体"> 
                <p align="center">
                  <vnex_workflow:docSentAttribute attribute="DocumentSent_templateName"/>
                </font></td>
                <td align="center"><font size="2" face="宋体"> 
                <p align="center">
                  <vnex_workflow:docSentAttribute attribute="DocumentSent_status"/>
                </font></td>
                              
              </tr>
             </vnex:pagingItems>
                            
             <tr>
              <td colspan="4" align="center" height="19">
               <table border=0 width="100%">
                 
                <vnex:pagingTag pageName="/mainctrl/personal/report/sentlist?a=1" />
               </table>
              </td>
             </tr>   
            </vnex_workflow:docSentList>
          </table>
          </span><p><img src="/vnex/MacOs/c_logo.gif" width="300" height="50"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
             <tr> 
              <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
            </tr>
            <tr> 
              <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
            </tr>
             <tr> 
              <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
            </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td> 
                <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>
              </td>
            </tr>
          </table>
</TD>
    </TR>
    <TR> 
      <TD><IMG height=7 src="/vnex/MacOS/leftbottom.gif" width=6></TD>
      <TD background=/vnex/MacOS/bottom.gif colSpan=3><IMG height=7 
      src="/vnex/MacOS/bottom.gif" width=1></TD>
      <TD><IMG height=7 src="/vnex/MacOS/rightbottom.gif" width=7></TD>
    </TR>
    </TBODY> 
  </TABLE>
  <BR>
  <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>
    <TBODY> 
    <TR>
        <TD align=center><FONT class=footer><IMG height=1 
      src="/vnex/MacOS/hr_black.gif" width="100%"><BR>
          <A target=_top 
      href="http://www.visionnex.com">VisionNext Net - OFFICE System Version 1.0</A><br>
          2001.02.14</FONT></TD>
    </TR></TBODY></TABLE>
	</form></DIV>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -