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

📄 task_pending_finish_doc.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ include file="/vnex/head.jsp"%>
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
<%@ page import="com.vnex.intranet.workflow.util.*" %>
<%@ page import="com.vnex.intranet.util.StringUtil" %>

<%@ taglib uri="/vnex.tld" prefix="vnex" %>

<!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>

<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
<jsp:useBean id="proxy" scope="session" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" />
<jsp:useBean id="taskPendingInfo" scope="session" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingValueBean" />
<jsp:useBean id="projectInfo" scope="session" class="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean" />
<jsp:useBean id="docInfo" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" />
<jsp:useBean id="workflowFileInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" />
<jsp:useBean id="routeInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />

<%
    int workflowId = Integer.parseInt(request.getParameter("workflowId"));
    int subtaskId = Integer.parseInt(request.getParameter("subtaskId"));
    
    int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
    int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
    
    int querytype = -1;
    if ( request.getParameter("querytype")!=null ) 
       querytype = Integer.parseInt(request.getParameter("querytype"));
    int execId = Integer.parseInt(request.getParameter("execId"));

    SubTaskValueBean sub = new SubTaskValueBean();        
    
    taskPendingInfo = proxy.getPretaskDetailInfo(workflowId,workflowtypeId);

    docInfo = taskPendingInfo.getDocumentInfo();
    
    routeInfo = docInfo.getRoute();
    session.setAttribute("routeInfo",routeInfo);
                        
    ArrayList subs = routeInfo.getSubtaskList();
%>

<script language=JavaScript>
function accept(form)
{
  form.action="/mainctrl/taskpending/taskPendingProjectSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&querytype=<%=querytype%>";
  form.submit();
}

function refuse(form)
{
  form.action="/mainctrl/taskpending/taskPendingProjectSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.DISAGREE%>&querytype=<%=querytype%>";
  form.submit();
}

function goback(form)
{
    form.action="/mainctrl/taskpending/taskPendingFinishList?querytype=<%=querytype%>";
    form.submit();
}
</script>

<BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
<script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
<script language="JavaScript">
window.onload=init
</script>

<DIV align=center>
<form name="form1" method="post" action="">
  <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
    <TBODY> 
      <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
    <TR> 
        <TD colSpan=3 align="center"><br>
          <table width="600" border="1" cellspacing="1" bordercolor="#666666">
            <tr> 
              <td align="center" colspan="2" bgcolor="#FFFFFF"> 
                <table width="600" border="0" cellspacing="0" cellpadding="0">
                  <tr bgcolor="#666666"> 
                     <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/taskPendingFinishList"><font color="#FFFFFF">已办事宜</font></a>&gt;&gt;公文处理</font>
                     </td>
                  </tr>
                </table>  
                <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
                          <tr bgcolor="#e0e0e0"> 
                            <td width="15%"> 
                              <font class="strong">&nbsp;公文名称:</font> 
                              </div>
                            </td>
                            <td>
                                <%=docInfo.getTitle()%>
                            </td>
                          </tr>  
                          <tr bgcolor="#fafafa">
                            <td width="15%"><font class="strong">&nbsp;紧急程度:
                            </font></td>
                            <td><%=docInfo.getInstancyType()%></td>
                          </tr>
                          <tr bgcolor="#e0e0e0"> 
                            <td width="15%"><font class="strong">&nbsp;秘密等级:</font></td>
                            <td ><%=docInfo.getSecurityType()%></td>
                          </tr>  
                          <tr bgcolor="#fafafa"> 
                            <td width="15%"><font class="strong">&nbsp;主题词:</font></td>
                            <td ><%=docInfo.getKeyword()%> </td>
                          </tr>
                          <tr bgcolor="#e0e0e0"> 
                            <td width="15%"><font class="strong">&nbsp;发件摘要:</font>
                            </td>
                            <td> 
                            <%=docInfo.getDescription()%>
                            </td>
                          </tr>
                          <tr bgcolor="#fafafa"> 
                            <td width="15%"><font class="strong">&nbsp;相关材料:</strong>
                            </td>
                            <td >
                              <div align="left">
                                   <vnex:fileList collection="<%=docInfo.getFiles()%>"> 
                                <vnex:items>
                                 <a href="/<vnex:fileAttribute attribute='WorkflowFile_title' />" target="_blank">
                                 <vnex:fileAttribute attribute="WorkflowFile_name"/>
                                 </a><br>
                                  </vnex:items> 
                              </vnex:fileList>                        
                              </div>
                            </td>
                          </tr>
                        </table>
                        <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
                          <tr> 
                            
                    <td width="7%" align="center"><strong>序号</strong></td>
                    <td width="22%" align="center"><strong>子任务名称</strong></td>
                            
                    <td width="15%" align="center"><strong>执行者</strong></td>
                            
                    <td width="24%" align="center"><strong>批复</strong></td>
                            
                    <td width="18%" align="center"><strong>相关文档</strong></td>
                            
                    <td width="14%" align="center"><strong>批复日期</strong></td>
                          </tr>
<%
    for(int i = 0; i<subs.size(); i++)
    {
        sub = (SubTaskValueBean)subs.get(i);
        

        if ((i%2) == 1)
        {
            out.print("<tr bgcolor=\"#fafafa\">");
        }
        else
        {
            out.print("<tr bgcolor=\"#e0e0e0\">");        
        }
%>
                            
                    <td width="7%" align="center"><%=sub.getSubStepNo() %></td>

                    <td width="22%" align="center"><%=sub.getSubTitle() %></td>
                            
                    <td width="15%" align="center"><%=sub.getSubExecutorName("<br>")%></td>
                            
                    <td width="24%" align="center"><a href="/mainctrl/taskpending/taskPendingFinishProjectSummaryDescription?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&csubtaskId=<%=sub.getSubtaskId()%>&subtasktypeId=<%=subtasktypeId%>&csubtasktypeId=<%=sub.getSubTypeId()%>&execId=<%=execId%>&querytype=<%=querytype%>"><%=sub.getSubStatusName()%></a></td>

                            
                    <td width="18%" align="center"> 
                    
                    <vnex:fileList collection="<%=sub.getSubFiles()%>"> 
                                <vnex:items>
                                 <a href="/<vnex:fileAttribute attribute='WorkflowFile_title' />" target="_blank">
                                 <vnex:fileAttribute attribute="WorkflowFile_name"/>
                                 </a><br>
                                  </vnex:items> 
                              </vnex:fileList>
                            
                    <td width="14%" align="center">
                    
                    <%
                            if ( sub.getSubEndTime() != null )
                                out.println( StringUtil.getTimeChars( sub.getSubEndTime()+"", "day" ) ) ;
                            else
                                out.println("无");
                     %>
                     </td>
                          </tr>
<%
    }//end for
%>
                        <tr bgcolor="#fafafa">
                            <td colspan="6" align="center" height="30">
                              <input type="button" name="Button" value="返回" onClick="goback(this.form)" class="text">
                            </td>
                        </tr>  
                        </table>
                    </td>
                  </tr>
                </table>

<jsp:include page="/vnex/page/TTOA_HELP.jsp" />
       </TD>
     </TR>
     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
    </TBODY> 
  </TABLE>
    <BR>
  <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
</form>
</DIV>
</BODY>
</HTML>

⌨️ 快捷键说明

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