lrf402788946 5 tahun lalu
induk
melakukan
d8db672ccd

TEMPAT SAMPAH
public/static/jobs-iframe/images/ncss-banner.jpg


+ 131 - 0
public/static/jobs-iframe/index.html

@@ -0,0 +1,131 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>吉林就业</title>
+<style type="text/css">
+li{
+	list-style: none;
+}
+a{
+	text-decoration: none;
+}
+.style{
+	width:100%;
+	height: 355px;
+}
+.w_1200{
+	width: 1200px;
+	margin: 0  auto;
+	height: 355px;
+	border:1px solid #ccc;
+}
+.mainLeft{
+	float: left;
+	width:598px;
+	height:355px;
+	border-right:1px solid #ccc;
+}
+.mainLeft .top {
+	height: 35px;
+	line-height: 35px;
+	border-bottom: 1px solid #ccc;
+}
+.mainLeft .top .title{
+	display: inline-block;
+	width: 500px;
+	height: 30px;
+	line-height: 30px;
+	padding: 0 15px;
+	color: #4193c5;
+	font-weight: bold;
+	font-size: 14px;
+}
+.mainLeft .top .more{
+	display: inline-block;
+	height: 20px;
+	line-height: 20px;
+	width: 50px;
+	text-align: center;
+	background: #4193c5;
+	border-radius: 5px;
+}
+.mainLeft .top  .more a{
+	font-size: 10px;
+	color: #fff;
+}
+#info-list1{
+	margin: 0;
+	padding: 0;
+}
+#info-list1 li{
+	padding: 5px 25px;
+}
+#info-list1 li .hui21{
+	color: #333;
+}
+#info-list1 li:hover .hui21{
+	color: #4193c5;
+}
+#info-list2{
+	margin: 0;
+	padding: 0;
+}
+#info-list2 li{
+	padding: 5px 25px;
+}
+#info-list2 li .hui21{
+	color: #333;
+}
+#info-list2 li:hover .hui21{
+	color: #4193c5;
+}
+.mainRight{
+	float: left;
+	width: 600px;
+	height: 355px;
+}
+</style>
+<script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="scripts/embed_index.js" ></script>
+<script type="text/javascript">
+	$().ready(function(){
+		onloadlst("index","info-list1",10,"","全职","");//版位标示,列表层ID,条数,职位类别,职位性质,单位性质
+		onloadlst("index","info-list2",10,"","实习","");
+	});
+</script>
+</head>
+<body>
+	<div class="style">
+		<div class="w_1200">
+			<div class="mainLeft">
+				<div class="top">
+					<span class="title">
+						最新招聘信息
+					</span>
+					<span class="more">
+						<a href="http://jilinbys.ncss.org.cn/job/index" target="_blank">MORE</a>
+					</span>
+				</div>
+				<div class="mainLeftInfo">
+					<ul id="info-list1"></ul>
+				</div>
+			</div>
+			<div class="mainLeft mainRight">
+				<div class="top">
+					<span class="title">
+						实习信息
+					</span>
+					<span class="more">
+						<a href="http://jilinbys.ncss.org.cn/job/index" target="_blank">MORE</a>
+					</span>
+				</div>
+				<div class="mainRightInfo">
+					<ul id="info-list2"></ul>
+				</div>
+			</div>
+		</div>
+	</div>
+</body>
+</html>
+

+ 178 - 0
public/static/jobs-iframe/scripts/embed.js

