⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 humanfile_check.jsp

📁 人力资源管理系统
💻 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/FirstK.js"></script>
	<script type="text/javascript" src="accp_hr/interface/SecondK.js"></script>
	<script type="text/javascript" src="accp_hr/interface/ThirdK.js"></script>
	<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>
	
	<link href="css/validator.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="js/mootools.js" charset="gb2312"></script>
	<script type="text/javascript" src="js/full-validator.js" charset="gb2312"></script>
	<script language="javascript" src="js/date.js" ></script>
	<script type="text/javascript" src="js/DateTime2.js"></script>
	<script type="text/javascript">
		<!--页面加载调用函数-->
		window.onload=function(){
			
			minzufind();
			pmajor();
			guojifind();
			zzmmfind();
			zjxyfind();
			xuelifind();
			zhuanyefind();
			techangfind();
			jynxfind();
			aihaofind();
			xcbzfind();
			startclock();
		}
		
		//下拉框 ---未选择项
		function newoption(){
			nop=new Option();
			nop.value=-1;
			nop.text="---未选择---";
			return nop;
		}
		
	
		//职称
		function pmajor()
		{
			Majors.findByKind('职称',showPmajor);
		}
		function showPmajor(mes)
		{
			var zcz=$('desig1').value;
			for(var i=0;i<mes.length;i++){
				nop=new Option();
				nop.value=mes[i].attributeName;
				nop.text=mes[i].attributeName;
				if(mes[i].attributeName==zcz){
					nop.selected=true;
				}
				$('desig').options.add(nop);
			}
			
		}
		//国籍
		function guojifind()
		{
			Majors.findByKind('国籍',showGuoji);
		}
		function showGuoji(gjitem){
			var zcz=$('guoji1').value;
			for(var i=0;i<gjitem.length;i++){
				nop=new Option();
				nop.value=gjitem[i].attributeName;
				nop.text=gjitem[i].attributeName;
				if(gjitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('guoji').options.add(nop);
			}
			
		}
		//民族
		function minzufind(){
			Majors.findByKind('民族',showMinzu);
		}
		function showMinzu(mzitem){
			var zcz=$('minzhu1').value;
			for(var i=0;i<mzitem.length;i++){
				nop=new Option();
				nop.value=mzitem[i].attributeName;
				nop.text=mzitem[i].attributeName;
				if(mzitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('minzhu').options.add(nop);
			}
			
		}
		//政治面貌
		function zzmmfind(){
			Majors.findByKind('政治面貌',showZzmm);
		}
		function showZzmm(zzmmitem){
			var zcz=$('zzmm1').value;
			for(var i=0;i<zzmmitem.length;i++){
				nop=new Option();
				nop.value=zzmmitem[i].attributeName;
				nop.text=zzmmitem[i].attributeName;
				if(zzmmitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('zzmm').options.add(nop);
			}
			
		}
		//宗教信仰
		function zjxyfind(){
			Majors.findByKind('宗教信仰',showZjxy);
		}
		function showZjxy(zjxyitem){
			var zcz=$('zjxy1').value;
			for(var i=0;i<zjxyitem.length;i++){
				nop=new Option();
				nop.value=zjxyitem[i].attributeName;
				nop.text=zjxyitem[i].attributeName;
				if(zjxyitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('zjxy').options.add(nop);
			}
			
		}
		//学历
		function xuelifind(){
			Majors.findByKind('学历',showXueli);
		}
		function showXueli(xlitem){
			var zcz=$('xueli1').value;
			for(var i=0;i<xlitem.length;i++){
				nop=new Option();
				nop.value=xlitem[i].attributeName;
				nop.text=xlitem[i].attributeName;
				if(xlitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('xueli').options.add(nop);
			}
		
		}
		//专业
		function zhuanyefind(){
			Majors.findByKind('专业',showZhuanye);
		}
		function showZhuanye(zyitem){
			var zcz=$('zhuanye1').value;
			for(var i=0;i<zyitem.length;i++){
				nop=new Option();
				nop.value=zyitem[i].attributeName;
				nop.text=zyitem[i].attributeName;
				if(zyitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('zhuanye').options.add(nop);
			}
		
		}
		//特长
		function techangfind(){
			Majors.findByKind('特长',showTechang);
		}
		function showTechang(tcitem){
			var zcz=$('techang1').value;
			for(var i=0;i<tcitem.length;i++){
				nop=new Option();
				nop.value=tcitem[i].attributeName;
				nop.text=tcitem[i].attributeName;
				if(tcitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('techang').options.add(nop);
			}
			
		}
		//教育年限
		function jynxfind(){
			Majors.findByKind('教育年限',showJynx);
		}
		function showJynx(jyitem){
			var zcz=$('jynx1').value;
			for(var i=0;i<jyitem.length;i++){
				nop=new Option();
				nop.value=jyitem[i].attributeName;
				nop.text=jyitem[i].attributeName;
				if(jyitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('jynx').options.add(nop);
			}
				
		}
		//爱好
		function aihaofind(){
			Majors.findByKind('爱好',showAihao);
		}
		function showAihao(ahitem){
			var zcz=$('aihao1').value;
			for(var i=0;i<ahitem.length;i++){
				nop=new Option();
				nop.value=ahitem[i].attributeName;
				nop.text=ahitem[i].attributeName;
				if(ahitem[i].attributeName==zcz){
					nop.selected=true;
				}
				$('aihao').options.add(nop);
			}
			
		}
		//薪酬标准
		function xcbzfind(){
			Standards.findAll(showXcbz);
		}
		function showXcbz(xcitem){
			var zcz=$('xcbz1').value;
			for(var i=0;i<xcitem.length;i++){
				nop=new Option();
				nop.value=xcitem[i].standardId;
				nop.text=xcitem[i].standardName;
				if(xcitem[i].standardId==zcz){
					nop.selected=true;
				}
				$('xcbz').options.add(nop);
			}
			
		}
		

	</script>
	<style type="text/css">
		th{
			background-color: #CCCCFF;
		}
		td{
			background-color: #DADEDD;
		}
		.texts{
			width: 130px;
		}
		.texts2{
			width: 200px;
		}
		.texts3{
			background-color: transparent;
			border-style: none;
		}
		select{
			width: 130px;
		}
	</style>

  </head>
<BODY  bgcolor="#DADEDD" style="background-image: url('images/accphr/main.jpg');background-attachment :fixed;">
   <html:form action="humanFile" styleId="demo1" enctype="multipart/form-data">
   <input type="hidden" name="ophf" value="doCheck">
   <input type="hidden" name="humanFile.firstKindId" value="${humanFileForm.humanFile.firstKindId }" >
   <input type="hidden" name="humanFile.secondKindId" value="${humanFileForm.humanFile.secondKindId }" >
   <input type="hidden" name="humanFile.thirdKindId" value="${humanFileForm.humanFile.thirdKindId }" >
   <input type="hidden" name="humanFile.humanMajorKindId" value="${humanFileForm.humanFile.humanMajorKindId }" >
   <input type="hidden" name="humanFile.humanMajorId" value="${humanFileForm.humanFile.humanMajorId }" >
   <input type="hidden" name="humanFile.salaryStandardName" id="ssn" value="${humanFileForm.humanFile.salaryStandardName }" >
	<table border="1" cellspacing="0" align="center" width="95%" bordercolor="black" style="font-size: 12px">
		<TR>
			<Th>编号</Th>
			<TD colspan="6"><html:text property="humanFile.hufId" styleClass="texts3" readonly="true" ></html:text></TD>
			<TD rowspan="5"><div style="width: 100%;height: 95%;" ><img src="up/${humanFileForm.humanFile.humanPicture }" width="130" height="140" id="showp" /></div>
				<html:text property="humanFile.humanPicture" styleClass="texts3" readonly="true"></html:text>
			</TD>
		</TR>
		<TR>
			<Th>I级机构</Th>
			<TD>
				<html:text property="humanFile.firstKindName" styleClass="texts3" readonly="true" ></html:text>
			</TD>
			<Th>II级机构</Th>
			<TD>
				<html:text property="humanFile.secondKindName" styleClass="texts3" readonly="true" ></html:text>
			</TD>
			<Th>III级机构</Th>
			<TD colspan="2">
				<html:text property="humanFile.thirdKindName" styleClass="texts3" readonly="true" ></html:text>
			</TD>
			
		</TR>
		<TR>
			<Th>职位分类</Th>
			<TD>
				<html:text property="humanFile.humanMajorKindName" styleClass="texts3" readonly="true" ></html:text>

			</TD>
			<Th>职位名称</Th>
			<TD>
				<html:text property="humanFile.hunmaMajorName" styleClass="texts3" readonly="true" ></html:text>
 
			</TD>
			<Th>职称</Th>
			<TD colspan="2">
				<input type="hidden" name="desig1" value="${humanFileForm.humanFile.humanProDesignation}" >
				<html:select property="humanFile.humanProDesignation" styleId="desig" styleClass="texts2" >
   					
   				</html:select>
			</TD>
		</TR>
		<TR>
			<Th>姓名</Th>
			<TD>
				<html:text property="humanFile.humanName" styleClass="texts3" readonly="true" ></html:text>
				<ui:v for="name" rule="LimitB" empty="姓名必须填" min="4"
							warn="姓名不能低于两个汉字或四个字母" />
			</TD>
			<Th>性别</Th>
			<TD>
				<html:select property="humanFile.humanSex" >
					<html:option value="男">男</html:option>
					<html:option value="女">女</html:option>
				</html:select>
			</TD>
			<Th>EMAIL</Th>
			<TD colspan="2"><html:text property="humanFile.humanEmail" styleClass="texts2" ></html:text></TD>
		</TR>
		<TR>
			<Th>电话</Th>
			<TD><html:text property="humanFile.humanTelephone" styleClass="texts" ></html:text></TD>
			<Th>QQ</Th>
			<TD><html:text property="humanFile.humanQq" styleClass="texts" ></html:text></TD>
			<Th>手机</Th>
			<TD colspan="2"><html:text property="humanFile.humanMobilephone" styleClass="texts2" ></html:text></TD>
		</TR>
		<TR>
			<Th>住址</Th>
			<TD colspan="3"><html:text property="humanFile.humanAddress" style="width:290px;" /></TD>
			<Th>邮编</Th>
			<TD><html:text property="humanFile.humanPostcode" styleClass="texts" /></TD>
			<Th>民族</Th>
			<TD>
				<input type="hidden" name="minzhu1" value="${humanFileForm.humanFile.humanRace}" >
				<html:select property="humanFile.humanRace" styleId="minzhu" >
   					
   				</html:select>
			</TD>
		</TR>
		<TR>
			<Th>国籍</Th>
			<TD>
			<input type="hidden" name="guoji1" value="${humanFileForm.humanFile.humanNationality}" >
				<html:select property="humanFile.humanNationality" styleId="guoji" >
   					
   				</html:select>
			</TD>
			<Th>出生地</Th>
			<TD><html:text property="humanFile.humanBirthplace" styleClass="texts" /></TD>
			<Th>生日</Th>
			<TD><html:text property="humanFile.humanBirthday" styleClass="texts" onclick="setday(this);" /></TD>
			<Th>社会保障号码</Th>
			<TD><html:text property="humanFile.humanSocietySecurityId" styleClass="texts" ></html:text></TD>
			
		</TR>
		<TR>
			<Th>宗教信仰</Th>
			<TD>
			<input type="hidden" name="zjxy1" value="${humanFileForm.humanFile.humanReligion}" >
				<html:select property="humanFile.humanReligion" styleId="zjxy" >
   					
   				</html:select>
			</TD>
			<Th>政治面貌</Th>
			<TD>
			<input type="hidden" name="zzmm1" value="${humanFileForm.humanFile.humanParty}" >
				<html:select property="humanFile.humanParty" styleId="zzmm" >
   					
   				</html:select>
			</TD>
			<Th>身份证号码</Th>
			<TD>
				<html:text property="humanFile.humanIdCard" styleClass="texts" styleId="idcard" />
				  	
			</TD>
			<Th>学历专业</Th>
			<TD>
			<input type="hidden" name="zhuanye1" value="${humanFileForm.humanFile.humanEducatedMajor}" >
				<html:select property="humanFile.humanEducatedMajor" styleId="zhuanye">
				   					
   				</html:select>
			</TD>
		</TR>
		<TR>
			<Th>年龄</Th>
			<TD><html:text property="humanFile.humanAge" styleClass="texts" /></TD>
			<Th>学历</Th>
			<TD>
			<input type="hidden" name="xueli1" value="${humanFileForm.humanFile.humanEducatedDegree}" >
				<html:select property="humanFile.humanEducatedDegree" styleId="xueli" >
   					
   				</html:select>
			</TD>
			<Th>教育年限</Th>
			<TD>
			<input type="hidden" name="jynx1" value="${humanFileForm.humanFile.humanEducatedYears}" >
				<html:select property="humanFile.humanEducatedYears" styleId="jynx">
   					
   				</html:select>
			</TD>
			<Th>登记人</Th>
			<TD><html:text property="humanFile.register" styleClass="texts3" readonly="true" /></TD>
		</TR>
		<TR>
			<Th>薪酬标准</Th>
			<TD>
			<input type="hidden" name="xcbz1" value="${humanFileForm.humanFile.salaryStandardId}" >
				<html:select property="humanFile.salaryStandardId" styleId="xcbz" onchange="setSubName();">
   					
   				</html:select>
			</TD>
			<Th>开户行</Th>
			<TD><html:text property="humanFile.humanBank" styleClass="texts" /></TD>
			<Th>帐号</Th>
			<TD><html:text property="humanFile.humanAccount" styleClass="texts" /></TD>
			<Th>复核人</Th>
			<TD><html:text property="humanFile.checker" value="${loginuser.uname}" styleClass="texts3" readonly="true" /></TD>
		</TR>
		<TR>
			<Th>建档时间</Th>
			<TD>
				<html:text property="humanFile.registTime" styleClass="texts3" readonly="true" ></html:text>
			</TD>
			<Th>特长</Th>
			<TD>
			<input type="hidden" name="techang1" value="${humanFileForm.humanFile.humanSpeciality}" >
				<html:select property="humanFile.humanSpeciality" styleId="techang">
   					
   				</html:select>
			</TD>
			<Th>爱好</Th>
			<TD>
			<input type="hidden" name="aihao1" value="${humanFileForm.humanFile.humanHobby}" >
				<html:select property="humanFile.humanHobby" styleId="aihao">
   					
   				</html:select>
			</TD>
			<th>复核时间</th>
			<td>
				<input type="text" name="times" id="currentTime" readonly="readonly" class="texts">
			</td>
		</TR>

		<TR>
			<Th>个人履历</Th>
			<TD colspan="7">
				<html:textarea property="humanFile.humanHistroyRecords" style="width:700px"></html:textarea>
			</TD>
		</TR>
		<TR>
			<Th>家庭关系信息</Th>
			<TD colspan="7">
				<html:textarea property="humanFile.humanFamilyMembership" style="width:700px"></html:textarea>
			</TD>
		</TR>
		<TR>
			<Th>备注</Th>
			<TD colspan="7"><html:textarea property="humanFile.remark" style="width:700px;"></html:textarea>
			</TD>
		</TR>
		</TABLE>
		<br>
		<center><html:submit value="通过" /> <html:reset value="重置" /> <input type="button" value="查询" onclick="location.href='humanFile.do?ophf=toCheckFind'" ></center>
	</html:form>
</BODY>
</HTML>
<script type="text/javascript">
<!--
//薪酬标准
function setSubName(){
		var temp5=$("xcbz").options;
		for(var i=0;i<temp5.length;i++){
			if(temp5[i].selected)
				$("ssn").value=temp5[i].innerText;
		}
	}
//-->
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -