task_pending_finish_project.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:10k
源码类别:
电子政务应用
开发平台:
Java
- <%@ 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" %>
- <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" />
- <%
- 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);
- projectInfo = taskPendingInfo.getProjectInfo();
- routeInfo = projectInfo.getRoute();
- session.setAttribute("routeInfo",routeInfo);
- ArrayList subs = routeInfo.getSubtaskList();
- %>
- <script language=JavaScript>
- function acceptor(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>
- <!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>
- <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"> <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>>><a href="/mainctrl/taskpending/taskPendingFinishList"><font color="#FFFFFF">已办事宜</font></a>>>项目管理</font>
- </td>
- </tr>
- </table>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr bgcolor="#e0e0e0">
- <td width="20%"><strong> 项目名称:</strong></td>
- <td><%=projectInfo.getTitle()%></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="20%"><strong> 项目开始时间:</font></td>
- <td><%=projectInfo.getPlanBeginDateS()%></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="20%"><strong> 计划结束时间:</strong></td>
- <td><%=projectInfo.getPlanEndDateS()%></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="20%"><strong> 项目描述:</strong></td>
- <td>
- <%=projectInfo.getDescription()%>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="20%"><strong> 基本相关文档:</strong></td>
- <td>
- <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>
- </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>
- <td align="center"><strong>批复日期</strong></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 align="center"><a href="/mainctrl/taskpending/taskPendingFinishProjectDetail?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&csubtaskId=<%=sub.getSubtaskId()%>&subtasktypeId=<%=subtasktypeId%>&csubtasktypeId=<%=sub.getSubTypeId()%>&execId=<%=execId%>&querytype=<%=querytype%>"><%=sub.getSubStepNo()%></a></td>
- <td align="center"><%=sub.getSubTitle()%></td>
- <td align="center"><%=sub.getSubExecutorName("<br>")%></td>
- <td 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 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.getSubEndTimeS() != null && !sub.getSubEndTimeS().equals("") )
- out.println( StringUtil.getTimeChars( sub.getSubEndTimeS()+"", "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" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form></DIV>
- </BODY></HTML>