task_pending_examine_doc.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.FieldUtil" %>
- <%@ page import="com.vnex.intranet.util.StringUtil" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <!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>
- <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="docInfo" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" />
- <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 querytype = 0;
- 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);
- docInfo = taskPendingInfo.getDocumentInfo();
- routeInfo = docInfo.getRoute();
- session.setAttribute("routeInfo",routeInfo);
- ArrayList subs = routeInfo.getSubtaskList();
- %>
- <script language=JavaScript>
- function accept(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>
- <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 valign="top">
- <td bgcolor="#fafafa" >
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr bgcolor="#666666">
- <td bgcolor="#666666" colspan="6"><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="#cccccc">
- <td>
- <div align="center"> </div>
- <div align="center">
- <table class=title width="100%" border="0" cellpadding="2" cellspacing="1">
- <tr bgcolor="#e0e0e0">
- <td width="79"><font class="strong"> 公文名称</font> </td>
- <td height="21"> <%=FieldUtil.filterScriptTag( docInfo.getTitle() )%> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="79"><font class="strong"> 紧急程度 </font>
- </td>
- <td height="21">
- <%=docInfo.getInstancyType()%></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="79"><font class="strong"> 秘密等级</font></td>
- <td width="481"> <%=docInfo.getSecurityType()%> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="79"><font class="strong"> 主题词:</font></td>
- <td width="481"><%=FieldUtil.filterScriptTag( docInfo.getKeyword() )%> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="79"><font class="strong"> 发件摘要:</font></td>
- <td width="481"> <%=FieldUtil.filterScriptTag( docInfo.getDescription() )%> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="79"><font class="strong"> 相关材料:</font></td>
- <td width="481"> <br>
- <div align="left">
- <vnex:fileList collection="<%=docInfo.getFiles()%>">
- <vnex:items>
- <a href="/<vnex:fileAttribute attribute='WorkflowFile_title' />" target="_blank">
- <vnex:fileAttribute attribute="WorkflowFile_name"/>
- </a><br>
- </vnex:items>
- </vnex:fileList>
- </div>
- </td>
- </tr>
- </table>
- <table class=title width="600" border="0" cellpadding="2" cellspacing="1">
- <tr align="center">
- <td width="7%"><font class="strong">序号</font></td>
- <td width="26%"><font class="strong">子任务名称</font></td>
- <td width="16%"><font class="strong">执行者</font></td>
- <td width="23%"><font class="strong">批复</font></td>
- <td width="14%"><font class="strong">相关文档</font></td>
- <td width="24%"><font class="strong">批复日期</font></td>
- </tr>
- <%
- for(int i = 0; i<subs.size(); i++)
- {
- sub = (SubTaskValueBean)subs.get(i);
- if( i%2 == 0)
- {
- %>
- <tr bgcolor="#fafafa" align="center">
- <%
- }//end of if
- else
- {
- %>
- <tr bgcolor="#e0e0e0" align="center">
- <%
- }//end of else
- %>
- <td width="7%" align="center"><%=sub.getSubStepNo()%></td>
- <td width="26%" align="center"><%=sub.getSubTitle() %></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="14%">
- <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="14%" align="center">
- <%
- if ( sub.getSubEndTime() != null )
- out.println( StringUtil.getTimeChars( sub.getSubEndTime()+"", "day" ) );
- else
- out.println("无");
- %>
- </td>
- </tr>
- <%
- }//end for
- %>
- </table>
- </div>
- </td>
- </tr>
- <tr align="center">
- <td colspan="6" height="30" bgcolor="#fafafa">
- <input type="button" name="Button2" value="同意" onClick="accept(this.form)" class="text">
- <input type="button" name="Submit22" value="拒绝" onClick="refuse(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>