📄 humanfile_check.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<base href="http://localhost:8080/accp_hr/"/>
<title>humanfile_regist.jsp</title>
<script type="text/javascript" src="accp_hr/interface/Majors.js"></script>
<script type="text/javascript" src="accp_hr/interface/Standards.js"></script>
<script type="text/javascript" src="accp_hr/interface/MojarkModel.js"></script>
<script type="text/javascript" src="accp_hr/interface/MojarModel.js"></script>
<script type="text/javascript" src="accp_hr/engine.js"></script>
<script type="text/javascript" src="accp_hr/util.js"></script>
<script type="text/javascript" src="js/DateTime2.js"></script>
<link href="css/validator.css" rel="stylesheet" type="text/css" ></link>
<script type="text/javascript" src="js/mootools.js" ></script>
<script type="text/javascript" src="js/full-validator.js" ></script>
<script language="javascript" src="js/date.js" ></script>
<script type="text/javascript">
Validator.setup({
form : 'demo1',
configs : 'tag',
warns : 'alert',
triggers : 'submit, blur'
});
<!--页面加载调用函数-->
window.onload=function(){
zwflfind();
startclock();
}
//下拉框 ---未选择项
function newoption(){
nop=new Option();
//nop.value=-1;
nop.text="---未选择---";
return nop;
}
//职位分类
function zwflfind(){
MojarkModel.findAll(showZwfl);
}
function showZwfl(zwitem){
var temps=$('zwfl1').value;
for(var i=0;i<zwitem.length;i++){
op=new Option();
op.value=zwitem[i].majorKindId;
op.text=zwitem[i].majorKindName;
if(zwitem[i].majorKindId==temps){
op.selected=true;
}
$('zwfl').options.add(op);
}
zhiweifind($('zwfl').value);
}
//职位
function zhiweifind(mid){
MojarModel.findAll(mid,showZhiwei);
}
function showZhiwei(zwitems){
$('zhiwei').options.length=0;
var temp2=$('zw1').value;
for(var i=0;i<zwitems.length;i++){
ops =new Option();
ops.value=zwitems[i].makId;
ops.text=zwitems[i].majorName;
if(zwitems[i].makId==temp2){
ops.selected=true;
}
$('zhiwei').options.add(ops);
}
}
</script>
<style type="text/css">
th{
background-color: #CCCCFF;
}
.texts{
width: 130px;
}
.texts2{
width: 200px;
}
.texts3{
background-color: transparent;
width: 130px;
border-style: none;
}
select{
width: 130px;
}
td{
background-color: #DADEDD;
}
</style>
</head>
<BODY bgcolor="#DADEDD" style="background-image: url('images/accphr/main.jpg');background-attachment :fixed ;">
<html:form action="humanJoin" styleId="demo1" enctype="multipart/form-data">
<input type="hidden" name="ophj" value="doCheck">
<input type="hidden" name="engageResume.resId" value="${engageResumeForm.engageResume.resId }">
<input type="hidden" name="engageResume.humanMajorKindName" id="hmkn" value="${engageResumeForm.engageResume.humanMajorKindName }" >
<input type="hidden" name="engageResume.humanMajorName" id="hmn" value="${engageResumeForm.engageResume.humanMajorName }" >
<table border="1" cellspacing="0" align="center" width="95%" bordercolor="black" style="font-size: 12px">
<tr>
<th>申请时间</th>
<td>
<html:text property="engageResume.passRegistTime" readonly="true" styleClass="texts3"></html:text>
</td>
<th>审批人</th>
<td>
<html:text property="engageResume.passChecker" value="${loginuser.uname}" readonly="true" styleClass="texts" ></html:text>
</td>
<th>审批时间</th>
<td colspan="3">
<input type="text" name="times" id="currentTime" readonly="readonly" class="texts3">
</td>
</tr>
<TR>
<Th>职位分类</Th>
<TD>
<input type="hidden" id="zwfl1" name="engageResume.humanMajorKindId" value="${engageResumeForm.engageResume.humanMajorKindId }" >
<html:select property="engageResume.humanMajorKindId" styleId="zwfl" onchange="zhiweifind(this.value);" >
</html:select>
</TD>
<Th>职位名称</Th>
<TD>
<input type="hidden" id="zw1" name="engageResume.humanMajorKindId" value="${engageResumeForm.engageResume.humanMajorKindId }" >
<html:select property="engageResume.humanMajorId" styleId="zhiwei" >
</html:select>
</TD>
<Th>招聘类型</Th>
<TD colspan="2">
<html:select property="engageResume.engageType" styleClass="texts2" >
<html:option value="社会招聘">社会招聘</html:option>
<html:option value="校园招聘">校园招聘</html:option>
</html:select>
</TD>
<TD rowspan="5"><div style="width: 100%;height: 100%;" ><img src="up/${engageResumeForm.engageResume.humanPicture }" width="130" height="140" id="showp" /></div></TD>
</TR>
<TR>
<Th>姓名</Th>
<TD>
<html:text property="engageResume.humanName" styleId="humanname" styleClass="texts" ></html:text>
<ui:v for="humanname" rule="LimitB" empty="姓名必须填" min="4" warn="姓名不能低于两个汉字或四个字母" />
</TD>
<Th>性别</Th>
<TD>
<html:select property="engageResume.humanSex">
<html:option value="男">男</html:option>
<html:option value="女">女</html:option>
</html:select>
</TD>
<Th>EMAIL</Th>
<TD colspan="2">
<html:text property="engageResume.humanEmail" styleId="humanemail" styleClass="texts2" ></html:text>
<ui:v for="humanemail" rule="email" warn="请输入正确的E-mail" require=false />
</TD>
</TR>
<TR>
<Th>电话</Th>
<TD>
<html:text property="engageResume.humanTelephone" styleId="humanname" styleClass="texts" ></html:text>
</TD>
<Th>家庭电话</Th>
<TD>
<html:text property="engageResume.humanHomephone" styleClass="texts" ></html:text>
</TD>
<Th>手机</Th>
<TD colspan="2">
<html:text property="engageResume.humanMobilephone" styleClass="texts2" ></html:text>
</TD>
</TR>
<TR>
<Th>住址</Th>
<TD colspan="3"><html:text property="engageResume.humanAddress" style="width:300px" ></html:text></TD>
<Th>邮编</Th>
<TD colspan="2"><html:text property="engageResume.humanPostcode" styleClass="texts2" ></html:text></TD>
</TR>
<TR>
<Th>国籍</Th>
<TD>
<html:text property="engageResume.humanNationality" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>出生地</Th>
<td><html:text property="engageResume.humanBirthplace" styleClass="texts" ></html:text></td>
<Th>身份证号</Th>
<TD colspan="2">
<html:text property="engageResume.humanIdcard" styleId="idCards" styleClass="texts2" ></html:text>
<ui:v for="idCards" rule="LimitB" max="18" min="15" empty="身份证必须填" warn="请输入正确的身份证" />
</TD>
</TR>
<TR>
<Th>民族</Th>
<TD>
<html:text property="engageResume.humanRace" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>宗教信仰</Th>
<TD>
<html:text property="engageResume.humanReligion" readonly="true" styleClass="texts3"></html:text>
</TD>
<th>生日</th>
<TD>
<html:text property="engageResume.humanBirthday" onclick="setday(this);" value="2008-08-08" styleClass="texts" readonly="true" ></html:text>
</TD>
<th>头像图片</th>
<td>
<html:text property="engageResume.humanPicture" readonly="true" styleClass="texts3"></html:text>
</td>
</TR>
<TR>
<Th>政治面貌</Th>
<TD>
<html:text property="engageResume.humanParty" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>年龄</Th>
<TD>
<html:text property="engageResume.humanAge" styleId="humanage" styleClass="texts" ></html:text>
<ui:v for="humanage" rule="range" empty="年龄必须填" max="100" min="18" warn="请输入正确的年龄(18-100)" />
</TD>
<Th>毕业院校</Th>
<TD>
<html:text property="engageResume.humanCollege" styleClass="texts" />
</TD>
<Th>注册时间</Th>
<TD>
<html:text property="engageResume.registTime" readonly="true" styleClass="texts3"></html:text>
</TD>
</TR>
<TR>
<Th>教育年限</Th>
<TD>
<html:text property="engageResume.humanEducatedYears" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>学历专业</Th>
<TD>
<html:text property="engageResume.humanEducatedMajor" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>薪酬要求</Th>
<TD>
<html:text property="engageResume.demandSalaryStandard" styleId="xcyq" styleClass="texts" ></html:text>
<ui:v for="xcyq" rule="range" max="10000" warn="请输入正确的薪酬要求" require=false />
</TD>
<Th>登记人</Th>
<TD>
<html:text property="engageResume.register" styleClass="texts" readonly="true" />
</TD>
</TR>
<TR>
<Th>特长</Th>
<TD>
<html:text property="engageResume.humanSpecility" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>爱好</Th>
<TD>
<html:text property="engageResume.humanHobby" readonly="true" styleClass="texts3"></html:text>
</TD>
<Th>学历</Th>
<TD>
<html:text property="engageResume.humanEducatedDegree" readonly="true" styleClass="texts3"></html:text>
</TD>
<th>申请人</th>
<td><html:text property="engageResume.passRegister" readonly="true" styleClass="texts" ></html:text> </td>
</TR>
<TR>
<Th>个人履历</Th>
<TD colspan="7">
<html:textarea property="engageResume.humanHistoryRecords" style="width:700px"></html:textarea>
</TD>
</TR>
<TR>
<Th>备注</Th>
<TD colspan="7"><html:textarea property="engageResume.remark" style="width:700px;"></html:textarea>
</TD>
</TR>
<TR>
<Th>推荐意见</Th>
<TD colspan="7"><html:textarea property="engageResume.recomandation" style="width:700px;"></html:textarea>
</TD>
</TR>
<TR>
<Th>申请意见</Th>
<TD colspan="7"><html:textarea property="engageResume.passCheckComment" style="width:700px;"></html:textarea>
</TD>
</TR>
<TR>
<Th>审批意见</Th>
<TD colspan="7"><html:textarea property="engageResume.passPassComment" style="width:700px;"></html:textarea>
</TD>
</TR>
</TABLE>
<br>
<center><html:submit value="提交" onclick="setSubName();" /> <html:reset value="重置" /> </center>
</html:form>
</BODY>
</HTML>
<script type="text/javascript">
<!--
function showpic(){
if($("mypic")!=null){
var pic=document.getElementById("mypic").value;
document.getElementById("showp").src=pic;
}
}
<!--给隐藏域的一级、二级机构赋值-->
function setSubName(){
//职位分类
var temp3=$("zwfl").options;
for(var i=0;i<temp3.length;i++){
if(temp3[i].selected)
$("hmkn").value=temp3[i].innerText;
}
//职位名称
var temp4=$("zhiwei").options;
for(var i=0;i<temp4.length;i++){
if(temp4[i].selected)
$("hmn").value=temp4[i].innerText;
}
}
//-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -