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

📄 workflowroute_list.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%
/**
 *  $ RCSfile: WorkflowRoute_List.jsp,v $
 *  $ Revision: 1.0 $
 *  $ Date: 2001/05/018 20:18:46 ,created by Shiyong Jian $
 *  $ /mainctrl/template/maintainRoute $
 *
 *  This is the workflow template  list  page.
 *  @author Copyright (c) May. 2001, by VisionNex  Technologies Inc., All Right Reversed.
 */
%>

<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.workflow.pub.value.RouteValueBean" %>

<%@ 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" />
<jsp:useBean id="routeListBean" scope="page" class="com.vnex.intranet.workflow.route.value.RouteListBean" />


<%@ include file= "/vnex/intranet/workflow/template/WorkflowRoute_Navibar_Head.jsp" %>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
<script Language="JavaScript">
function submitForm(act)
{
    if ( act == 'New' )
    {
         document.forms[0].action= '/mainctrl/template/createRoute?flag=newRoute';
         document.forms[0].submit();
    } 
    
    if ( act == 'Delete' ) 
    {
        
        if ( !isChecked( document.forms[0].routeIdList )  ) 
        {
            alert('请选择要删除的模板!');
            return false;
        }     
        if ( confirm("确定删除?") )
        {
            document.forms[0].action= '/mainctrl/template/deleteRoute';
            document.forms[0].submit();
        }
    }
 }
</script>
<script language="JavaScript" src="/vnex/util/validate.js"></script>
<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">
 
<DIV align=center>
<form name="form1" method="post" action="">
   <TABLE class=outter cellSpacing=0 cellPadding=0 border=0 width="600">
     <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 bgcolor="#fafafa"> 
              <td> 
               <table width="600" border="0" cellspacing="0" cellpadding="2">
        
                           <tr bgcolor="#666666"> 
                    <td colspan="2" height="15" bgcolor="#666666">
                    <font class="strongw"><a href="/mainctrl/home/index">
                    <font color="#FFFFFF">首页</font></a>&gt;&gt;
                    <a href="<%=firstLevelLink%>"><font color="#FFFFFF"><%=firstLevelText%></font></a>&gt;&gt;
                    <font color="#FFFFFF"><%=secondLevelText%></font>
                      </td>
                  </tr>                       
                </table>
               <table class=title cellspacing=1 cellpadding=2 width="100%" border=0>
                  <tr align=left bgcolor="#fafafa"> 
                    <td colspan="4" height="30">
                      &nbsp;&nbsp;<input type="button" name="create" value="新建" class="file" onClick=" submitForm( 'New' ) ">&nbsp;&nbsp;
                      <input type="button" name="delete" value="删除" class="file" onClick=" submitForm( 'Delete' )" ">
                    </td>
                  </tr>
               
                   <tr> 
                    <td colspan="4" bgcolor="#666666"> 
                      
                    </td>
                  </tr>
                  <tr align=middle> 
                    <td width="7%" height="2"><font class="strong">选择 </font></td>
                    <td width="40%" height="2"><font class="strong">标题 </font></td>
                    <td width="23%" height="2"><font class="strong">模板类型</font></td>
                    <td width="30%" height="2"><font class="strong">创建时间</font></td>                    
                  </tr>
                  <vnex_workflow:routeList routetype="<%=routeType%>"  routelistbean="<%=routeListBean %>"  personid="<%=BusinessName.getEmpId() %>"  workflowType= "<%=0 %>" > 
                   <vnex:items paging="true"> 
                  <tr align=middle bgcolor="<vnex:itemsColor />"> 
                    <td align="center" width="7%"> 
                      <input type="checkbox" name="routeIdList" value="<vnex_workflow:routeAttribute attribute='route_id' />">
                    </td>
                    <td width="40%"><a href="/mainctrl/template/modifyRoute?routeId=<vnex_workflow:routeAttribute attribute='route_id' />&flag=modifyRoute" > <vnex_workflow:routeAttribute attribute="route_name" /></a></td>
                    <td width="30%"><vnex_workflow:routeAttribute attribute="route_type" /></td>
                    <td width="30%"><vnex_workflow:routeAttribute attribute="route_creationdate" /></td>
                  </tr>
                   </vnex:items>
                   <tr bgcolor="#e0e0e0">
                    <td align="center" width="7%"> 
                      <input type="checkbox" name="myAll"  onclick="checkAll(this.form.routeIdList, this.form.myAll)" >
                    </td>
                    <td colspan="3" bgcolor="#e0e0e0">
                         &nbsp;&nbsp;全选<br>
                     </td>
                  </tr> 
                   <tr>
                      <td colspan="6" align="left" bgcolor="#fafafa">
                  &nbsp;&nbsp;<vnex:pagingTag pageName="/mainctrl/template/maintainRoute?a" />
                  </td>
                  </tr> 
                  </vnex_workflow:routeList> 
                  
                  </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 + -