@@ -0,0 +1,178 @@
+  
+  //获取登录状态
+    function checkuserstate(){
+		
+		$.getJSON('http://job.ncss.org.cn/getlogstate?callback=?',
+			function(data){
+				if(data.islogin == '1'){					
+					$('#login-userState').attr('style','display:block;');
+					$('#login-main').attr('style','display:none;');					
+					$('#login-userState').html('当前用户:<a href="http://job.ncss.org.cn/home" title="点击进入学生管理首页"><span>'
+					+ data.fullname +'</span></a>&nbsp;&nbsp;毕业院校:<span>'
+					+ data.orgname + '&nbsp;&nbsp;<a id="logout" href="http://job.ncss.org.cn/logout?rul='
+					+ document.location.href
+					+'">[退出]</a>'
+					);
+				} else{
+						$.getJSON('http://job.ncss.org.cn/rec/getlogstate?callback=?',
+							function(data){
+								if(data.islogin == '1'){
+									email = data.email;
+									$('#login-userState').attr('style','display:block;');
+									$('#login-main').attr('style','display:none;');
+									$('#login-userState').html('当前用户:<a href="http://job.ncss.org.cn/rec/home" title="点击进入单位管理首页"><span>'
+									+ data.fullname +'</span></a>&nbsp;&nbsp;单位名称:<span>'
+									+ data.orgname + '&nbsp;&nbsp;<a id="logout" href="http://job.ncss.org.cn/rec/logout?rul='
+									+ document.location.href
+									+'">[退出]</a>'
+									);
+									
+								} else{
+									$('#login-main').attr('style','display:block;');
+									$('#login-userState').attr('style','display:none;');									
+									}
+							});
+					}
+				
+			});
+		 
+    }
+	
+	
+	//获取职位列表,分页
+	function searchjobs(board,viewdivID,psize,pindex,category,jobType,natureCode)
+	{
+		var divID="#"+viewdivID;
+		var pagerObj = $("#pager");
+		//var psize = 3;
+		var pcount ="";
+		var parms = getParams(psize,pindex,category,jobType,natureCode);
+		$.getJSON('http://job.ncss.org.cn/json/searchjobcountp?callback=?',parms,
+			function(data)
+			{
+				pcount = data.pcount;
+				if(pcount==0)
+		        		{
+		          			$(divID).html('没有找到符合条件的记录');
+		          			pagerObj.pagefoot({
+		            			pagesize: psize,
+		            			count: 0,
+		            			css: "pager2",
+		            			paging: null
+		        			});
+		        		}
+		        		else
+		        		{		        								
+							onloadlst(board,viewdivID,psize,pindex,category,jobType,natureCode);							
+		    				pagerObj.pagefoot({
+		            			pagesize: psize,
+								displaynum:5,
+								displaylastNum: 0,								
+		            			count: parseInt(pcount),
+		            			css: "pager2",
+		            			paging: function(page) {onloadlst(board,viewdivID,psize,page,category,jobType,natureCode);}
+		        			});
+		        		}
+				/* if(0<data.pcount)
+				{
+					onloadlst(board,divID,parms);					
+				}
+				*/
+			}
+		);
+	}
+	
+	//解析数据集合
+	function onloadlst(board,viewdivID,psize,pindex,category,jobType,natureCode)
+	{
+		var params = getParams(psize,pindex,category,jobType,natureCode);
+		$.getJSON('http://job.ncss.org.cn/json/searchjobp?callback=?',params,
+				function(data)
+				{	var lists = '';
+					var divElement="#"+viewdivID;
+					var date ;
+					var areaCode;
+					var area="";
+					var recLink,jobLink;
+					//var topFlag="";
+					if(board=="job-zhaopin"){//招聘
+											
+						$.each(data.lst, function()
+						{
+							date = this.postDate.substring(5,10);
+							areaCode = this.areaCode.substring(0,2);
+							$.each(provinceItems, function(){
+								if(this.id==areaCode){area=this.name;} 
+							});
+							jobLink="http://job.ncss.org.cn/job/view_job?jobId="+this.jobId;
+							if(this.fromType==0){
+								recLink="http://job.ncss.org.cn/job/view_rec?recId="+this.recId;
+							}else{recLink=jobLink;}
+							
+							if(this.priority==1){
+								lists += '<tr><td width="52%" class="font5">['
+								+ area
+								+']&nbsp;<a href="'
+								+ recLink
+								+ '" target="_blank">'
+								+ this.recName
+								+ '</a></td><td width="36%" class="font5"><a href="'
+								+ jobLink
+								+ '" target="_blank">'
+								+ this.jobTitle 
+								+ '</a></td><td width="12%" class="font5">'
+								+ date
+								+'</td></tr>';
+							}else{
+								lists += '<tr><td width="52%"><span class="font4">['
+								+ area
+								+']</span>&nbsp;<a href="'
+								+ recLink
+								+ '" target="_blank">'
+								+ '<span class="font2">'
+								+ this.recName
+								+ '</span></a></td><td width="36%" class="font2"><a href="'
+								+ jobLink
+								+ '" target="_blank">'
+								+ this.jobTitle 
+								+ '</a></td><td width="12%" class="date">'
+								+ date
+								+'</td></tr>';
+							}
+							
+						});
+					
+					
+					}
+					if(lists!='')
+						{
+							$(divElement).html(lists).children('tr:even').css({background:'#f8f8f8'});
+						}else
+						{
+							$(divElement).html("页面加载中...");
+						}
+				}
+				
+		);
+	}
+	    	
+	//初始化查询参数
+	function getParams(psize,pindex,category,jobType,natureCode)
+	{
+	   var params = {
+			recName:"",
+			natureCode:natureCode,
+			industryCode:"",
+			recScale:"",
+			jobTitle:"",
+			category:category,
+			jobType:jobType,
+			areaCode:"",
+			degreeCode:"",
+		    dayLimit:"-1",
+			siteId:"",//默认空为全部,00为中心,10001为北京大学
+		    psize: parseInt(psize),//每页条数
+		    pindex: parseInt(pindex),//显示第?页
+			callback:"test"};
+		   return params;
+	}

