new_position.jspback
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
- <%@ 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" />
- <%
- ArrayList array = (ArrayList)positionProxyBean.getAllPrivileges();
- int did = Integer.parseInt(request.getParameter("id"));
- String dname = request.getParameter("name");
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script language="JavaScript" src="/vnex/util/popSelect.js"></script>
- <script language="JavaScript1.2" src="/vnex/util/strutil.js"></script>
- <script language="JavaScript" src="/vnex/util/validate.js"></script>
- <script language=JavaScript>
- function dosubmit()
- {
- if(isEmpty(myform.dutyTitle.value) || isEmptyStr(myform.dutyTitle.value) )
- {
- alert("职位名称不能为空!");
- myform.dutyTitle.focus();
- return false;
- }
- if(myform.dutyTitle.value.length > 30)
- {
- alert("职位名称长度不能大于30!");
- myform.dutyTitle.focus();
- return false;
- }
- if(myform.description.value.length > 50)
- {
- alert("描述长度不能大于50!");
- myform.description.focus();
- return false;
- }
- if(myform.demandSkill.value.length > 50)
- {
- alert("要求技能长度不能大于50!");
- myform.demandSkill.focus();
- return false;
- }
- if(myform.checkStandard.value.length > 50)
- {
- alert("考核标准长度不能大于50!");
- myform.checkStandard.focus();
- return false;
- }
- myform.action="/mainctrl/organization/addPositionProcess";
- myform.submit();
- }
- function CheckAll(form)
- {
- for (var i=0;i<form.elements.length;i++)
- {
- var e = form.elements[i];
- if (e.name != 'chkall')
- e.checked = form.chkall.checked;
- }
- }
- </script>
- <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 method=POST name="myform">
- <input type=hidden name=divisionId value=<%=did%> >
- <input type=hidden name=divisionName value='<%=dname%>'>
- <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">
- <br>
- <!--个人信息开始 -->
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td bgcolor="#fafafa">
- <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
- <tr bgcolor="#666666">
- <td colspan="2"><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>>>
- <a href="/mainctrl/organization/getAllPosition?id=<%=did%>&name=<%=dname%>"><font color="#FFFFFF">职位管理</font></a>>>
- <font color="#ffffff">新增职位</font></font></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="19%" align="left"><font class=strong> 职位名称:</font></td>
- <td width="81%">
- <input type="text" name="dutyTitle" class=text size="24" value="" >
- * (注:带*为必填内容) </td>
- </tr>
- <tr>
- <td bgcolor="#e0e0e0" width="19%" align="left"><font class=strong> 职位描述:</font></td>
- <td bgcolor="#e0e0e0" width="81%">
- <textarea name="description" rows="5" cols="59" class="text"></textarea>
- </td>
- </tr>
- <tr>
- <td bgcolor="#fafafa" width="19%" align="left"><font class=strong> 要求技能:</font></td>
- <td bgcolor="#fafafa" width="81%">
- <textarea name="demandSkill" rows="5" cols="59" class="text"></textarea>
- </td>
- </tr>
- <tr>
- <td bgcolor="#e0e0e0" width="19%" align="left"><font class=strong> 考核标准:</font></td>
- <td bgcolor="#e0e0e0" width="81%">
- <textarea name="checkStandard" rows="5" cols="59" class="text"></textarea>
- </td>
- </tr>
- </table>
- <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
- <tr bgcolor="#fafafa">
- <td colspan="3"><font class=strong> 权限设置:</font></td>
- </tr>
- <tr align=middle>
- <td width="42"><font class=strong>选择</font></td>
- <td width="200"><font class=strong>权限分组</font></td>
- <td width="358"><font class=strong>权限名称</font></td>
- </tr>
- <org:PrivilegeList > <vnex:items>
- <tr align=middle bgcolor="<vnex:itemsColor />">
- <td width="42">
- <input type="checkbox" name="ids"
- value='<org:PrivilegeAttribute attribute="id"/>'>
- </td>
- <td colspan="2">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="200" align="center"> <org:PrivilegeAttribute attribute="groupNoRepeat"/></td>
- <td aling="left"> --><org:PrivilegeAttribute attribute="name"/></td>
- </tr>
- </table>
- </td>
- </tr>
- </vnex:items> </org:PrivilegeList>
- <tr align=middle bgcolor="#fafafa">
- <td width="42">
- <INPUT onclick=CheckAll(this.form) type=checkbox value=on name="chkall">
- </td>
- <td colspan="2" align="left"> 全选</td>
- </tr>
- <tr bgcolor="#fafafa" align="center" height="30">
- <td colspan="3">
- <input type="button" value="保存" name="B3" onclick="dosubmit()" class=text>
-
- <% String name = request.getParameter("name");%>
- <input type="button" value="放弃" name="B1" onclick="location='/mainctrl/organization/getAllPosition?id=<%=did%>&name=<%=name%>'" 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" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>