task_pending_examine_apply.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:13k
源码类别:
电子政务应用
开发平台:
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" %>
- <!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 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%>";
- form.submit();
- }
- function refuse(form)
- {
- form.action="/mainctrl/taskpending/taskPendingProjectSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.DISAGREE%>";
- form.submit();
- }
- function goback(form)
- {
- form.action="/mainctrl/taskpending/taskPendingList";
- form.submit();
- }
- </script>
- <DIV align=center>
- <form name="form1" method="post" action="">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TR>
- <TD><IMG height=4 src="/vnex/MacOS/lefttop.gif" width=6></TD>
- <TD background=/vnex/MacOS/top.gif colSpan=3><IMG height=4
- src="/vnex/MacOS/top.gif" width=1></TD>
- <TD><IMG height=4 src="/vnex/MacOS/righttop.gif"></TD>
- </TR>
- <TR>
- <TD vAlign=top background=/vnex/MacOS/lwing.gif rowSpan=3><IMG height=8
- src="/vnex/MacOS/left.gif" width=8></TD>
- <TD vAlign=top background=/vnex/MacOS/titlebg.gif width="16">
- <a href="/vnex/index.htm"><img src="/vnex/MacOS/logo.gif" width="16" height="16" alt="返回Net_Office首页" border="0"></a>
- </TD>
- <TD vAlign=top noWrap align=center width="100%"
- background=/vnex/MacOS/titlebg.gif><SPAN
- style="BACKGROUND-COLOR: #cecece"><FONT class=strong> Net - Office </font></SPAN></TD>
- <TD><a href="javascript:self.close()"><IMG height=18 src="/vnex/MacOS/right_b2.gif" width=18 border="0" alt="关闭窗口"></a></TD>
- <TD vAlign=top background=/vnex/MacOS/rwing.gif rowSpan=3><IMG height=18
- src="/vnex/MacOS/right.gif" width=7></TD>
- </TR>
- <TR>
- <TD background=/vnex/MacOS/hr.gif colSpan=3><IMG height=2
- src="/vnex/MacOS/hr.gif" width=1></TD>
- </TR>
- <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><font class="strongw"><a href="/vnex/HR/EMPLOYEE_ATTENDANCE/employee_attendance.htm"><font color="#FFFFFF">个人办公</font></a>>><a href="task_pending.htm"><font color="#FFFFFF">日常办公</font></a>>><a href="/mainctrl/taskpending/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>>>请示汇报</font></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top" bgcolor="#fafafa">
- <td>
- <table class=title width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr bgcolor="#666666">
- <td width="17%" bgcolor="#E0E0E0"> <font class="strong"> 请示名称:</font>
- </td>
- <td colspan="5" bgcolor="#E0E0E0" width="83%">
- <%=docInfo.getTitle()%></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="17%"><font class="strong"> 请示人/部门:</font></td>
- <td colspan="5" width="83%">
- <%=docInfo.getCreatorName()%>
- </td>
- </tr>
- <tr bgcolor="#E0E0E0">
- <td width="17%"> <font class="strong"> 请示时间:</font></td>
- <td colspan="5" width="83%">
- <%
- if ( docInfo.getCreateDate() != null )
- out.println( StringUtil.getTimeChars( docInfo.getCreateDate() + "" , "day" ) );
- else
- out.println("无");
- %>
- </td>
- </tr>
- <tr bgcolor="#FAFAFA">
- <td width="17%"><font class="strong"> 重要度:</font></td>
- <td width="17%"><%=docInfo.getInstancyType()%></td>
- </tr>
- <tr bgcolor="#E0E0E0">
- <td width="17%"> <font class="strong"> 请示内容描述:</font>
- </td>
- <td colspan="5" width="83%">
- <%=docInfo.getDescription()%>
- </td>
- </tr>
- <tr>
- <td width="17%" valign="top" bgcolor="#FFFFFF"><font class="strong"> 相关材料:</font>
- </td>
- <td colspan="5" bgcolor="#FFFFFF" width="83%">
- <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>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table class=title width="100%" border="0" cellpadding="2" cellspacing="1">
- <tr>
- <td colspan="5" bgcolor="#666666"><font class="strongw">请示路径</font></td>
- </tr>
- <tr align="center">
- <td width="19%"><font class="strong">序号</font></td>
- <td width="21%"><font class="strong">姓名</font></td>
- <td width="18%"><font class="strong">批复</font></td>
- <td width="18%"><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);
- %>
- <tr bgcolor="#e0e0e0">
- <td width="19%" bgcolor="#e0e0e0" align="center"><%=sub.getSubStepNo()%></td>
- <td width="21%" align="center"><%=sub.getSubExecutorName("<br>")%></td>
- <td width="18%" align="center"><a href="/mainctrl/taskpending/taskPendingProjectSummaryDescription?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&csubtaskId=<%=sub.getSubtaskId()%>&subtasktypeId=<%=subtasktypeId%>&csubtasktypeId=<%=sub.getSubTypeId()%>&execId=<%=execId%>"><%=sub.getSubStatusName()%></a></td>
- <td width="18%">
- <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
- %>
- <tr align="center">
- <td colspan="5" height="30" bgcolor="#fafafa">
- <input type="button" name="Button" value="同意" onClick="accept(this.form)" class="text">
- <input type="button" name="Submit2" value="拒绝" onClick="refuse(this.form)" class="text">
- <input type="button" name="Button" value="返回" onClick="goback(this.form)" class="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br><br><img src="/vnex/images/c_logo.gif" width="300" height="50">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
- </tr>
- <tr>
- <td background="/vnex/MacOS/hr.gif"><img src="/vnex/MacOS/hr.gif" width="1" height="2"></td>
- </tr>
- <tr>
- <td height="3"><img src="/vnex/a.gif" width="1" height="1"></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <div align="right"><a href="/help.htm" style="cursor:help" title="使用帮助"><img src="/vnex/MacOS/help.gif" width="16" height="16" border="0">HELP</a></div>
- </td>
- </tr>
- </table>
- </TD>
- </TR>
- <TR>
- <TD height="2"><IMG height=7 src="/vnex/MacOS/leftbottom.gif" width=6></TD>
- <TD background=/vnex/MacOS/bottom.gif colSpan=3 height="2"><IMG height=7
- src="/vnex/MacOS/bottom.gif" width=1></TD>
- <TD height="2"><IMG height=7 src="/vnex/MacOS/rightbottom.gif"
- width=7></TD>
- </TR>
- </TABLE>
- <BR>
- <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>
- <TR>
- <TD align=center><FONT class=footer><IMG height=1
- src="/vnex/MacOS/hr_black.gif" width="100%"><BR>
- <A target=_top
- href="http://www.visionnex.com">VisionNex Net-Office System Version 1.0</A><br>
- </FONT></TD>
- </TR></TABLE>
- </form></DIV>
- </BODY></HTML>