task_pending_finish_dispatch.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ include file="/vnex/head.jsp"%>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowStatus" %>
- <%@ page import="com.vnex.intranet.workflow.util.SubTaskStatus" %>
- <%@ page import="com.vnex.intranet.workflow.util.ExecutorStatus" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
- <%@ page import="com.vnex.intranet.workflow.util.SubTaskType" %>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <%
- 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"));
- String link = "";
- switch(workflowtypeId)
- {
- case WorkFlowType.PROJECT:
- switch(subtasktypeId)
- {
- case SubTaskType.EXAMINE:
- link = "/mainctrl/taskpending/taskPendingFinishProject?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.EXECUTE:
- link = "/mainctrl/taskpending/taskPendingFinishProject?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.PASS_ROUND:
- link = "/mainctrl/taskpending/taskPendingFinishProject?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- }
- break;
- case WorkFlowType.DOCUMENT:
- switch(subtasktypeId)
- {
- case SubTaskType.EXAMINE:
- link = "/mainctrl/taskpending/taskPendingFinishDoc?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.EXECUTE:
- link = "/mainctrl/taskpending/taskPendingFinishDoc?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.PASS_ROUND:
- link = "/mainctrl/taskpending/taskPendingFinishDoc?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- }
- break;
- case WorkFlowType.PERSONAL:
- switch(subtasktypeId)
- {
- case SubTaskType.EXAMINE:
- link = "/mainctrl/taskpending/taskPendingFinishDoc?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.EXECUTE:
- link = "/mainctrl/taskpending/taskPendingFinishDoc?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.PASS_ROUND:
- link = "/mainctrl/taskpending/taskPendingFinishDoc?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- }
- break;
- case WorkFlowType.APPLY:
- switch(subtasktypeId)
- {
- case SubTaskType.EXAMINE:
- link = "/mainctrl/taskpending/taskPendingFinishApply?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.EXECUTE:
- link = "/mainctrl/taskpending/taskPendingFinishApply?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.PASS_ROUND:
- link = "/mainctrl/taskpending/taskPendingFinishApply?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- }
- break;
- case WorkFlowType.CONFERENCE:
- switch(subtasktypeId)
- {
- case SubTaskType.EXAMINE:
- link = "/mainctrl/taskpending/taskPendingFinishConference?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- case SubTaskType.CANCEL:
- link = "/mainctrl/taskpending/taskPendingFinishConference?workflowId="+workflowId+"&workflowtypeId="+workflowtypeId+"&subtaskId="+subtaskId+"&subtasktypeId="+subtasktypeId+"&execId="+execId;
- break;
- }
- break;
- }
- %>
- <jsp:forward page="<%= link %>" />