+ 207 - 0
public/static/jobs-iframe/scripts/embed_index.js

@@ -0,0 +1,207 @@
+  provinceItems = [
+    {id:'11',name:'北京'},
+    {id:'12',name:'天津'},
+    {id:'13',name:'河北'},
+    {id:'14',name:'山西'},
+    {id:'15',name:'内蒙古'},
+    {id:'21',name:'辽宁'},
+    {id:'22',name:'吉林'},
+    {id:'23',name:'黑龙江'},
+    {id:'31',name:'上海'},
+    {id:'32',name:'江苏'},
+    {id:'33',name:'浙江'},
+    {id:'34',name:'安徽'},
+    {id:'35',name:'福建'},
+    {id:'36',name:'江西'},
+    {id:'37',name:'山东'},
+    {id:'41',name:'河南'},
+    {id:'42',name:'湖北'},
+    {id:'43',name:'湖南'},
+    {id:'44',name:'广东'},
+    {id:'45',name:'广西'},
+    {id:'46',name:'海南'},
+    {id:'50',name:'重庆'},
+    {id:'51',name:'四川'},
+    {id:'52',name:'贵州'},
+    {id:'53',name:'云南'},
+    {id:'54',name:'西藏'},
+    {id:'61',name:'陕西'},
+    {id:'62',name:'甘肃'},
+    {id:'63',name:'青海'},
+    {id:'64',name:'宁夏'},
+    {id:'65',name:'新疆'}
+
+    ];
+  //获取登录状态
+    function checkuserstate(){
+		
+		$.getJSON('http://jilinbys.ncss.org.cn/getlogstate?callback=?',
+			function(data){
+				if(data.islogin == '1'){					
+					$('#login-userState').attr('style','display:block;');
+					$('#login-main').attr('style','display:none;');					
+					$('#login-userState').html('当前用户:<a href="http://jilinbys.ncss.org.cn/home" title="点击进入学生管理首页"><span>'
+					+ data.fullname +'</span></a>&nbsp;&nbsp;毕业院校:<span>'
+					+ data.orgname + '&nbsp;&nbsp;<a id="logout" href="http://jilinbys.ncss.org.cn/logout?rul='
+					+ document.location.href
+					+'">[退出]</a>'
+					);
+				} else{
+						$.getJSON('http://jilinbys.ncss.org.cn/rec/getlogstate?callback=?',
+							function(data){
+								if(data.islogin == '1'){
+									email = data.email;
+									$('#login-userState').attr('style','display:block;');
+									$('#login-main').attr('style','display:none;');
+									$('#login-userState').html('当前用户:<a href="http://jilinbys.ncss.org.cn/rec/home" title="点击进入单位管理首页"><span>'
+									+ data.fullname +'</span></a>&nbsp;&nbsp;单位名称:<span>'
+									+ data.orgname + '&nbsp;&nbsp;<a id="logout" href="http://jilinbys.ncss.org.cn/rec/logout?rul='
+									+ document.location.href
+									+'">[退出]</a>'
+									);
+									
+								} else{
+									$('#login-main').attr('style','display:block;');
+									$('#login-userState').attr('style','display:none;');									
+									}
+							});
+					}
+				
+			});
+		 
+    }
+		
+	//解析数据集合,有置顶,无分页,每单位只有一条职位
+	function onloadlst(board,viewdivID,psize,category,jobType,natureCode)
+	{
+		var params = getParams(psize,category,jobType,natureCode);
+		$.getJSON('http://jilinbys.ncss.org.cn/json/general_searchp?callback=?',params,
+				function(data)
+				{	var lists = '';
+					var divElement="#"+viewdivID;
+					var date ;
+					var areaCode;
+					var area="";
+					var topFlag="";
+
+					if(board=="index"){//首页
+						$.each(data.lst, function()
+						{							
+							date = this.postDate.substring(5,10);
+							areaCode = this.areaCode.substring(0,2);							
+							$.each(provinceItems, function(){
+								if(this.id==areaCode){area=this.name;}			 
+							});
+							if(this.priority==1){
+								lists += '<li>['
+								+ area
+								+ ']&nbsp;<a class="hui21" href="http://jilinbys.ncss.org.cn/job/view_job?jobId='
+								+ this.jobId
+								+ '" target="_blank" title="职位名称:'
+								+ this.jobTitle
+								+ '&#10单位行业:' +this.industry+'&#10单位性质:' +this.nature 
+								+'">'
+								+ this.recName
+								+ '</a>('								
+								+ date
+								+')</li>';
+							}else{
+								lists += '<li>['
+								+ area
+								+ ']&nbsp;<a class="hui21" href="http://jilinbys.ncss.org.cn/job/view_job?jobId='
+								+ this.jobId
+								+ '" target="_blank" title="职位名称:'
+								+ this.jobTitle
+								+ '&#10单位行业:' +this.industry+'&#10单位性质:' +this.nature 
+								+'">'
+								+ this.recName
+								+ '</a>('
+								+ date
+								+')</li>';
+							}
+							
+							
+						});	
+						
+					}
+					if(board=="job-index"){//招聘
+						$.each(data.lst, function(i)
+						{							
+							var spaceDiv;
+							date = this.postDate.substring(5,10);
+							areaCode = this.areaCode.substring(0,2);				
+							
+							$.each(provinceItems, function(){
+								if(this.id==areaCode){area=this.name;}			 
+							});
+							
+							if((i+1)%6==0){
+								spaceDiv='<div class="space"></div>';
+							}else{spaceDiv='';}
+							
+							if(this.priority==1){
+								lists += '<li><span class="font5">['
+								+ area
+								+ ']&nbsp;<a href="http://jilinbys.ncss.org.cn/job/view_job?jobId='
+								+ this.jobId
+								+ '" target="_blank" title="'
+								+ this.jobTitle
+								+ '">'
+								+ this.recName
+								+ '</a></span>('								
+								+ date
+								+ ')</li>'
+								+ spaceDiv;
+							}else{
+								lists += '<li><span class="font4">['
+								+ area
+								+ ']</span>&nbsp;<span class="font2"><a href="http://jilinbys.ncss.org.cn/job/view_job?jobId='
+								+ this.jobId
+								+ '" target="_blank" title="'
+								+ this.jobTitle
+								+ '">'
+								+ this.recName
+								+ '</a></span>('								
+								+ date
+								+')</li>'
+								+ spaceDiv;
+							}
+						
+						});	
+						
+				}
+					
+					
+					if(lists!='')
+						{
+							
+							$(divElement).html(lists);
+						}else
+						{
+							$(divElement).html("页面加载中...");
+						}
+				}
+				
+		);
+	}
+	    	
+	//初始化查询参数
+	function getParams(psize,category,jobType,natureCode)
+	{
+	   var params = {
+			recName:"",
+			natureCode:natureCode,
+			industryCode:"",
+			recScale:"",
+			jobTitle:"",
+			category:category,
+			jobType:jobType,
+			areaCode:"",
+			degreeCode:"",
+		    dayLimit:"-1",
+			siteId:"",//默认空为全部,00为中心,10001为北京大学
+		    psize: parseInt(psize),//每页条数
+		    //pindex: parseInt(pindex),//显示第?页
+			callback:"test"};
+		   return params;
+	}

