position_list.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.organization.value.*"%>
- <%@ page import="com.vnex.intranet.organization.proxy.*"%>
- <jsp:useBean id="positionProxyBean" scope="Application" class="com.vnex.intranet.organization.proxy.PositionProxyBean" />
- <%
- int did = Integer.parseInt(request.getParameter("id"));
- ArrayList array = (ArrayList)positionProxyBean.getDutyByDivision(did);
- String dutyName = request.getParameter("name");
- %>
- <!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 bgcolor="#666666">
- <td colspan="3"><font class="strongw">
- <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>>
- <a href="/mainctrl/hr/main"><font color="#FFFFFF">人力资源</font></a>>>
- <a href="/mainctrl/organization/getAllDivision"><font color="#FFFFFF">组织结构与职位管理</font></a>>>
- 职位管理</font></td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="3"><font class=strong> 部门: <%=dutyName%></font></td>
- </tr>
- <tr bgcolor="#fafafa" height="30">
- <td colspan="3">
- <input type="button" value="新建" name="B3" onclick="location='/mainctrl/organization/addPosition?id=<%=did%>&name=<%=dutyName%>'" class=text>
-
- <input type="button" value="返回" name="B3" onclick="location='/mainctrl/organization/getAllDivision'" class=text>
- </td>
- </tr>
- <tr>
- <td width="194" align="center"><font class=strong>职位</font></td>
- <td width="194" align="center"><font class=strong>数量</font></td>
- <td width="195" align="center"><font class=strong>操作</font> </td>
- </tr>
- <% if(array != null){
- for (int i=0;i<array.size();i++)
- {
- DutyValueBean dinfo = (DutyValueBean)array.get(i);
- String bgcolor = "#e0e0e0";
- if(i%2==0)
- bgcolor = "#fafafa";
- %>
- <tr bgcolor="<%=bgcolor%>" align="center">
- <td width="194"> <%=dinfo.getDutyTitle()%></td>
- <td width="194"><%=dinfo.getCurrentNumber()%></td>
- <td width="195">
- <input type="button" value="修改" name="B22" onClick="location='/mainctrl/organization/positionDetail?id=<%=dinfo.getDutyId()%>&name=<%=dutyName%>&pid=<%=did%>'" class=text>
- <input type="button" value="删除" name="B23" onClick="if (confirm('确定要删除吗?')) location='/mainctrl/organization/deletePosition?id=<%=dinfo.getDutyId()%>&divid=<%=did%>&dname=<%=dutyName%>';" 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>