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

📄 task_pending_examine_project.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ include file="/vnex/head.jsp"%>
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.Timestamp" %>
<%@ 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" %>

<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="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" />

<%
    session.removeAttribute("routeInfo");
    session.removeAttribute("click");

    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"));
    
    int querytype = 0;
    if ( request.getParameter("querytype") != null )
       querytype = Integer.parseInt(request.getParameter("querytype"));
        
    SubTaskValueBean sub = new SubTaskValueBean();        
    
    taskPendingInfo = proxy.getPretaskDetailInfo(workflowId,workflowtypeId);

    projectInfo = taskPendingInfo.getProjectInfo();

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

<!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">
<STYLE>
#ssm2 A {
	FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
}
#ssm2 A:hover {
	COLOR: red
}
</STYLE>

<script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>

<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/taskPendingList?querytype=<%=querytype%>";
    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" class="iframestyle" valign="top"> <br>
          <table width="600" border="1" cellspacing="1" bordercolor="#666666">
            <tr align="center"> 
              <td bgcolor="#fafafa" >
                 <table class=title width="100%" cellpadding="2" cellspacing="1" border="0">
                  <tr> 
                    <td bgcolor="#666666" colspan="6"><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/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>&gt;>项目管理</font></td>
                  </tr>
                  <tr> 
                    <td width="22%" bgcolor="#e0e0e0"><font class="strong">&nbsp;项目名称:</font> 
                    </td>
                    <td colspan="5" bgcolor="#e0e0e0"><%=projectInfo.getTitle()%></td>
                  </tr>
                  <tr> 
                    <td  height="7" width="22%" bgcolor="#fafafa"><font class="strong">&nbsp;项目开始时间:</font></td>
                    <td colspan="5" bgcolor="#fafafa"> <%=projectInfo.getPlanBeginDateS()%> 
                    </td>
                  </tr>
                  <tr> 
                    <td width="22%" bgcolor="#e0e0e0" height="22"> <font class="strong">&nbsp;计划结束时间:</font></td>
                    <td colspan="5" bgcolor="#e0e0e0" height="22"> <%=projectInfo.getPlanEndDateS()%></td>
                  </tr>
                  <tr> 
                    <td  height="21" width="22%" bgcolor="#fafafa"> <font class="strong">&nbsp;项目描述:</font> 
                    </td>
                    <td colspan="5" height="21" bgcolor="#fafafa"> <%=projectInfo.getDescription()%> 
                    </td>
                  </tr>
                  <tr bgcolor="e0e0e0"> 
                    <td width="22%" valign="top" height="52"> <font class="strong">&nbsp;基本相关文档</font>: 
                    </td>
                    <td colspan="5"> 
                      <div align="left"> 
                      <vnex:fileList collection="<%=projectInfo.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 width="100%" border="0" cellpadding="2" cellspacing="1">
                  <tr bgcolor="#fafafa"> 
                    <td colspan="6" height="17" ><font class="strong">&nbsp;工作流程:</font></td>
                  </tr>
                  <tr> 
                    <td align="center" width="7%"><font class="strong">序号</font></td>
                    <td align="center" width="26%"><font class="strong">子任务名称</font></td>
                    <td align="center" width="16%"><font class="strong">执行人</font></td>
                    <td align="center" width="23%"><font class="strong">项目进展情况</font></td>
                    <td align="center" width="16%"><font class="strong">相关文档</font></td>
                    <td align="center" width="14%"><font class="strong">批复日期</font></td>
                  </tr>
                  <%
    for(int i = 0; i<subs.size(); i++)
    {
        sub = (SubTaskValueBean)subs.get(i);
        
        if( i%2 == 0) 
        {             
%>
                  <tr bgcolor="#fafafa" align="center"> 
<%}else{
%>
                  <tr bgcolor="#e0e0e0" align="center"> 
<%}
%>
                    <td width="7%" align="center"><a href="/mainctrl/taskpending/taskPendingProjectDetail?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&csubtaskId=<%=sub.getSubtaskId()%>&subtasktypeId=<%=subtasktypeId%>&csubtasktypeId=<%=sub.getSubTypeId()%>&execId=<%=execId%>&querytype=<%=querytype%>"><%=sub.getSubStepNo()%></a></td>
                    <td width="26%" align="center"><%=sub.getSubTitle() %></td>
                    <td width="16%" align="center"><%=sub.getSubExecutorName("<br>")%></td>
                    <td width="23%" align="center"><a href="/mainctrl/taskpending/taskPendingProjectSummaryDescription?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&csubtaskId=<%=sub.getSubtaskId()%>&subtasktypeId=<%=subtasktypeId%>&csubtasktypeId=<%=sub.getSubTypeId()%>&execId=<%=execId%>&querytype=<%=querytype%>" ><%=sub.getSubStatusName()%></a></td>
                    <td width="16%"> 
                     <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.getSubEndTimeS() != null && !sub.getSubEndTimeS().equals("") )
                            out.println( StringUtil.getTimeChars( sub.getSubEndTimeS()+"", "day" ) );
                        else
                            out.println("无");
                    %>
                    </td>
                  </tr>
<%
    }//end for
%>
                </table>
                <table width="600" border="0" cellspacing="0" cellpadding="0">
                  <tr align="center"> 
                    <td height="30" bgcolor="fafafa">
                      <input type="button" name="Button" value="同意" onClick="accept(this.form)" class="text">&nbsp;&nbsp;
                      <input type="button" name="Button2" value="拒绝" onClick="refuse(this.form)" class="text">&nbsp;&nbsp;
                      <input type="button" name="Button2" value="返回" onClick="goback(this.form)" class="text">
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          <br>
          <br>
          <br>

<jsp:include page="/vnex/page/TTOA_HELP.jsp" />
</TD>
    </TR>
       <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
    </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 + -