task_pending_execute_project.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:11k
源码类别:
电子政务应用
开发平台:
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" />
- <%
- 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();
- %>
- <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/taskPendingList?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">
- <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>
- <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 width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td bgcolor="#666666"><font class="strongw"><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/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>>>项目管理</font></td>
- </tr>
- <tr valign="top" bgcolor="#fafafa">
- <td>
- <table class=title width="100%" cellpadding="2" cellspacing="1" border="0">
- <tr>
- <td width="22%" bgcolor="#e0e0e0"> <font class="strong"> 项目名称:</font>
- </td>
- <td colspan="5" bgcolor="#e0e0e0"> <%=projectInfo.getTitle()%></td>
- </tr>
- <tr>
- <td height="7" width="22%" bgcolor="#fafafa"><font class="strong"> 项目开始时间:</font></td>
- <td colspan="5" bgcolor="#fafafa"> <%=projectInfo.getPlanBeginDateS()%>
- </td>
- </tr>
- <tr>
- <td width="22%" bgcolor="#e0e0e0" height="23"> <font class="strong"> 计划结束时间:</font></td>
- <td colspan="5" bgcolor="#e0e0e0" height="23"> <%=projectInfo.getPlanEndDateS()%></td>
- </tr>
- <tr>
- <td height="21" width="22%" bgcolor="#fafafa"> <font class="strong"> 项目描述</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"> 基本相关文档</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>
- <%/*
- Collection c = projectInfo.getFiles();
- Iterator it = c.iterator();
- while(it.hasNext())
- {
- workflowFileInfo = (WorkflowFileValueBean)it.next();
- %>
- <!--a href="/<%=workflowFileInfo.getTitle()%>" target="_blank"><%=workflowFileInfo.getName()%></a> <br-->
- <%
- }*/
- %>
- </div>
- </td>
- </tr>
- </table>
- <table class=title width="100%" border="0" cellpadding="2" cellspacing="1">
- <tr>
- <td align="center" width="21%"><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="24%"><font class="strong">批复日期</font></td>
- </tr>
- <%
- for(int i = 0; i<subs.size(); i++)
- {
- sub = (SubTaskValueBean)subs.get(i);
- %>
- <tr bgcolor="#e0e0e0">
- <td width="21%" bgcolor="#e0e0e0" 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="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="24%" align="center">
- <%
- if ( sub.getSubEndTime() != null )
- out.println( StringUtil.getTimeChars( sub.getSubEndTime()+"", "day" ) );
- else
- out.println("无");
- %>
- </td>
- </tr>
- <%
- }//end for
- %>
- </table>
- </td>
- </tr>
- </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="acceptor(this.form)" class="text">
- <input type="button" name="Button2" value="返回" onClick="goback(this.form)" class="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <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>