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

📄 dep_index_before.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ 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" />

<HTML>
<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>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<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>
         <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 > 
                <table width="600" border="0" cellspacing="0" cellpadding="2">
                  <tr> 
                    <td bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/personal/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;
					PositionProxyBean proxy = new PositionProxyBean();
					  EmpPrivilegeProxyBean empProxy = new EmpPrivilegeProxyBean();
    				Collection coll = proxy.findEmpDivision(BusinessName.getEmpId(), 11127);
    				Collection empColl = empProxy.getAssignedDivisions(BusinessName.getEmpId(), 11127);
					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/budget/index");
						}
						out.println("<a href=\"/mainctrl/budget/indexMiddle?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>
          <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 + -