File diff ditekan karena terlalu besar
+ 154 - 0
public/static/jobs-iframe/scripts/jquery-1.4.2.min.js


+ 90 - 0
public/static/jobs-iframe/scripts/jquery.pager.js

@@ -0,0 +1,90 @@
+jQuery.pagefoot =
+{
+    //生成分页脚
+    create: function(_this, s) {
+        var pageCount = 0;
+        pageCount = (s.count / s.pagesize <= 0) ? 1 : (parseInt(s.count / s.pagesize) + ((s.count % s.pagesize > 0) ? 1 : 0));
+        s.current = (s.current > pageCount) ? pageCount : s.current
+        var strPage = "<label>每页" + s.pagesize + "条/总" + s.count + "条</label>";
+        if (s.current <= 1) {
+            strPage += "<span class=\"disabled\">" + s.previous + "</span>";
+        } else {
+            strPage += "<a href=\"" + (s.current - 1) + "\">" + s.previous + "</a>";
+        }
+        var startP = 1;
+        startP = 1
+        var anyMore;
+        anyMore = parseInt(s.displaynum / 2)
+        var endP = (s.current + anyMore) > pageCount ? pageCount : s.current + anyMore;
+
+        var pCount = s.pagesize - s.displaylastNum;
+        if (s.current > s.displaynum) {
+            startP = s.current - anyMore;
+            for (i = 1; i <= s.displaylastNum; i++) {
+                strPage += "<a href=\"" + i + "\">" + i + "</a>";
+            }
+            strPage += "...";
+        }
+        if (s.current + s.displaynum <= pageCount) {
+            endP = s.current + anyMore;
+        } else {
+            endP = pageCount;
+        }
+        for (i = startP; i <= endP; i++) {
+            if (s.current == i) {
+                strPage += "<span class=\"current\">" + i + "</span>";
+            } else {
+                strPage += "<a href=\"./" + i + "\">" + i + "</a>";
+            }
+        }
+        if (s.current + s.displaynum <= pageCount) {
+            strPage += "...";
+            for (i = pageCount - s.displaylastNum + 1; i <= pageCount; i++) {
+                strPage += "<a href=\"" + i + "\">" + i + "</a>";
+            }
+        }
+        if (s.current >= pageCount) {
+            strPage += "<span class=\"disabled\">" + s.next + "</span>";
+        } else {
+            strPage += "<a href=\"" + (s.current + 1) + "\">" + s.next + "</a>";
+        }
+        $(_this).empty().append(strPage).find("a").click(function() {
+            var ln = this.href.lastIndexOf("/");
+            var href = this.href;
+            var page = parseInt(href.substring(ln + 1, href.length));
+            s.current = page;
+            if (!$.pagefoot.paging(page, s.paging))
+                return false;
+
+            $.pagefoot.create(_this, s);
+            return false;
+        });
+        return this;
+    },
+    paging: function(page, callback) {
+        if (callback) {
+            if (callback(page) == false)
+                return false;
+        }
+        return true;
+    }
+}
+
+jQuery.fn.pagefoot = function(opt) {
+    var setting = { pagesize: 10  //每页显示的页码数
+        , count: 0                //数据条数
+        , css: "mj_pagefoot"      //分页脚css样式类
+        , current: 1              //当前页码
+		, displaynum: 5			//中间显示页码数
+		, displaylastNum: 5		//最后显示的页码数
+        , previous: "上一页"      //上一页显示样式
+        , next: "下一页"          //下一页显示样式
+        , paging: null            //分页事件触发时callback函数
+    };
+    opt = opt || {}
+    $.extend(setting, opt);
+    return this.each(function() {
+        $(this).addClass(setting.css);
+        $.pagefoot.create(this, setting);
+    });
+}

