task_pending_project_summary.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:9k
源码类别:
电子政务应用
开发平台:
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.pub.process.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.*" %>
- <%@ page import="com.vnex.intranet.system.loader.*"%>
- <%@ page import="com.vnex.intranet.statictable.*"%>
- <%@ page import="com.vnex.intranet.util.*" %>
- <%@ page import="com.vnex.intranet.upload.*"%>
- <jsp:useBean id="mySmartUpload" scope="page" class="com.vnex.intranet.upload.SmartUpload" />
- <!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>
- <script language=JavaScript>
- function checkAll( selObj )
- {
- for ( var i = 0; i < selObj.options.length; i++ )
- selObj.options[i].selected = true;
- }
- </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" />
- <jsp:useBean id="execInfo" scope="request" class="com.vnex.intranet.workflow.pub.value.ExecutorValueBean" />
- <jsp:useBean id="click" scope="session" class="com.vnex.intranet.workflow.pub.value.SubTaskValueBean" />
- <jsp:useBean id="proxy" scope="session" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" />
- <%
- 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"));
- int querytype = Integer.parseInt(request.getParameter("querytype"));
- int statusId = Integer.parseInt(request.getParameter("statusId"));
- if( request.getParameter("type") == null )
- {
- routeInfo = (RouteValueBean)session.getAttribute("routeInfo");
- ArrayList subs = routeInfo.getSubtaskList();
- for(int i=0; i<subs.size(); i++)
- {
- SubTaskValueBean sub = (SubTaskValueBean)subs.get(i);
- if (sub.getSubtaskId() == subtaskId)
- {
- click = sub;
- session.setAttribute("click",click);
- }
- }
- }
- else
- {
- click = (SubTaskValueBean)session.getAttribute("click");
- }
- execInfo = proxy.getExecutor(execId);
- int execStatusId = execInfo.getStatusId();
- %>
- <%@ include file="task_pending_upload.jsp" %>
- <script language=JavaScript>
- function accept(form)
- {
- if (form.subNote.value.length < 50 )
- {
- checkAll(document.forms[0].attachments);
- form.action="/mainctrl/taskpending/taskPendingResult?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=statusId%>&querytype=<%=querytype%>";
- form.submit();
- }
- else
- {
- alert("总结描述的最大长度不能超过50个字符");
- form.subNote.focus();
- }
- }
- function save(form)
- {
- if (form.subNote.value.length < 50 )
- {
- checkAll(document.forms[0].attachments);
- form.action="/mainctrl/taskpending/taskPendingResult?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=execStatusId%>&querytype=<%=querytype%>";
- form.submit();
- }
- else
- {
- alert("总结描述的最大长度不能超过50个字符");
- form.subNote.focus();
- }
- }
- function goback(form)
- {
- form.action="/mainctrl/taskpending/taskPendingDispatch?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=statusId%>&querytype=<%=querytype%>";
- form.submit();
- }
- function uploadDoc(form)
- {
- form.action="/mainctrl/taskpending/taskPendingProjectSummary?type=1&workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=statusId%>&querytype=<%=querytype%>";
- form.encoding="multipart/form-data";
- form.submit();
- }
- function deleteDoc(form)
- {
- form.action="/mainctrl/taskpending/taskPendingProjectSummary?type=2&workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=statusId%>&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" bgcolor="#fafafa" align="center">
- <td bgcolor="#fafafa" >
- <table width="100%" border="0" cellspacing="1" cellpadding="1" class=title>
- <tr>
- <td bgcolor="#666666" colspan=2><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 bgcolor="#fafafa">
- <td valign="top">
- <p><font class="strong"> 总结描述:</font>
- </p>
- </td>
- <td bgcolor="#fafafa">
- <textarea name="subNote" cols="46" rows="5"><%=click.getSubNote()%></textarea>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td valign="top">
- <p><font class="strong"> </font></p>
- <p><font class="strong"> 总结文档:</font> </p>
- </td>
- <td bgcolor="#e0e0e0">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="33%">
- <select name="attachments" size="10" multiple style="width:300">
- <%
- Collection files = click.getSubFiles();
- if(files!=null)
- {
- Iterator it = files.iterator();
- while(it.hasNext())
- {
- WorkflowFileValueBean f = (WorkflowFileValueBean)it.next();
- %>
- <option value="<%=f.getTitle()%>"><%=f.getName()%></option>
- <%}}%>
- </select>
- </td>
- <td width="67%" valign="bottom">
- <input type="button" name="Button22" value="删除" onClick="deleteDoc(this.form)" class="text">
- </td>
- </tr>
- </table>
- <input type="file" name="file" class="text">
- <input type="button" name="Button2" value="上传" onClick="uploadDoc( this.form )" class="text">
- </td>
- </tr>
- <tr bgcolor="#fafafa" align="center">
- <td colspan="2" height="30">
- <input type="button" name="Button23" value="确认" onClick="accept(this.form)" class="text">
- <input type="button" name="Button232" value="保存" onClick="save(this.form)" class="text">
- <input type="button" name="Submit2" 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>