📄 job_insert.jsp
字号:
<jsp:include page="../user/checklogin.jsp" flush="true"/>
<jsp:include page="../header/header.jsp" flush="true"/>
<%@ page contentType="text/html;charset=gb2312" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page language="java" %>
<%@ page import="foton.util.*"%>
<%@ page import="foton.job.*,foton.system.*"%>
<%@ page import="java.util.*" %>
<script src="../js/checkform.js"></script>
<script language="javascript">
function checkForm(){
if (document.jobActionForm.jobName.value=="") {
document.jobActionForm.jobName.style.backgroundColor="red";
alert("请输入职位名称");
document.jobActionForm.jobName.focus();
return false;
} else {
document.jobActionForm.jobName.style.cssText += "";
}
return true;
}
</script>
<link rel="stylesheet" href="css.css" type="text/css">
<jsp:include page="../header/header_bg2.jsp" flush="true"/>
<jsp:include page="../header/menu_manager.jsp" flush="true"/>
</TD>
<TD width=677>
<TABLE height=1 cellSpacing=0 cellPadding=0 width=538 border=0>
<TBODY>
<TR>
<TD vAlign=bottom colSpan=2 height=43></TD></TR>
<TR>
<TD width=40 height=45 rowSpan=2><IMG height=43
src="../../images/qy_1_0.gif" width=40></TD>
<TD vAlign=top width=498 height=15><IMG height=1
src="../../images/qy_1.gif" width=498></TD></TR>
<TR>
<TD vAlign=top width=498 height="30"></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=672 border=0 >
<TBODY>
<TR>
<TD height=23>
<html:form action="/jobAction.do" method="post" onsubmit="return checkForm()">
<html:hidden value="STORE" property="action"/>
<table width="90%" border="1" cellspacing="1" cellpadding="3" bgcolor=#ffffff align=center>
<tr>
<td colspan="4">
<div align="center" style="width: 523; height: 106">
<p> </p>
<p align="center"><b><font face="宋体" size="6">      新增招聘岗位</font></b></p>
<p> </p>
</div>
<div align=left bgcolor=#6699cc >请注意标注 <font color=#ff0000>*</font> 的项目不要忘记填写</div>
</td>
</tr>
<tr>
<td>
<div align="right">职位名称:</div>
</td>
<td colspan=3>
<html:text property="jobName" maxlength="100" size="50" />
<font color=#ff0000>*</font> </td>
</td>
</tr>
<tr>
<td>
<div align="right">招聘部门:</div>
</td>
<td width="4">
<html:text property="deptName" maxlength="100"/>
</td>
<td>
<div align="right">职位性质:</div>
</td>
<td>
<html:select property="jobNature">
<html:option value="">--请选择--</html:option>
<html:option value="全职">全职</html:option>
<html:option value="兼职">兼职</html:option>
<html:option value="临时">临时</html:option>
<html:option value="实习">实习</html:option>
<html:option value="不限">不限</html:option>
</html:select>
</td>
</tr>
<tr>
<td>
<div align="right">专业分类:</div>
</td>
<td>
<html:select property="jobType" size="1">
<html:option value="">--请选择--</html:option>
<% Condition condition1 = new Condition();
int pageNum1 = 15;
int currPage1;
//String url = "../system/major_list.jsp";
if (request.getParameter("pages")==null) {
currPage1 =0;
}
else {
currPage1 = new Integer(request.getParameter("pages")).intValue();
}
condition1.setPageNum(pageNum1);
condition1.setCurrPage(currPage1);
// ArrayList list = (ArrayList)session.getAttribute("result");
majorDAO mdao = new majorDAO();
ArrayList list0 = mdao.getMajor(condition1);
Iterator it0 = list0.iterator();
while (it0!=null && it0.hasNext()) {
majorInfo info1 = (majorInfo)it0.next();
%>
<html:option value="<%=info1.getMajorName()%>"><%=info1.getMajorName()%></html:option>
<% } %>
</html:select>
</td>
<td>
<div align="right">需求人数:</div>
</td>
<td>
<html:text property="jobNumber" maxlength="30" size="15"/>
</td>
</tr>
<tr>
<td>
<div align="right">招聘截止日期:</div>
</td>
<td>
<!--
<html:text property="jobValidDay" size="10" value="2004-5-27"/>
<html:submit property="submit1" value=">>"
onclick="fPopUpCalendarDlg(jobValidDay);return false" />
-->
<SCRIPT src="fPopUpCalendarDlg.js"></SCRIPT>
<html:text value="2004-5-27" readonly="readonly" property="jobValidDay" size="12"/>
<html:button value=">>" property="button1" onclick="fPopUpCalendarDlg(jobValidDay);return false"/>
</td>
<td>
<div align="right">月薪范围:</div>
</td>
<td>
<html:select property="salary">
<html:option value="">--请选择--</html:option>
<html:option value="面议">面议</html:option>
<html:option value="1000以下">1000以下</html:option>
<html:option value="1000~2000">1000~2000</html:option>
<html:option value="2000~3000">2000~3000</html:option>
<html:option value="3000~4000">3000~4000</html:option>
<html:option value="4000~6000">4000~6000</html:option>
<html:option value="6000~8000">6000~8000</html:option>
<html:option value="8000~10000">8000~10000</html:option>
</html:select>
</td>
</tr>
<tr>
<td>
<div align="right">工作地区/地点:</div>
</td>
<td>
<html:select property="jobArea">
<html:option value="">--请选择--</html:option>
<% Condition condition2 = new Condition();
int pageNum2 = 15;
int currPage2;
//String url = "../system/major_list.jsp";
if (request.getParameter("pages")==null) {
currPage2 =0;
}
else {
currPage2 = new Integer(request.getParameter("pages")).intValue();
}
condition2.setPageNum(pageNum2);
condition2.setCurrPage(currPage2);
// ArrayList list = (ArrayList)session.getAttribute("result");
areaDAO adao = new areaDAO();
ArrayList list01 = adao.getArea(condition2);
//int n=1;
Iterator it01 = list01.iterator();
while (it01!=null && it01.hasNext()) {
majorInfo info2 = (majorInfo)it01.next();
%>
<html:option value="<%=info2.getAreaName()%>"><%=info2.getAreaName()%></html:option>
<% } %>
</html:select>
</td>
<td>
<div align="right">相关工作经验:</div>
</td>
<td>
<html:select property="workYear">
<html:option value="">--请选择--</html:option>
<html:option value="一年以下">一年以下</html:option>
<html:option value="1年">1年</html:option>
<html:option value="2年">2年</html:option>
<html:option value="3年">3年</html:option>
<html:option value="4年">4年</html:option>
<html:option value="5年">5年</html:option>
<html:option value="6年">6年</html:option>
<html:option value="7年">7年</html:option>
<html:option value="8年">8年</html:option>
<html:option value="9年">9年</html:option>
<html:option value="10年">10年</html:option>
</html:select>
</td>
</tr>
<tr>
<td>
<div align="right">性别要求:</div>
</td>
<td>
<html:select property="sex">
<html:option value="">--请选择--</html:option>
<html:option value="男">男</html:option>
<html:option value="女">女</html:option>
<html:option value="不限">不限</html:option>
</html:select>
</td>
<td>
<div align="right">年龄要求:</div>
</td>
<td>
<html:select property="age">
<html:option value="">--请选择--</html:option>
<html:option value="30岁以下">30岁以下</html:option>
<html:option value="31-40岁">30-40岁</html:option>
<html:option value="41-50岁">41-50岁</html:option>
<html:option value="50岁以上">50岁以上</html:option>
<html:option value="不限">不限</html:option>
</html:select>
</td>
</tr>
<tr>
<td>
<div align="right">社会职称:</div>
</td>
<td>
<html:select property="title">
<html:option value="">--请选择--</html:option>
<html:option value="初级">初级</html:option>
<html:option value="中级">中级</html:option>
<html:option value="高级">高级</html:option>
<html:option value="不限">不限</html:option>
</html:select>
</td>
<td>
<div align="right">是否急聘:</div>
</td>
<td>
<html:select property="isUrgent">
<html:option value="">一般</html:option>
<html:option value="急聘">急聘</html:option>
</html:select>
</td>
</tr>
<tr>
<td>
<div align="right">学历要求:</div>
</td>
<td>
<html:select property="degree">
<html:option value="">--请选择--</html:option>
<html:option value="博士">博士</html:option>
<html:option value="MBA">MBA</html:option>
<html:option value="硕士">硕士</html:option>
<html:option value="双学士(6年)">双学士(6年)</html:option>
<html:option value="双学士(4年)">双学士(4年)</html:option>
<html:option value="本科">本科</html:option>
<html:option value="大专">大专</html:option>
</html:select>
</td>
<td>
<div align="right">职位是否有效:</div>
</td>
<td>
<html:select property="jobIsValid">
<html:option value="有效">有效</html:option>
<html:option value="暂停">暂停</html:option>
</html:select>
</td>
</tr>
<tr>
<td>
<div align="right">职位描述:</div>
</td>
<td colspan="3">
<html:textarea cols="80%" rows="5" property="jobDescription">
</html:textarea>
</td>
</tr>
<tr>
<td><div align="right">特殊素质和<br>经历要求:</div>
</td>
<td colspan="3">
<html:textarea cols="80%" rows="5" property="jobRequirement">
</html:textarea>
</td>
</tr>
<tr>
<td height="21" colspan="4">
<div align="center">
<html:submit value="保存" property="submit"/>
<html:button value="返回" property="Sub3" onclick="window.history.back()"/>
<html:button value="关闭" property="Submit2" onclick="window.close()"/>
</div>
</td>
</tr>
</table>
</html:form>
</TD></TR></TABLE></TBODY></TABLE><!-- #BeginLibraryItem "/Library/zhu_copyright.lbi" -->
<TABLE cellSpacing=0 cellPadding=0 width=767 background=../../images/d_1_bj.gif
border=0>
<TBODY>
<TR>
<TD width=124><IMG height=19 src="../../images/d_1.gif" width=124></TD>
<TD width=643><FONT color=#cccccc>北汽福田汽车股份有限公司 版权所有 ©
2004</FONT></TD></TR></TBODY></TABLE><!-- #EndLibraryItem -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -