organization_index.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:3k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.organization.value.*"%>
- <%@ page import="com.vnex.intranet.organization.proxy.*"%>
- <%@ page import="java.util.*"%>
- <jsp:useBean id="organizationProxy" scope="Application" class="com.vnex.intranet.organization.proxy.OrganizationProxyBean" />
- <!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="JavaScript" src="/vnex/menu/dockmenu_hr.js"></script>
- <script language="JavaScript" 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"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td bgcolor="#fafafa">
- <table class=title cellspacing=1 width="600" border=0 cellpadding="2">
- <tr>
- <td colspan="2" bgcolor="#666666"><font class="strongw">
- <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>>
- <a href="/mainctrl/hr/main"><font color="#FFFFFF">人力资源</font></a>>>
- <font color="#FFFFFF">组织结构与职位管理</font></font></td>
- </tr>
- <tr align="center">
- <td width="254"><font class=strong>部门名称</font></td>
- <td width="375"><font class=strong>操作</font></td>
- </tr>
- <%
- ArrayList array =(ArrayList) organizationProxy.getAllDivision();
- System.out.println("----"+array.size());
- for(int i=0;i<array.size();i++)
- {
- DivisionValueBean dinfo = (DivisionValueBean)array.get(i);
- System.out.println(dinfo.getDivisionId());
- String bgcolor="#e0e0e0";
- if(i%2 == 0)
- bgcolor = "#fafafa";
- %>
- <tr align=middle bgcolor="<%=bgcolor%>">
- <td width="254" align="left">
- <% for (int j=0;j<dinfo.getLevel();j++){%>
- |<%}%>-<%=dinfo.getDivisionName()%></td>
- <td width="375">
- <input onClick="location='/mainctrl/organization/divisionDetail?id=<%=dinfo.getDivisionId()%>&name=<%=dinfo.getDivisionName()%>'" type="button" value="属性" name="B33" class=text>
- <input onClick="location='/mainctrl/organization/addDivision?id=<%=dinfo.getDivisionId()%>&name=<%=dinfo.getDivisionName()%>'" type="button" value="增加分部" name="B33" class=text>
- <input onClick="location='/mainctrl/organization/getAllPosition?id=<%=dinfo.getDivisionId()%>&name=<%=dinfo.getDivisionName()%>'" type="button" value="职位管理" name="B3310" class=text>
- </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>