Project_Route_Subtask_Save.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:3k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.SubTaskStatus" %>
- <%@ taglib uri="/vnex_workflow.tld" prefix="workflow" %>
- <%@ page import="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean" %>
- <jsp:useBean id="pvb" scope="session" class="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean"/>
- <jsp:useBean id="routeValueBean" scope="page" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="subtaskValueBean" scope="page" class="com.vnex.intranet.workflow.pub.value.SubTaskValueBean" />
- <jsp:setProperty name="subtaskValueBean" property="*" />
- <%
- System.out.println("subtaskValueBean.getHourS()"+subtaskValueBean.getHourS());
- pvb = ( PmValueBean )session.getAttribute( "pvb" );
- routeValueBean = pvb.getRoute();
- if ( request.getParameter("isNew") != null && request.getParameter("isNew").equals( "true" ) )
- {
- subtaskValueBean.setSubStatusId( SubTaskStatus.WAITING );
- routeValueBean.addSubtask( subtaskValueBean );
- }
- else if( request.getParameter("isNew") != null && request.getParameter("isNew").equals( "false" ) )
- {
- routeValueBean.setSubtask( Integer.parseInt( request.getParameter( "subtaskId") ), subtaskValueBean );
- }
- pvb.setRoute( routeValueBean );
- //修改项目
- if( request.getParameter("flag") != null && request.getParameter("flag").equals( "docModify" ) )
- { //继续增加
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "true" ) )
- {
- %>
- <jsp:forward page="/mainctrl/projectmanagement/subtaskcreate?flag=docModify" />
- <% }
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "false" ) )
- {
- %>
- <jsp:forward page="/mainctrl/projectmanagement/modifyproject?comeback=1&?flag=routeCreate" />
- <%
- }
- }
- //创建发文
- if( request.getParameter("flag") != null && request.getParameter("flag").equals( "docCreate" ) )
- {
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "true" ) )
- {
- %>
- <jsp:forward page="/mainctrl/projectmanagement/subtaskcreate?flag=docCreate" />
- <% }
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "false" ) )
- {
- %>
- <jsp:forward page="/mainctrl/projectmanagement/createproject" />
- <%
- }
- }
- %>