+ 29 - 0
public/static/jobs-iframe/scripts/register/register.dialog.css

@@ -0,0 +1,29 @@
+.selectorDialog {width:600px; font-size:12px;padding:.2em;zoom: 1;background-color:#CCC;}
+.selectorDialog .selecting{width:594px;height:26px;padding:2px; border:1px solid #C3C3C3;background-color:#FFF;}
+.selectorDialog .selecting .button{float:right;border:1px solid #C3C3C3;padding:5px 5px 0 5px;margin:0 5px;height:20px;width:30px;text-align:center;}
+.industryDialog-content {background-color:#FFF;border:1px solid #C3C3C3;overflow-x:hidden;clear:both;}
+.industryDialog-content ul {list-style:none;padding: .5em .2em 0;margin:0;}
+.industryDialog-content li {display:block;float:left;line-height:20px;overflow:hidden;width:290px;}
+.industryDialog-content li a {float:left;text-decoration:none; padding:0 1em;}
+
+.natureDialog-content {background-color:#FFF;border:1px solid #C3C3C3;overflow-x:hidden;clear:both; }
+.natureDialog-content ul {list-style:none;padding: .5em .2em 0;margin:0;}
+.natureDialog-content li {display:block;float:left;line-height:20px;overflow:hidden;width:180px;}
+.natureDialog-content li a {float:left;text-decoration:none; padding:0 1em;}
+
+.ProvinceDialog-content {background-color:#FFF;border:1px solid #C3C3C3;overflow-x:hidden;clear:both; }
+.ProvinceDialog-content ul {list-style:none;padding: .5em .2em 0;margin:0;}
+.ProvinceDialog-content li {display:block;float:left;line-height:20px;overflow:hidden;width:110px;}
+.ProvinceDialog-content li a {float:left;text-decoration:none; padding:0 1em;}
+
+.ProvinceDialog-content .button{border:1px solid #C3C3C3;padding:3px;height:22px;width:30px;}
+
+.CategoryDialog-content {background-color:#FFF;border:1px solid #C3C3C3;overflow-x:hidden;clear:both;}
+.CategoryDialog-content ul {list-style:none;padding: .5em .2em 0;margin:0;}
+.CategoryDialog-content li {display:block;float:left;line-height:20px;overflow:hidden;width:190px;}
+.CategoryDialog-content li a {float:left;text-decoration:none; padding:0 .5em;}
+
+.PoliticalDialog-content {background-color:#FFF;border:1px solid #C3C3C3;overflow-x:hidden;clear:both;}
+.PoliticalDialog-content ul {list-style:none;padding: .5em .2em 0;margin:0;}
+.PoliticalDialog-content li {display:block;float:left;line-height:20px;overflow:hidden;width:190px;}
+.PoliticalDialog-content li a {float:left;text-decoration:none; padding:0 .5em;}

+ 162 - 0
public/static/jobs-iframe/scripts/register/register.dialog.js

@@ -0,0 +1,162 @@
+
+(function($) {
+  function Popup(el,id) {
+	this.nameInput = $(el);
+	this.nameInput.attr("readonly", "readonly");
+	this.idInput = this.nameInput.prev();
+    this.InputId = id;
+        
+    this.bindMethodsToObj("show", "hide", "hideIfClickOutside", "selectItem");
+    
+    this.build();
+    //this.selectItem();
+    this.hide();
+  };
+
+  Popup.prototype = {
+	
+    build: function() {
+      //清空按钮
+        this.ClearController = $('<div class="button"><a href="#">清 空</a></div>').click(this.bindToObj(function(event) {
+        this.selectItem("", "");
+        this.hide();
+        return false;
+      })); 
+   
+      this.popupController = $('<div class="selecting"></div>').append(this.ClearController);
+
+	  
+	 
+      //特殊方法针对注册、添加弹出的dialog
+      var list = $('<ul></ul>');
+
+      if(this.InputId=="Nature"){
+    	  $.each(natureItems,function(){
+    		  list.append('<li><a href="#" id="' + this.id +'">'+ this.name +'</a></li>');
+    	  });
+    	  this.popupContent = $('<div></div>').addClass('natureDialog-content');
+      }
+      if(this.InputId=="Industry"){
+    	  $.each(industryItems, function(){
+    		  list.append('<li><a href="#" id="' + this.id +'">'+ this.name +'</a></li>');
+    	  });
+    	  this.popupContent = $('<div></div>').addClass('industryDialog-content');
+      }
+      if(this.InputId=="Province"){
+    	  $.each(provinceItems, function(){
+    		  list.append('<li><a href="#" id="' + this.id +'">'+ this.name +'</a></li>');
+    	  });
+    	  this.popupContent = $('<div></div>').addClass('ProvinceDialog-content');
+      }
+      if(this.InputId=="Category"){
+    	  $.each(jobcategoryItems, function(){
+    		  list.append('<li><a href="#" id="' + this.id +'">'+ this.name +'</a></li>');
+    	  });
+    	  this.popupContent = $('<div></div>').addClass('CategoryDialog-content');
+      }
+     
+      if(this.InputId=="Nation"){
+    	  $.each(nationItems, function(){
+    		  list.append('<li><a href="#" id="' + this.id +'">'+ this.name +'</a></li>');
+    	  });
+    	  this.popupContent = $('<div></div>').addClass('CategoryDialog-content');
+      }
+      if(this.InputId=="Political"){
+    	  $.each(politicalItems, function(){
+    		  list.append('<li><a href="#" id="' + this.id +'">'+ this.name +'</a></li>');
+    	  });
+    	  this.popupContent = $('<div></div>').addClass('PoliticalDialog-content');
+      }
+      
+      list.prependTo(this.popupContent);
+      this.popupPanel = this.rootLayers = $('<div class="selectorDialog"></div>')
+        .css({ display: "none", position: "absolute", zIndex: 900 })
+        .append(this.popupController,this.popupContent)
+        .appendTo(document.body);
+      
+      if ($.browser.msie && $.browser.version < 7) {
+        this.ieframe = $('<iframe class="dialog_iframe" frameborder="0" src="#"></iframe>')
+          .css({ position: "absolute", display: "none", zIndex: 99 })
+          .insertBefore(this.popupPanel);
+        this.rootLayers = this.rootLayers.add(this.ieframe);
+      };
+      
+      $("a", this.popupContent).click(this.bindToObj(function(event) {
+        this.selectItem($(event.target).attr("id"), $(event.target).attr("innerHTML"));
+        this.hide();
+        return false;
+      }));
+
+      //this.nameInput.change(this.bindToObj(function() { this.selectItem(); }));
+    }, 
+    
+    selectItem: function(item, text) {  
+    	this.nameInput.val(text);
+		this.idInput.val(item);
+    },
+    
+    show: function() {
+      this.setPosition();
+      this.rootLayers.css("display", "block");
+      this.nameInput.unbind("focus", this.show);
+      $(document.body).click(this.hideIfClickOutside);
+    },
+    
+    hide: function() {
+      this.rootLayers.css("display", "none");
+      $(document.body).unbind("click", this.hideIfClickOutside);
+      this.nameInput.focus(this.show);
+    },
+    
+    hideIfClickOutside: function(event) {
+      if (event.target != this.nameInput[0] && !this.insideSelector(event)) {
+        this.hide();
+      };
+    }, 
+     
+    setPosition: function() {
+      var offset = this.nameInput.offset();
+      this.rootLayers.css({
+        top: offset.top + this.nameInput.outerHeight(),
+        left: $(window).width()/2 - this.rootLayers.outerWidth()/2
+        //left: offset.left
+      });
+      
+      if (this.ieframe) {
+        this.ieframe.css({
+          width: this.popupPanel.outerWidth(),
+          height: this.popupPanel.outerHeight()
+        });
+      };
+    },  
+     
+    insideSelector: function(event) {
+      var offset = this.popupPanel.offset();
+      offset.right = offset.left + this.popupPanel.outerWidth();
+      offset.bottom = offset.top + this.popupPanel.outerHeight();
+      
+      return event.pageY < offset.bottom &&
+             event.pageY > offset.top &&
+             event.pageX < offset.right &&
+             event.pageX > offset.left;
+    },
+    
+    bindToObj: function(fn) {
+      var self = this;
+      return function() { return fn.apply(self, arguments) };
+    },
+    
+    bindMethodsToObj: function() {
+      for (var i = 0; i < arguments.length; i++) {
+        this[arguments[i]] = this.bindToObj(this[arguments[i]]);
+      };
+    } 
+    
+  };
+
+  $.fn.popup = function(id) {
+    return this.each(function() { 
+      new Popup(this,id); 
+    });
+  };
+})(jQuery);

+ 17 - 0
public/static/jobs-iframe/scripts/validate/.svn/all-wcprops

@@ -0,0 +1,17 @@
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svn/specialteacher/!svn/ver/1713/trunk/web/webapp/scripts/validate
+END
+jquery.validate.js
+K 25
+svn:wc:ra_dav:version-url
+V 86
+/svn/specialteacher/!svn/ver/1712/trunk/web/webapp/scripts/validate/jquery.validate.js
+END
+additional-methods.js
+K 25
+svn:wc:ra_dav:version-url
+V 89
+/svn/specialteacher/!svn/ver/1713/trunk/web/webapp/scripts/validate/additional-methods.js
+END

+ 96 - 0
public/static/jobs-iframe/scripts/validate/.svn/entries

@@ -0,0 +1,96 @@
+10
+
+dir
+1714
+http://202.205.176.118:81/svn/specialteacher/trunk/web/webapp/scripts/validate
+http://202.205.176.118:81/svn/specialteacher
+
+
+
+2010-03-22T09:05:06.291251Z
+1713
+gaisiyuan
+
+
+svn:special svn:externals svn:needs-lock
+
+
+
+
+
+
+
+
+
+
+
+3c6aaa0d-804d-4bb7-aa0a-b9d3de4e89e7
+
+additional-methods.js
+file
+
+
+
+
+2010-03-22T08:40:08.875000Z
+0dc7dbdb12af950016c41b1c8c24124d
+2010-03-22T09:05:06.291251Z
+1713
+gaisiyuan
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+8119
+
+jquery.validate.js
+file
+
+
+
+
+2010-03-19T06:41:22.703000Z
+37ef8bbbca0f04412245af4f88492f5c
+2010-03-22T09:04:23.791251Z
+1712
+gaisiyuan
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+36837
+

+ 5 - 0
public/static/jobs-iframe/scripts/validate/.svn/prop-base/additional-methods.js.svn-base

@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 10
+text/plain
+END

+ 5 - 0
public/static/jobs-iframe/scripts/validate/.svn/prop-base/jquery.validate.js.svn-base

@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 10
+text/plain
+END

File diff ditekan karena terlalu besar
+ 174 - 0
public/static/jobs-iframe/scripts/validate/.svn/text-base/additional-methods.js.svn-base


File diff ditekan karena terlalu besar
+ 1140 - 0
public/static/jobs-iframe/scripts/validate/.svn/text-base/jquery.validate.js.svn-base


File diff ditekan karena terlalu besar
+ 259 - 0
public/static/jobs-iframe/scripts/validate/additional-methods.js


File diff ditekan karena terlalu besar
+ 1146 - 0
public/static/jobs-iframe/scripts/validate/jquery.validate.js


TEMPAT SAMPAH
public/static/jobs-iframe/一站式logo.gif


TEMPAT SAMPAH
public/static/jobs-iframe/一站式logo设计说明CMYK5.gif


TEMPAT SAMPAH
public/static/jobs-iframe/参考LOGO.jpg


+ 2 - 3
src/layout/index/login.vue

@@ -17,11 +17,10 @@
         <el-link :underline="false" target="_blank" href="http://file.ncss.org.cn/ncsFile/ncss/guidebook/rec_guide.pdf">
           <el-image style="width:167px;height:48px;padding: 0 0 0 15px;" :src="shouces"></el-image>
         </el-link>
-        <el-col :span="24">
-          <iframe width="100%" height="360" frameborder="0" src="http://www.jilinjobs.cn:7000/eweb/jygl/zpfw.so?type=wbyy"></iframe>
-        </el-col>
+        <el-col :span="24"> </el-col>
       </el-col>
     </el-row>
+    <iframe width="100%" height="380px" frameborder="0" src="static/jobs-iframe/index.html"></iframe>
   </div>
 </template>