task_pending_finish_list.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@jsp:include file="/vnex/head.jsp"%>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="java.util.*" %>
- <%@ page import="com.vnex.intranet.workflow.loader.*" %>
- <%@ taglib uri="/vnex_workflow.tld" prefix="vnex_workflow" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <script language=JavaScript>
- function query(form)
- {
- form.action="/mainctrl/taskpending/taskPendingFinishList";
- form.submit();
- }
- function SelectAll(form)
- {
- for (var i=0;i<form.elements.length;i++)
- {
- var e = form.elements[i];
- if (e.name != 'C1')
- e.checked = form.C1.checked;
- }
- }
- </script>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <%
- int userId = BusinessName.getEmpId();
- //userId = 1001;
- session.removeAttribute("routeInfo");
- String querytype = request.getParameter("type");
- int workflowtype = 0;
- String pageTo = "/mainctrl/taskpending/taskPendingFinishList?a";
- if(querytype!=null)
- {
- workflowtype = Integer.parseInt(querytype);
- pageTo = pageTo + "&querytype="+workflowtype + "&type="+workflowtype;
- }
- %>
- <!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>
- <script language="JavaScript">
- window.onload=init
- </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"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td align="center" colspan="2" bgcolor="#FFFFFF">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr bgcolor="#666666">
- <td bgcolor="#666666"><font class="strongw"> <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>>><font color="#FFFFFF">已办事宜</font>
- </td>
- </tr>
- <tr>
- <td height="30" bgcolor="#fafafa">
- 请选择已办事宜类型:
- <select size="1" name="type" value="0" style="width=150">
- <option value="0"> 全部类型
- <%
- Hashtable hash = WorkflowLoader.getAllWorkflowType();
- Enumeration enum = hash.keys();
- if(enum != null)
- {
- while(enum.hasMoreElements())
- {
- String key = (String)enum.nextElement();
- String s = (String)hash.get(key);
- %>
- <option value="<%= key%>"><%= s%></option>
- <%}}%>
- </select>
- <input type="button" name="Button2" value="查询" onClick="query(this.form)" class="text">
- </td>
- </tr>
- </table>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr>
- <td align="center"><font class="strong">任务名</font></td>
- <td align="center"><font class="strong">子任务名</font></td>
- <td align="center"><font class="strong">类型</font></td>
- <!--
- <td align="center"><font class="strong">开始日期</font></td>
- -->
- <td align="center"><font class="strong">预计完成时间</font></td>
- <td align="center"><font class="strong">创建人</font></td>
- <td align="center"><font class="strong">状态</font></td>
- </tr>
- <vnex_workflow:taskPendingList employeeId = "<%=userId%>" type = "<%=workflowtype%>" page= "finish">
- <vnex:pagingItems>
- <tr bgcolor="<vnex:itemsColor />">
- <td align="center" width="20%">
- <a href="/mainctrl/taskpending/taskPendingFinishDispatch?workflowId=<vnex_workflow:taskPendingAttribute attribute = "workflowId"/>&subtaskId=<vnex_workflow:taskPendingAttribute attribute = "subtaskId"/>&workflowtypeId=<vnex_workflow:taskPendingAttribute attribute = "workflowtypeId"/>&subtasktypeId=<vnex_workflow:taskPendingAttribute attribute = "subtasktypeId"/>&execId=<vnex_workflow:taskPendingAttribute attribute = "execId"/>&querytype=<%=workflowtype%>">
- <vnex_workflow:taskPendingAttribute attribute = "workflowTitle"/>
- </a>
- </td>
- <td align="center" width="20%">
- <vnex_workflow:taskPendingAttribute attribute = "subtaskTitle"/>
- </td>
- <td align="center" width="10%">
- <vnex_workflow:taskPendingAttribute attribute = "workflowtypeName"/>
- </td>
- <!--
- <td align="center" width="15%">
- <vnex_workflow:taskPendingAttribute attribute = "beginTime"/>
- </td>
- -->
- <td align="center" width="15%">
- <vnex_workflow:taskPendingAttribute attribute = "planEndTime"/>
- </td>
- <td align="center" width="10%">
- <vnex_workflow:taskPendingAttribute attribute = "creatorName"/>
- </td>
- <td align="center" width="10%">
- <vnex_workflow:taskPendingAttribute attribute = "statusName"/>
- </td>
- </tr>
- </vnex:pagingItems>
- <tr>
- <td colspan="7" align="left" bgcolor="#e0e0e0">
- <vnex:pagingTag pageName="<%=pageTo%>" />
- </td>
- </tr>
- </vnex_workflow:taskPendingList>
- </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>