employeePrivilegeListBefore.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page language="java" %>
- <%@ page import="java.util.*"%>
- <%@ page import="java.lang.*"%>
- <%@ page import="com.vnex.intranet.organization.proxy.*"%>
- <%@ page import="com.vnex.intranet.privilegeassign.proxy.*"%>
- <%@ page import="com.vnex.intranet.organization.value.*"%>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <!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>
- <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">
- <td height="33" >
- <table width="100%" border="0" cellspacing="0" cellpadding="2">
- <tr bgcolor="#666666">
- <td><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></font></td>
- </tr>
- <tr >
- <td height="30">
- <table border="0" cellpadding="2" cellspacing="0" width="600">
- <tr bgcolor="#e0e0e0">
- <td colspan="4"> <font class="strong"> 您有权限对以下部门进行权限分发操作,请选择部门:</font>
- </td>
- </tr>
- <%
- int rowColor = 1;
- EmpPrivilegeProxyBean empProxy = new EmpPrivilegeProxyBean();
- PositionProxyBean proxy = new PositionProxyBean();
- Collection coll = proxy.findEmpDivision(BusinessName.getEmpId(), 4001);
- Collection empColl = empProxy.getAssignedDivisions(BusinessName.getEmpId(), 4001);
- coll.removeAll(empColl);
- coll.addAll(empColl);
- Iterator iter = coll.iterator();
- while(iter.hasNext())
- {
- String rColor = (rowColor%2==1)?"#fafafa":"#e0e0e0";
- out.println("<tr bgcolor="+rColor+">");
- out.println("<td colspan=4> <div align=center>");
- DivisionValueBean pinfo = (DivisionValueBean)iter.next();
- if (coll.size() == 1)
- {
- BusinessName.setDeptId(pinfo.getDivisionId());
- BusinessName.setDeptName(pinfo.getDivisionName());
- response.sendRedirect("/mainctrl/personal/privilegeAssign/employeePrivilegeList");
- }
- out.println("<a href="/mainctrl/personal/privilegeAssign/employeePrivilegeListMiddle?depId="+pinfo.getDivisionId()+"&depName="+pinfo.getDivisionName()+"">");
- //out.println(pinfo.getDivisionId());
- out.println(pinfo.getDivisionName());
- out.println("</a><br></div></td></tr>");
- rowColor++;
- }
- %>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>