task_pending_project_summary_description.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
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" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <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="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 csubtaskId = Integer.parseInt(request.getParameter("csubtaskId"));
- int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
- int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
- int csubtasktypeId = Integer.parseInt(request.getParameter("csubtasktypeId"));
- int execId = Integer.parseInt(request.getParameter("execId"));
- int querytype = Integer.parseInt(request.getParameter("querytype"));
- routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
- ArrayList subs = routeInfo.getSubtaskList();
- SubTaskValueBean click = new SubTaskValueBean();
- for(int i=0; i<subs.size(); i++)
- {
- routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
- SubTaskValueBean sub = (SubTaskValueBean)subs.get(i);
- if (sub.getSubtaskId() == csubtaskId)
- {
- click = sub;
- }
- }
- %>
- <script language=JavaScript>
- function goback(form)
- {
- form.action="/mainctrl/taskpending/taskPendingDispatch?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&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>
- <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 valign="top">
- <td bgcolor="#fafafa">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <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/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>>>批复</font></td>
- </tr>
- </table>
- <table width="600" border="0" cellpadding="2" cellspacing="1" class=title>
- <tr align="left" bgcolor="#fafafa">
- <td width="110"><font class="strong"> 标题:</font>
- </td>
- <td colspan="2">
- <%=click.getSubTitle()%>
- </td>
- </tr>
- <tr align="left" bgcolor="#E0E0E0">
- <td width="110"><font class="strong"> 顺序:</font>
- </td>
- <td colspan="2">
- <%=click.getSubStepNo()%>
- </td>
- <tr align="left" bgcolor="#fafafa">
- <td width="110"><font class="strong"> 开始时间:</font>
- </td>
- <td colspan="2">
- <%
- if ( click.getSubBeginTime() != null )
- out.println( StringUtil.getTimeChars( click.getSubBeginTime().toString() , "day") );
- else
- out.println("无");
- %>
- </td>
- </tr>
- <tr align="left" bgcolor="#E0E0E0">
- <td width="110"><font class="strong"> 计划结束时间:</font>
- </td>
- <td colspan="2">
- <%
- if ( click.getSubPlanEndTime() != null )
- out.println( StringUtil.getTimeChars( click.getSubPlanEndTime().toString(), "day" ) );
- else
- out.println("无");
- %>
- </td>
- </tr>
- <tr align="left" bgcolor="#fafafa" >
- <td width="110"><font class="strong"> 结束时间:</font>
- </td>
- <td colspan="2">
- <%
- if((click.getSubStatusId()!= SubTaskStatus.PENDING) &&(click.getSubStatusId()!= SubTaskStatus.SENDBACK_PENDING))
- {
- if ( click.getSubEndTime() != null )
- out.print( StringUtil.getTimeChars( click.getSubEndTime().toString(), "day") );
- else
- out.println("无");
- }
- else
- out.println("无");
- %>
- </td>
- </tr>
- <tr align="left" bgcolor="#E0E0E0">
- <td width="110"><font class="strong"> 批复:</font>
- </td>
- <td colspan="2">
- <%=click.getSubNote()%>
- </td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td height="30" colspan="3">
- <input type="button" name="Submit" 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>