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

📄 task_pending_finish_apply.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>
<jsp:include page="/vnex/page/FORM_HEAD.jsp" />

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


<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 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%>";
  form.submit();
}

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

function goback(form)
{
    form.action="/mainctrl/taskpending/taskPendingFinishList";
    form.submit();
}
</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"><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="20%"> 
                              <div align="left"><strong>&nbsp;请示名称:</strong>
                              </div>
                            </td>
                            <td> 
                                <%=docInfo.getTitle()%>
                            </td>
                          </tr>
                          <tr bgcolor="#fafafa">  
                            <td width="20%"><strong>&nbsp;请示人/部门:</strong>
                            </td>
                            <td> 
                               <%=docInfo.getCreatorName()%>
                            </td>
                          </tr>
                          <tr bgcolor="#e0e0e0"> 
                            <td width="20%"><strong>&nbsp;请示时间:</strong></td>
                            <td>
                            <%
                            if( docInfo.getCreateDate() != null ) 
                                out.println( StringUtil.getTimeChars( docInfo.getCreateDate()+"" , "day" ) );
                            else
                                out.println("无");
                            %>
                            </td>
                          </tr>  
                          <tr bgcolor="#fafafa">
                            <td width="20%"><strong>&nbsp;重要度:</strong></td>
                            <td><%=docInfo.getInstancyType()%></td>
                          </tr>
                          <tr bgcolor="#e0e0e0"> 
                            <td width="20%"><strong>&nbsp;请示内容描述:</strong></td>
                            <td>
                                <%=docInfo.getDescription()%>
                            </td>
                          </tr>
                          <tr bgcolor="#fafafa"> 
                            <td width="20%"><strong>&nbsp;相关材料:</strong>
                            </td>
                            <td> 
                            
                                <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>                              
                            </td>
                          </tr>
                          </table>
                          <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
                          <tr> 
                            <td align="center"><strong>序号</strong></td>
                            <td align="center"><strong>姓名</strong></td>
                            <td align="center"><strong>批复</strong></td>
                            <td align="center"><strong>相关文档</strong></td>                            
                            <td align="center"><strong>批复日期</strong></td>
                          </tr>

<%
    for(int i = 0; i<subs.size(); i++)
    {
        sub = (SubTaskValueBean)subs.get(i);
        
        
%>
                          <tr bgcolor="#e0e0e0"> 
                            <td bgcolor="#e0e0e0" align="center"><%=sub.getSubStepNo()%></td>

                            <td align="center"><%=sub.getSubExecutorName("<br>")%></td>
                            <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>

                            <td 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 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="5" align="center" height="30">
                               <input type="button" name="Button" value="返回" onClick="goback(this.form)" class="text">
                             </td>
                          </tr>  
                        </table>
                    </td>
                  </tr>
                </table>
          
          <p><img src="/vnex/MacOS/c_logo.gif" width="300" height="50"><br>
          <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 height="2"><IMG height=7 src="/vnex/MacOS/leftbottom.gif" width=6></TD>
        <TD background=/vnex/MacOS/bottom.gif colSpan=3 height="2"><IMG height=7 
      src="../../MacOS/bottom.gif" width=1></TD>
        <TD height="2"><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">VisionNex Net-OFFICE System Version 1.0</A><br>
          </FONT></TD>
    </TR></TBODY></TABLE>
	</form></DIV>


</BODY></HTML>

⌨️ 快捷键说明

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