task_pending_list.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:8k
源码类别:
电子政务应用
开发平台:
Java
- <%@jsp:include file="/vnex/head.jsp"%>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="java.util.*" %>
- <%@ page import="com.vnex.intranet.workflow.loader.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
- <%@ taglib uri="/vnex_workflow.tld" prefix="vnex_workflow" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <%
- int userId = BusinessName.getEmpId();
- session.removeAttribute("routeInfo");
- String querytype = request.getParameter("type");
- int workflowtype = 0;
- String pageTo = "/mainctrl/taskpending/taskPendingList?a";
- if(querytype!=null)
- {
- workflowtype = Integer.parseInt(querytype);
- pageTo = pageTo + "&querytype="+workflowtype + "&type="+workflowtype;
- }
- if( request.getParameter("flag") != null && request.getParameter("flag").equals("conference"))
- {
- workflowtype = WorkFlowType.CONFERENCE;
- pageTo = "/mainctrl/taskpending/taskPendingList?flag=conference";
- }
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <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 query(form)
- {
- form.action="/mainctrl/taskpending/taskPendingList";
- 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>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <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 width="100%" >
- <div align="center"> </div>
- <table width="100%" border="0" align="center" cellspacing = "0" cellpadding = "0">
- <tr>
- <td bgcolor="#666666"><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>>>待办事宜</font></td>
- </tr>
- <tr bgcolor="#fafafa" align="left">
- <td height="30">
- 请选择待办事宜类型:
- <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%>
- <%}}%>
- </select>
- <input type="button" name="Button2" value="查询" onClick="query(this.form)" class="text">
- </td>
- </tr>
- </table>
- <table class=title width="600" border="0" align="center" cellspacing="1" cellpadding="2">
- <vnex_workflow:taskPendingList employeeId = "<%=userId%>" type = "<%=workflowtype%>" >
- <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:pagingItems>
- <tr bgcolor="<vnex:itemsColor/>">
- <td align="center" width="20%">
- <a href="/mainctrl/taskpending/taskPendingDispatch?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 bgcolor="#fafafa" >
- <td colspan="7" align="left">
- <vnex:pagingTag pageName="<%=pageTo%>" />
- </td>
- </tr>
- </vnex_workflow:taskPendingList>
- </table>
- </td>
- </tr>
- </table>
- <!--个人信息结束 --> <!--分隔线开始 --> <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>