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

📄 bulletin_home_before.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ page language="java" %>
            
<%@ page import="java.util.*"%>
<%@ page import="java.lang.*"%>
<%@ page import="com.vnex.intranet.privilegeassign.proxy.*"%>
<%@ page import="com.vnex.intranet.organization.proxy.*"%>
<%@ page import="com.vnex.intranet.organization.value.*"%>
<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />

<HTML>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<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_communicate.js"></script>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
<script language="JavaScript" src="/vnex/util/strUtil.js"></script>    

<DIV align=center>

<form name="form1" method="post">
  <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 bgcolor="#fafafa" > 
                <table width="600" border="0" cellspacing="0" cellpadding="0">
                  <tr valign="top" bgcolor="#cccccc"> 
                    <td> 
                      <table width="600" border="0" cellpadding="2" cellspacing="0">
                        <tr bgcolor="#666666"> 
                            <td><font class="strongw">
                               <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;
                               <a href="/mainctrl/communication/main"><font color="#ffffff">通信</font></a>&gt;&gt;
                               公告板
                               </font>
                            </td>
                        </tr>
                      </table>
                <table border="0" cellpadding="2" cellspacing="0" width="600">
                  <tr bgcolor="#e0e0e0"> 
                          <td colspan="4"> <font class="strong">&nbsp;&nbsp;您有权限对以下部门进行公告版管理,请选择部门:</font> 
                          </td>
                  </tr>
                      <%
					  int rowColor = 1;
					  EmpPrivilegeProxyBean empProxy = new EmpPrivilegeProxyBean();
					PositionProxyBean proxy = new PositionProxyBean();
    				Collection coll = proxy.findEmpDivision(BusinessName.getEmpId(), 10694);
    				Collection empColl = empProxy.getAssignedDivisions(BusinessName.getEmpId(), 10694);
					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/bulletin/home?home");
						}
						out.println("<a href=\"/mainctrl/bulletin/homeMiddle?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>
          <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>

⌨️ 快捷键说明

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