⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 task_pending_project_summary.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ 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">&nbsp;<a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>&gt;&gt;<a href="/mainctrl/taskpending/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>&gt;&gt;总结报告</font> 
                    </td>
                  </tr>
                  <tr bgcolor="#fafafa"> 
                    <td valign="top"> 
                      <p><font class="strong">&nbsp;总结描述:</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">&nbsp;</font></p>
                      <p><font class="strong">&nbsp;总结文档:</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"> &nbsp;
                        <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">&nbsp;&nbsp;
                      <input type="button" name="Button232" value="保存" onClick="save(this.form)" class="text">&nbsp;&nbsp;
                      <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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -