{#include file="sys/admin_header.htm"#}
<script type="text/javascript" src="js/jquery.userinfotip-min.js"></script>
<script>
$(document).ready(function() {
	// 表格操作下拉
	$(".letter_dorp_link").on("click",function(e){
		var thisMain = $(this).parent().find($(".letter_drop_main"));
		thisMain.toggle();
		$(document).one("click",function(){
			thisMain.hide();
		});
		e.stopPropagation();
	})
	$(".letter_drop_main").on("click",function(e){
		e.stopPropagation();
	});
});
</script>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
  <div class="clear"></div>
</div>
<div class="hunter_tui_box">
	<div class="hunter_tui_top">
		<div class="tui_job_type clearfix">
			<div class="t_jobs_name">
				<span class="type_s">招聘企业：</span>
				<span class="type_n">{#$recommend_show.companyname#}</span>
				<span class="type_s">职位信息：</span>
				<span class="type_n">{#$recommend_show.jobs_name#}</span>
				{#if $recommend_show.reward#}
				<span class="jobs_level rank3" title="赏金职位">赏</span>
				<span class="shang_money">入职赏金：<em>{#$recommend_show.reward#}</em>&nbsp;元</span>
				{#/if#}
			</div>
			<a href="?act=jobs" class="tui_back">职位列表</a>
		</div>
		<div class="tui_jobs_detail clearfix">
			<div class="t_jobs_info">职位年薪：{#$recommend_show.wage_min#}-{#$recommend_show.wage_max#}万</div>
			<div class="t_jobs_info">工作地点：{#$recommend_show.district_cn#}</div>
			<div class="t_jobs_info">所属部门：{#$recommend_show.department#}</div>
			<div class="t_jobs_info">汇报对象：{#$recommend_show.reporter#}</div>
			<div class="t_jobs_info">年龄要求：{#$recommend_show.age_min#}岁至{#$recommend_show.age_max#}岁</div>
			<div class="t_jobs_info">性别要求：{#$recommend_show.sex_cn#}</div>
			<div class="t_jobs_info">工作年限：{#$recommend_show.experience_cn#}</div>
			<div class="t_jobs_info">语言要求：{#$recommend_show.language_cn#}</div>
			<div class="t_jobs_info">学历要求：{#$recommend_show.education_cn#}</div>
			<div class="t_jobs_info">是否统招：{#if $recommend_show.uec==1#}统招{#else#}不限制{#/if#}</div>
			<div class="t_jobs_info">专业要求：{#$recommend_show.major#}</div>
			<div class="t_jobs_info">发布时间：{#$recommend_show.addtime|date:"Y-m-d"#}</div>
		</div>
	</div>
</div>
  <form id="form1" name="form1" method="post" action="?act=jobs_perform">
  {#$inputtoken#}
  <table width="100%" border="0" cellpadding="0" cellspacing="0" id="list" class="link_lan">
    <tr>
      <td class="admin_list_tit admin_list_first">简历编号</td>
      <td align="center" class="admin_list_tit">姓名</td>
      <td align="center"  class="admin_list_tit">性别</td>
	  <td align="center"  class="admin_list_tit">年龄</td>
	  <td align="center"  class="admin_list_tit">学历</td>
      <td align="center"  class="admin_list_tit">工作经验</td>
      <td align="center"  class="admin_list_tit">所在地区</td>
	  <td align="center"  class="admin_list_tit">推荐人</td>      
      <td align="center"  class="admin_list_tit">推荐状态</td>
      <td align="center"  class="admin_list_tit">推荐日期</td>  
      <td align="center"  class="admin_list_tit">推荐进度确认</td>
    </tr>
	{#foreach from=$recommend_show.recommend_list item=list#}
      <tr>
      	<td class="admin_list admin_list_first">JL{#$list.id#}</td>
	    <td class="admin_list" align="center">{#$list.fullname#}</td>
		<td class="admin_list" align="center">{#$list.sex_cn#}</td>
		<td class="admin_list" align="center">{#$list.age#}</td>
		<td class="admin_list" align="center">{#$list.education_cn#}</td>
		<td class="admin_list" align="center">{#$list.experience_cn#}</td>
		<td class="admin_list" align="center">{#$list.district_cn#}</td>
		<td class="admin_list" align="center">{#$list.hunter_name#}</td>
		<td class="admin_list" align="center">{#if $list.recommend_state==0#}未处理{#elseif $list.recommend_state==1#}已邀请面试{#elseif $list.recommend_state==2#}已入职{#else#}已拒绝{#/if#}</td>
		<td class="admin_list" align="center">{#$list.recommend_addtime|date:"Y-m-d"#}</td>
		<td align="center" style="border-bottom: 1px solid #cae0f4;">
			<div class="letter_drop">
        		<span class="letter_dorp_link">操作</span>
        		<div class="letter_drop_main">
        			<ul>
        				{#if $list.recommend_state!=2 && $list.recommend_state!=3#}
        				<li><a href="?act=recommend_agree&did={#$list.did#}&state=1&company_id={#$recommend_show.company_id#}">已邀请</a></li>
        				<li><a href="?act=recommend_agree&did={#$list.did#}&state=2&company_id={#$recommend_show.company_id#}">已入职</a></li>
        				<li><a href="?act=recommend_agree&did={#$list.did#}&state=3&company_id={#$recommend_show.company_id#}">已拒绝</a></li>
						{#else#}
						<li><a href="javascript:void(0)" style="color:#666">已邀请</a></li>
        				<li><a href="javascript:void(0)" style="color:#666">已入职</a></li>
        				<li><a href="javascript:void(0)" style="color:#666">已拒绝</a></li>
        				{#/if#}
        			</ul>
        		</div>
        	</div>
		</td>
      </tr>
      {#/foreach#}   
  </table>
  </form>
	{#if !$recommend_show.recommend_list#}
	<div class="admin_list_no_info">没有任何信息！</div>
	{#/if#}
	<div class="page link_bk">{#$page#}</div>    
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>