|
@@ -0,0 +1,1117 @@
|
|
|
|
+<section class="content">
|
|
|
|
+ <div class="row">
|
|
|
|
+ <div class="col-md-12">
|
|
|
|
+ <div class="box">
|
|
|
|
+ {{ csrf_field() }}
|
|
|
|
+ <div class="box-body table-responsive">
|
|
|
|
+ <div class="col-md-3 clearfix">
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">政治面貌:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="political_affiliation" id="political_affiliation">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '01') selected @endif value="01">中共党员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '02') selected @endif value="02">中共预备党员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '03') selected @endif value="03">共青团员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '04') selected @endif value="04">民革党员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '05') selected @endif value="05">民盟盟员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '06') selected @endif value="06">民建会员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '07') selected @endif value="07">民进会员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '08') selected @endif value="08">农工党党员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '09') selected @endif value="09">致公党党员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '10') selected @endif value="10">九三学社社员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '11') selected @endif value="11">台盟盟员</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '12') selected @endif value="12">无党派人士</option>
|
|
|
|
+ <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '13') selected @endif value="13">群众</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">报名状态:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="audit" id="audit">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option @if(array_key_exists('audit',$search_data) && $search_data['audit'] == '1') selected @endif value='1'>已提交,待审核</option>
|
|
|
|
+ <option @if(array_key_exists('audit',$search_data) && $search_data['audit'] == '2') selected @endif value='2'>审核失败,已退回</option>
|
|
|
|
+ <option @if(array_key_exists('audit',$search_data) && $search_data['audit'] == '3') selected @endif value='3'>审核成功</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">精确查询:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <input type="text" class="form-control" name="realname" id="realname" placeholder="请输入姓名" @if(array_key_exists('realname',$search_data)) value="{{$search_data['realname']}}" @endif>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="col-md-3 clearfix">
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">性别:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="sex" id="sex">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='0' @if(array_key_exists('sex',$search_data) && $search_data['sex'] == '0') selected @endif>女</option>
|
|
|
|
+ <option value='1' @if(array_key_exists('sex',$search_data) && $search_data['sex'] == '1') selected @endif>男</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">学历:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="education" id="education">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='小学' @if(array_key_exists('education',$search_data) && $search_data['education'] == '小学') selected @endif>小学</option>
|
|
|
|
+ <option value='初中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '初中') selected @endif>初中</option>
|
|
|
|
+ <option value='技校' @if(array_key_exists('education',$search_data) && $search_data['education'] == '技校') selected @endif>技校</option>
|
|
|
|
+ <option value='职高' @if(array_key_exists('education',$search_data) && $search_data['education'] == '职高') selected @endif>职高</option>
|
|
|
|
+ <option value='高中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '高中') selected @endif>高中</option>
|
|
|
|
+ <option value='中专' @if(array_key_exists('education',$search_data) && $search_data['education'] == '中专') selected @endif>中专</option>
|
|
|
|
+ <option value='专科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '专科') selected @endif>专科</option>
|
|
|
|
+ <option value='本科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '本科') selected @endif>本科</option>
|
|
|
|
+ <option value='硕士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '硕士') selected @endif>硕士</option>
|
|
|
|
+ <option value='博士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '博士') selected @endif>博士</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">报名岗位:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="post_id" id="post_id">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ @foreach($post as $k => $v)
|
|
|
|
+ <option value='{{$k}}' @if(array_key_exists('post_id',$search_data) && $search_data['post_id'] == $k) selected @endif>{{$v}}</option>
|
|
|
|
+ @endforeach
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="col-md-3 clearfix">
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">打印笔试准考证:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="print_bs" id="print_bs">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='1' @if(array_key_exists('print_bs',$search_data) && $search_data['print_bs'] == '1') selected @endif >是</option>
|
|
|
|
+ <option value='0' @if(array_key_exists('print_bs',$search_data) && $search_data['print_bs'] == '0') selected @endif >否</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">打印上机准考证:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="print_js" id="print_js">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='1' @if(array_key_exists('print_js',$search_data) && $search_data['print_js'] == '1') selected @endif >是</option>
|
|
|
|
+ <option value='0' @if(array_key_exists('print_js',$search_data) && $search_data['print_js'] == '0') selected @endif >否</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">打印面试准考证:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="print_ms" id="print_ms">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='1' @if(array_key_exists('print_ms',$search_data) && $search_data['print_ms'] == '1') selected @endif >是</option>
|
|
|
|
+ <option value='0' @if(array_key_exists('print_ms',$search_data) && $search_data['print_ms'] == '0') selected @endif>否
|
|
|
|
+ </option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="col-md-3 clearfix">
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">笔试结果:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="pen_audit" id="pen_audit">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='-1' @if(array_key_exists('pen_audit',$search_data) && $search_data['pen_audit'] == '-1') selected @endif>未开始</option>
|
|
|
|
+ <option value='1' @if(array_key_exists('pen_audit',$search_data) && $search_data['pen_audit'] == '1') selected @endif>已通过</option>
|
|
|
|
+ <option value='0' @if(array_key_exists('pen_audit',$search_data) && $search_data['pen_audit'] == '0') selected @endif>未通过</option>
|
|
|
|
+ <option value="2" @if(array_key_exists('pen_audit',$search_data) && $search_data['pen_audit'] == '2') selected @endif>缺考</option>
|
|
|
|
+ <option value="3" @if(array_key_exists('pen_audit',$search_data) && $search_data['pen_audit'] == '3') selected @endif>不需要</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive" style="padding:5px;">
|
|
|
|
+ <div class="form-group clearfix" style="margin-bottom:0;">
|
|
|
|
+ <label for="prefix" class="control-label">补登结果:</label>
|
|
|
|
+ <div style="float: left;width: 150px;">
|
|
|
|
+ <select class="form-control" name="political_audit" id="political_audit">
|
|
|
|
+ <option value=''>不限</option>
|
|
|
|
+ <option value='-1' @if(array_key_exists('political_audit',$search_data) && $search_data['political_audit'] == '-1') selected @endif>未补登</option>
|
|
|
|
+ <option value='4' @if(array_key_exists('political_audit',$search_data) && $search_data['political_audit'] == '4') selected @endif>未审核</option>
|
|
|
|
+ <option value='0' @if(array_key_exists('political_audit',$search_data) && $search_data['political_audit'] == '0') selected @endif>未通过</option>
|
|
|
|
+ <option value="1" @if(array_key_exists('political_audit',$search_data) && $search_data['political_audit'] == '1') selected @endif>已通过</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="box-footer">
|
|
|
|
+ <div class="btn-group" style="margin-left: 440px;">
|
|
|
|
+ <button type="button" class="btn btn-info btn-primary js-search" data-type="1"><i class="fa fa-search">搜索</i></button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="box-body table-responsive">
|
|
|
|
+ <div class="col-md-12">
|
|
|
|
+ <div class="box-header with-border">
|
|
|
|
+ <h3 class="box-title">查询结果</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-body table-responsive no-padding">
|
|
|
|
+ <table class="table table-hover">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th height="26" class="admin_list_tit">
|
|
|
|
+ <input type="checkbox" name=" " title="全选/反选" id="chk" />
|
|
|
|
+ </th>
|
|
|
|
+ <th>照片</th>
|
|
|
|
+ <th>基础资料</th>
|
|
|
|
+ <th>邮箱</th>
|
|
|
|
+ <th>电话</th>
|
|
|
|
+ <th>岗位编号</th>
|
|
|
|
+ <th>报考岗位</th>
|
|
|
|
+ <th>报名时间</th>
|
|
|
|
+ <th>记录变更时间</th>
|
|
|
|
+ <th>当前状态</th>
|
|
|
|
+ <th>准考证打印情况</th>
|
|
|
|
+ <th>日志</th>
|
|
|
|
+ <th>操作</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ @if(isset($list) && $list->total())
|
|
|
|
+ @foreach($list as $k=>$v)
|
|
|
|
+ <tr>
|
|
|
|
+ <td>
|
|
|
|
+ <input ls="{{$v->id}}" name="id[]" id="appointinfo_{{$v->id}}" type="checkbox" value="{{$v->id}}" />
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <span class="vtip" title='<img @if($v->avatar) src="{{$v->avatar}}" @else src="/data/upload/resource/no_photo_male.png" @endif>' height=120>
|
|
|
|
+ <img style="width: 30px; height: 30px;" @if($v->avatar) src="{{$v->avatar}}" @else src="/data/upload/resource/no_photo_male.png" @endif></span>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <a target="_blank" href="{{admin_base_path()}}/personal/manager/into2/{{$v->uid}}/{{$v->recruit_id}}">{!! $v->realname !!}</a>
|
|
|
|
+ <span style="color: #0A246A; margin-right: 3px;">{{$v->sex}}</span>
|
|
|
|
+ <span style="color:#be7707; margin-right: 3px;">{{$v->birthday}}</span>
|
|
|
|
+ <span style="color:#0A7CF7; margin-right: 3px;">{{$v->education}}</span>
|
|
|
|
+ <span style="color:#ff2424; margin-right: 3px;">{{$v->nation}}</span>
|
|
|
|
+ <span style="color:#0F73AC; margin-right: 3px;">{{$v->native_place}}</span>
|
|
|
|
+ <span style="color:#ff0000; margin-right: 3px;">{{$v->political_affiliation}}</span>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ {{ $v->email }}
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ {{ $v->mobile }}
|
|
|
|
+ </td>
|
|
|
|
+ <td>{!! $v->code !!}</td>
|
|
|
|
+ <td>{!! $v->name !!}</td>
|
|
|
|
+ <td>{!! $v->created_at !!}</td>
|
|
|
|
+ <td>{!! $v->updated_at !!}</td>
|
|
|
|
+ <td>
|
|
|
|
+ @if(in_array('1',explode(',',$recruit->step)) && $v->current >= 1)
|
|
|
|
+ <p>报名:
|
|
|
|
+ @if($v->audit == 3)
|
|
|
|
+ <span style="color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->audit == 2)
|
|
|
|
+ <span style="color: #f56c6c;">审核失败</span>
|
|
|
|
+ @elseif($v->audit == 1)
|
|
|
|
+ <span style="color: #e6a23c;">审核中</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('3',explode(',',$recruit->step)) && $v->current >= 2)
|
|
|
|
+ <p>笔试:
|
|
|
|
+ @if($v->pen_audit == -2)
|
|
|
|
+ <span style="color: #909399;">未确认</span>
|
|
|
|
+ @elseif($v->pen_audit == -1)
|
|
|
|
+ <span style="color: #f56c6c;">未开始</span>
|
|
|
|
+ @elseif($v->pen_audit == 0)
|
|
|
|
+ <span style="color: #f56c6c;">未通过</span>
|
|
|
|
+ @elseif($v->pen_audit == 1)
|
|
|
|
+ <span style=" color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->pen_audit == 2)
|
|
|
|
+ <span style="color: #909399;">缺考</span>
|
|
|
|
+ @elseif($v->pen_audit == 3)
|
|
|
|
+ <span style="color: #909399;">不需要笔试</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('4',explode(',',$recruit->step)) && $v->current >= 2)
|
|
|
|
+ <p>上机:
|
|
|
|
+ @if($v->computer_audit == -1)
|
|
|
|
+ <span style="color: #909399;">未开始</span>
|
|
|
|
+ @elseif($v->computer_audit == 0)
|
|
|
|
+ <span style="color: #f56c6c;">未通过</span>
|
|
|
|
+ @elseif($v->computer_audit == 1)
|
|
|
|
+ <span style=" color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->computer_audit == 2)
|
|
|
|
+ <span style="color: #909399;">缺考</span>
|
|
|
|
+ @elseif($v->computer_audit == 3)
|
|
|
|
+ <span style="color: #909399;">不需要上机</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('5',explode(',',$recruit->step)) && $v->current >= 2)
|
|
|
|
+ <p>面试:
|
|
|
|
+ @if($v->face_audit == -1)
|
|
|
|
+ <span style="color: #909399;">未开始</span>
|
|
|
|
+ @elseif($v->face_audit == 0)
|
|
|
|
+ <span style="color: #f56c6c;">未通过</span>
|
|
|
|
+ @elseif($v->face_audit == 1)
|
|
|
|
+ <span style=" color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->face_audit == 2)
|
|
|
|
+ <span style="color: #909399;">缺考</span>
|
|
|
|
+ @elseif($v->face_audit == 3)
|
|
|
|
+ <span style="color: #909399;">不需要面试</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('6',explode(',',$recruit->step)) && $v->current >= 2)
|
|
|
|
+ <p>复试:
|
|
|
|
+ @if($v->reexamine_audit == -1)
|
|
|
|
+ <span style="color: #909399;">未开始</span>
|
|
|
|
+ @elseif($v->reexamine_audit == 0)
|
|
|
|
+ <span style="color: #f56c6c;">未通过</span>
|
|
|
|
+ @elseif($v->reexamine_audit == 1)
|
|
|
|
+ <span style=" color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->reexamine_audit == 2)
|
|
|
|
+ <span style="color: #909399;">缺考</span>
|
|
|
|
+ @elseif($v->reexamine_audit == 3)
|
|
|
|
+ <span style="color: #909399;">不需要复试</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('7',explode(',',$recruit->step)) && $v->current >= 3)
|
|
|
|
+ <p>体检:
|
|
|
|
+ @if($v->inspect_audit == -1)
|
|
|
|
+ <span style="color: #909399;">未开始</span>
|
|
|
|
+ @elseif($v->inspect_audit == 0)
|
|
|
|
+ <span style="color: #f56c6c;">未通过</span>
|
|
|
|
+ @elseif($v->inspect_audit == 1)
|
|
|
|
+ <span style=" color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->inspect_audit == 2)
|
|
|
|
+ <span style="color: #909399;">缺检</span>
|
|
|
|
+ @elseif($v->inspect_audit == 3)
|
|
|
|
+ <span style="color: #909399;">不需要体检</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('8',explode(',',$recruit->step)) && $v->current >= 3)
|
|
|
|
+ <p>政审:
|
|
|
|
+ @if($v->political_audit == -1)
|
|
|
|
+ <span style="color: #909399;">未开始</span>
|
|
|
|
+ @elseif($v->political_audit == 0)
|
|
|
|
+ <span style="color: #f56c6c;">未通过</span>
|
|
|
|
+ @elseif($v->political_audit == 1)
|
|
|
|
+ <span style=" color: #67c23a;">通过</span>
|
|
|
|
+ @elseif($v->political_audit == 2)
|
|
|
|
+ <span style="color: #909399;">缺检</span>
|
|
|
|
+ @elseif($v->political_audit == 3)
|
|
|
|
+ <span style="color: #909399;">不需要政审</span>
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ @if(in_array('3',explode(',',$recruit->step)) && $v->current >= 2 && $v->pen_audit != 3)
|
|
|
|
+ <p>笔试准考证:
|
|
|
|
+ @if($v->pen_print)
|
|
|
|
+ <span style=" color: #67c23a;">已打印</span>
|
|
|
|
+ @else
|
|
|
|
+ <span style=" color: #ff2424;">未打印</span><br />
|
|
|
|
+ @endif
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('4',explode(',',$recruit->step)) && $v->current >= 2 && $v->computer_audit != 3)
|
|
|
|
+ <P>上机准考证:
|
|
|
|
+ @if($v->computer_print)
|
|
|
|
+ <span style=" color: #67c23a;">已打印</span>
|
|
|
|
+ @else
|
|
|
|
+ <span style=" color: #ff2424;">未打印</span><br />
|
|
|
|
+ @endif
|
|
|
|
+ </P>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('5',explode(',',$recruit->step)) && $v->current >= 2 & $v->face_audit != 3)
|
|
|
|
+ <P>面试准考证:
|
|
|
|
+ @if($v->face_print)
|
|
|
|
+ <span style=" color: #67c23a;">已打印</span>
|
|
|
|
+ @else
|
|
|
|
+ <span style=" color: #ff2424;">未打印</span><br />
|
|
|
|
+ @endif
|
|
|
|
+ </P>
|
|
|
|
+ @endif
|
|
|
|
+ @if(in_array('6',explode(',',$recruit->step)) && $v->current >= 2 & $v->reexamine_audit != 3)
|
|
|
|
+ <P>复试准考证:
|
|
|
|
+ @if($v->reexamine_print)
|
|
|
|
+ <span style=" color: #67c23a;">已打印</span>
|
|
|
|
+ @else
|
|
|
|
+ <span style=" color: #ff2424;">未打印</span><br />
|
|
|
|
+ @endif
|
|
|
|
+ </P>
|
|
|
|
+ @endif
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <a href="javascript:;" data-url="{{ route('special.show_log') }}" data-param="{{$v->id}}" hidefocus="true" class="ButExamineLog">查看</a>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <button class='btn btn-primary btn-xs business ButCompared' data-param="{{$v->id}}" data-url="{{ route('special.getUserinfo') }}" style="margin-bottom: 10px" >查看报名信息</button>
|
|
|
|
+ <button class='btn btn-primary btn-xs appoint_audit' data-param="{{$v->id}}" style="margin-bottom: 10px">报名审核</button>
|
|
|
|
+ <button class='btn btn-primary btn-xs fetch_word' data-rid="{{$v->recruit_id}}" data-aid="{{$v->id}}" style="margin-bottom: 10px">生成word简历</button>
|
|
|
|
+ @if($recruit->id == 5 || $recruit->id == 16 || $recruit->id == 18)
|
|
|
|
+ <button class='btn btn-primary btn-xs supplement' data-param="{{$v->id}}" style="margin-bottom: 10px">补登材料审核</button>
|
|
|
|
+ @endif
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endforeach
|
|
|
|
+ @else
|
|
|
|
+ <tr>
|
|
|
|
+ <td colspan="10">
|
|
|
|
+ <div class="list_empty_group">
|
|
|
|
+ <div class="list_empty">
|
|
|
|
+ <div class="list_empty_left"></div>
|
|
|
|
+ <div class="list_empty_right">
|
|
|
|
+ <div class="sorry_box">对不起,暂无相关信息!</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="clear"></div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endif
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="list_foot" style="margin-top: 20px">
|
|
|
|
+ <table width="100%" border="0" cellspacing="10" cellpadding="0" class="admin_list_btm">
|
|
|
|
+ <tr>
|
|
|
|
+ <td>
|
|
|
|
+
|
|
|
|
+ <input name="ButtonADD" type="button" class="btn btn-sm btn-warning" recruit_id="{{$recruit->id}}" id="ButtonAudit" value="批量报名审核" />
|
|
|
|
+ {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="employ()" recruit_id="{{$recruit->id}}" value="入职聘用" />--}}
|
|
|
|
+ <input name="ButDel" type="button" class="btn btn-sm btn-info" onclick="record()" value="上传成绩" />
|
|
|
|
+
|
|
|
|
+ <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="card()" value="准考证生成" />
|
|
|
|
+ {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="delcard()" value="准考证撤销" />--}}
|
|
|
|
+ {{-- @if(Encore\Admin\Facades\Admin::user()->can('auth_recruit_outexcel'))--}}
|
|
|
|
+ {{-- <a href="{{route('recruit.out_zip',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">--}}
|
|
|
|
+ {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" recruit_id="{{$recruit->id}}" value="导出word版简历(压缩包)" />--}}
|
|
|
|
+ {{-- </a>--}}
|
|
|
|
+ <a href="{{route('recruit.out_excel',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
|
|
|
|
+ <input id="out_excel" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="汇总表" />
|
|
|
|
+ </a>
|
|
|
|
+ <a href="{{route('recruit.seat_sticker',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
|
|
|
|
+ <input id="seat_sticker" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="座位贴" />
|
|
|
|
+ </a>
|
|
|
|
+ <a href="{{route('recruit.sign_table',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
|
|
|
|
+ <input id="seat_sticker" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="签到表" />
|
|
|
|
+ </a>
|
|
|
|
+ {{-- @endif--}}
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ @if(isset($list))
|
|
|
|
+ {{ $list->appends($search_data)->links('module.widgets.pagination') }}
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</section>
|
|
|
|
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.disappear.tooltip.js') }}"></script>
|
|
|
|
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.userselectlayer.js') }}"></script>
|
|
|
|
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.user.city.js') }}"></script>
|
|
|
|
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.dialog.js') }}"></script>
|
|
|
|
+<script>
|
|
|
|
+ //图片预览
|
|
|
|
+ this.vtip = function() {
|
|
|
|
+ this.xOffset = -10; // x distance from mouse
|
|
|
|
+ this.yOffset = 15; // y distance from mouse
|
|
|
|
+ $(".vtip").unbind().hover(
|
|
|
|
+ function(e) {
|
|
|
|
+ this.t = $(this).attr("title");
|
|
|
|
+ this.title = '';
|
|
|
|
+ this.top = (e.pageY + yOffset);
|
|
|
|
+ this.left = (e.pageX + xOffset);
|
|
|
|
+ $('body').css("cursor","help");
|
|
|
|
+ $('p#vtip').width()>450?$('p#vtip').width(450):'';
|
|
|
|
+ $('body').append( '<p id="vtip">' + this.t + '</p>' );
|
|
|
|
+ $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn(0);
|
|
|
|
+ },
|
|
|
|
+ function() {
|
|
|
|
+ this.title = this.t;
|
|
|
|
+ $('body').css("cursor","");
|
|
|
|
+ $("p#vtip").fadeOut("slow").remove();
|
|
|
|
+ }
|
|
|
|
+ ).mousemove(
|
|
|
|
+ function(e) {
|
|
|
|
+ this.top = (e.pageY + yOffset);
|
|
|
|
+ this.left = (e.pageX + xOffset);
|
|
|
|
+ $("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
|
|
|
|
+ }
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ };
|
|
|
|
+ //提交数组整理
|
|
|
|
+ this.show = function(type = 0){
|
|
|
|
+ var id_array = new Array();
|
|
|
|
+ if(type == 0){
|
|
|
|
+ $('input[name="id\[\]"]:checked').each(function() {
|
|
|
|
+ id_array.push($(this).val()); //向数组中添加元素
|
|
|
|
+ });
|
|
|
|
+ }else{
|
|
|
|
+ id_array.push($("#appointinfo_"+type).val());
|
|
|
|
+ }
|
|
|
|
+ if (id_array.length == 0) {
|
|
|
|
+ disapperTooltip('remind', '请选择用户');
|
|
|
|
+ return false;
|
|
|
|
+ } else {
|
|
|
|
+ var idstr = id_array.join(','); //将数组元素连接起来以构建一个字符串
|
|
|
|
+ if (idstr == '' || idstr == null) {
|
|
|
|
+ idstr = 0;
|
|
|
|
+ }
|
|
|
|
+ return idstr;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ //报名记录审核
|
|
|
|
+ this.appointAudit = function(type = 0){
|
|
|
|
+ var ids = show(type);
|
|
|
|
+ if(!ids){
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ids !== false) {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '报名审核',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ $.post("{{ route('special.appoint_audit') }}", $('#J_interviewWrap').serialize(), function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ disapperTooltip('success', result.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', result.msg);
|
|
|
|
+ }
|
|
|
|
+ }, 'json');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ var recruit_id = $(this).attr('recruit_id');
|
|
|
|
+ $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/special/ajax_audit", {
|
|
|
|
+ recruit_id: recruit_id,
|
|
|
|
+ ids: ids
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ //材料补登
|
|
|
|
+ this.supplement = function(type = 0){
|
|
|
|
+ var ids = show(type);
|
|
|
|
+ if(!ids){
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ids !== false) {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '材料补登审核',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ $.post("{{ route('recruit.supplement') }}", $('#J_interviewWrap').serialize(), function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ disapperTooltip('success', result.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', result.msg);
|
|
|
|
+ }
|
|
|
|
+ }, 'json');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ var recruit_id = $(this).attr('recruit_id');
|
|
|
|
+ $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_supplement", {
|
|
|
|
+ recruit_id: recruit_id,
|
|
|
|
+ ids: ids
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ $(document).ready(function() {
|
|
|
|
+ vtip();
|
|
|
|
+ $(document).off("click",'.appoint_audit').on('click','.appoint_audit',function () {
|
|
|
|
+ appointAudit($(this).data('param'));
|
|
|
|
+ });
|
|
|
|
+ $(document).off("click",'.supplement').on('click','.supplement',function () {
|
|
|
|
+ supplement($(this).data('param'));
|
|
|
|
+ });
|
|
|
|
+ $(document).off("click",'.fetch_word').on('click','.fetch_word',function () {
|
|
|
|
+ var recruit_id = $(this).attr('data-rid'),appoint_id = $(this).attr('data-aid');
|
|
|
|
+
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: 'word简历生成',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ $.post("{{ route('recruit.fetchword') }}", {_token:'{{ csrf_token() }}',recruit_id:recruit_id,appoint_id:appoint_id}, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ disapperTooltip('success', result.msg);
|
|
|
|
+ window.location.href = result.url;
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', result.msg);
|
|
|
|
+ }
|
|
|
|
+ }, 'json');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ qsDialog.setContent("重新生成会覆盖原有简历,请确认?");
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ });
|
|
|
|
+ $("#ButtonAudit").click(function() {
|
|
|
|
+ appointAudit(0)
|
|
|
|
+ })
|
|
|
|
+ /*查看人员信息*/
|
|
|
|
+ $('.ButCompared').click(function() {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '查看报名信息',
|
|
|
|
+ loading: true,
|
|
|
|
+ footer: false
|
|
|
|
+ });
|
|
|
|
+ var param = $(this).data('param');
|
|
|
|
+ var url = $(this).data('url') + "?id=" + param;
|
|
|
|
+ $.getJSON(url, function(result) {
|
|
|
|
+ qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ //导出word简历压缩包
|
|
|
|
+ $("#out_zip").click(function() {
|
|
|
|
+ var id = show();
|
|
|
|
+ if(!id){
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ $(this).val("数据生成中。。。")
|
|
|
|
+ $.ajax({
|
|
|
|
+ url: "{{ route('recruit.out_zip') }}",
|
|
|
|
+ type: 'POST',
|
|
|
|
+ dataType: 'json',
|
|
|
|
+ data: {
|
|
|
|
+ id: id,
|
|
|
|
+ recruit_id: "{{$recruit->id}}"
|
|
|
|
+ },
|
|
|
|
+ error: function(data) {
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ success: function(res) {
|
|
|
|
+ $(this).val("导出word版简历(压缩包)")
|
|
|
|
+ if (res.status == 1) {
|
|
|
|
+ window.open(res.msg);
|
|
|
|
+ } else {
|
|
|
|
+ alert(res.msg);
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ /*查看日志信息*/
|
|
|
|
+ $('.ButExamineLog').click(function() {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '查看审核信息',
|
|
|
|
+ loading: true,
|
|
|
|
+ footer: false
|
|
|
|
+ });
|
|
|
|
+ var param = $(this).data('param');
|
|
|
|
+ var url = $(this).data('url') + "?id=" + param;
|
|
|
|
+ $.getJSON(url, function(result) {
|
|
|
|
+ qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ $('.js-search').click(function() {
|
|
|
|
+ var political_affiliation = $.trim($('#political_affiliation').val());
|
|
|
|
+ var audit = $.trim($('#audit').val());
|
|
|
|
+ var realname = $.trim($('#realname').val());
|
|
|
|
+ var print_ms = $.trim($('#print_ms').val());
|
|
|
|
+ var print_bs = $.trim($('#print_bs').val());
|
|
|
|
+ var pen_audit = $.trim($('#pen_audit').val());
|
|
|
|
+ var computer_audit = $.trim($('#computer_audit').val());
|
|
|
|
+ var face_audit = $.trim($('#face_audit').val());
|
|
|
|
+ var reexamine_audit = $.trim($('#reexamine_audit').val());
|
|
|
|
+ var inspect_audit = $.trim($('#inspect_audit').val());
|
|
|
|
+ var print_js = $.trim($('#print_js').val());
|
|
|
|
+ var review_audit = $.trim($('#review_audit').val());
|
|
|
|
+ var political_audit = $.trim($('#political_audit').val());
|
|
|
|
+ var sex = $.trim($("#sex").val());
|
|
|
|
+ var education = $.trim($("#education").val());
|
|
|
|
+ var post_id = $.trim($("#post_id").val());
|
|
|
|
+ var parm = '';
|
|
|
|
+ if (political_audit) {
|
|
|
|
+ parm += "&political_audit=" + political_audit;
|
|
|
|
+ }
|
|
|
|
+ if (review_audit) {
|
|
|
|
+ parm += "&review_audit=" + review_audit;
|
|
|
|
+ }
|
|
|
|
+ if (political_affiliation) {
|
|
|
|
+ parm += "&political_affiliation=" + political_affiliation;
|
|
|
|
+ }
|
|
|
|
+ if (audit) {
|
|
|
|
+ parm += "&audit=" + audit;
|
|
|
|
+ }
|
|
|
|
+ if (realname) {
|
|
|
|
+ parm += "&realname=" + realname;
|
|
|
|
+ }
|
|
|
|
+ if (print_ms) {
|
|
|
|
+ parm += "&print_ms=" + print_ms;
|
|
|
|
+ }
|
|
|
|
+ if (print_bs) {
|
|
|
|
+ parm += "&print_bs=" + print_bs;
|
|
|
|
+ }
|
|
|
|
+ if (pen_audit) {
|
|
|
|
+ parm += "&pen_audit=" + pen_audit;
|
|
|
|
+ }
|
|
|
|
+ if (face_audit) {
|
|
|
|
+ parm += "&face_audit=" + face_audit;
|
|
|
|
+ }
|
|
|
|
+ if (computer_audit) {
|
|
|
|
+ parm += "&computer_audit=" + computer_audit;
|
|
|
|
+ }
|
|
|
|
+ if (reexamine_audit) {
|
|
|
|
+ parm += "&reexamine_audit=" + reexamine_audit;
|
|
|
|
+ }
|
|
|
|
+ if (inspect_audit) {
|
|
|
|
+ parm += "&inspect_audit=" + inspect_audit;
|
|
|
|
+ }
|
|
|
|
+ if (print_js) {
|
|
|
|
+ parm += "&print_js=" + print_js;
|
|
|
|
+ }
|
|
|
|
+ if(sex){
|
|
|
|
+ parm += "&sex=" + sex;
|
|
|
|
+ }
|
|
|
|
+ if(education){
|
|
|
|
+ parm += "&education=" + education;
|
|
|
|
+ }
|
|
|
|
+ if(post_id){
|
|
|
|
+ parm += "&post_id=" + post_id;
|
|
|
|
+ }
|
|
|
|
+ window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/special/appoint_list')}}?id={{$search_data['id']}}" + parm;
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ //入职聘用
|
|
|
|
+ function employ() {
|
|
|
|
+ var ids = show();
|
|
|
|
+ if (ids !== false) {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '请选择',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ // console.log($('#J_interviewWrap').serialize());
|
|
|
|
+ $.post("recruit.employ", $('#J_interviewWrap').serialize(), function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ disapperTooltip('success', result.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', result.msg);
|
|
|
|
+ }
|
|
|
|
+ }, 'json');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ var recruit_id = "{{$recruit->id}}";
|
|
|
|
+ $.getJSON("recruit.employ_audit", {
|
|
|
|
+ recruit_id: recruit_id,
|
|
|
|
+ ids: ids
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //其它审核
|
|
|
|
+ function butpen(i) {
|
|
|
|
+ var ids = show();
|
|
|
|
+ if (ids !== false) {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '请选择',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ $.post("recruit.other_auth", $('#J_interviewWrap').serialize(), function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ disapperTooltip('success', result.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', result.msg);
|
|
|
|
+ }
|
|
|
|
+ }, 'json');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ var recruit_id = "{{$recruit->id}}";
|
|
|
|
+ if (i == 'pay_audit') {
|
|
|
|
+ $.getJSON("recruit.pay_audit", {
|
|
|
|
+ recruit_id: recruit_id,
|
|
|
|
+ ids: ids,
|
|
|
|
+ type: i
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ } else {
|
|
|
|
+ $.getJSON("recruit.ajax_other_audit", {
|
|
|
|
+ recruit_id: recruit_id,
|
|
|
|
+ ids: ids,
|
|
|
|
+ type: i
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //准考证生成
|
|
|
|
+ function card() {
|
|
|
|
+ var recruit_id = "{{$recruit->id}}";
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '请选择',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ var data = new FormData(document.getElementById("J_ticketWrap"));
|
|
|
|
+ console.log(data)
|
|
|
|
+ $.ajax({
|
|
|
|
+ url: "{{ route('recruit.create_ticket') }}",
|
|
|
|
+ type: 'POST',
|
|
|
|
+ data: data,
|
|
|
|
+ processData: false,
|
|
|
|
+ contentType : false,
|
|
|
|
+ success: function(response){
|
|
|
|
+ if (response.status == 1) {
|
|
|
|
+ disapperTooltip('success', response.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', response.msg);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ $.getJSON("ajax/ajax_ticket", {
|
|
|
|
+ recruit_id: recruit_id
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //成绩更新
|
|
|
|
+ function record() {
|
|
|
|
+ var recruit_id = "{{$recruit->id}}";
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '请选择',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ var data = new FormData(document.getElementById("J_recordWrap"));
|
|
|
|
+ $.ajax({
|
|
|
|
+ url: "{{ route('recruit.update_record') }}",
|
|
|
|
+ type: 'POST',
|
|
|
|
+ data: data,
|
|
|
|
+ processData: false,
|
|
|
|
+ contentType : false,
|
|
|
|
+ success: function(response){
|
|
|
|
+ if (response.status == 1) {
|
|
|
|
+ disapperTooltip('success', response.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', response.msg);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ $.getJSON("ajax/ajax_record", {
|
|
|
|
+ recruit_id: recruit_id
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //提交准考证
|
|
|
|
+ $("#build").click(function() {
|
|
|
|
+
|
|
|
|
+ $("form[name=form1]").attr("action", "{:U('buildcard')}" + "&recruit_id=" + recruit_ids +
|
|
|
|
+ "&time=" + time + "&audits=" + audits + "×=" + times + "&home=" + home + "&address=" + address + "&expand=" + expand);
|
|
|
|
+ $("form[name=form1]").submit();
|
|
|
|
+ });
|
|
|
|
+ //撤销准考证
|
|
|
|
+ $("#del_ticket").click(function() {
|
|
|
|
+ var ticket_id = $("input[name='ticket_id']:checked").val();
|
|
|
|
+ var r_id = $("input[name='r_id']").val();
|
|
|
|
+ $("form[name=form1]").attr("action", "{:U('delcard')}" + "&ticket_id=" + ticket_id + "&r_id=" + r_id);
|
|
|
|
+ $("form[name=form1]").submit();
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ //撤销准考证
|
|
|
|
+ function delcard() {
|
|
|
|
+ var ids = show();
|
|
|
|
+ var recruit_id = "{{$recruit->id}}";
|
|
|
|
+ if (ids !== false) {
|
|
|
|
+ var qsDialog = $(this).dialog({
|
|
|
|
+ title: '请选择',
|
|
|
|
+ loading: true,
|
|
|
|
+ showFooter: false,
|
|
|
|
+ yes: function() {
|
|
|
|
+ $('.J_btnyes').val('发送中...');
|
|
|
|
+ var ticket_id = $("input[name='ticket_id']:checked").val();
|
|
|
|
+ data = {
|
|
|
|
+ 'ids': ids,
|
|
|
|
+ 'recruit_id': recruit_id,
|
|
|
|
+ 'ticket_id': ticket_id,
|
|
|
|
+ };
|
|
|
|
+ $.post("recruit.ticket_del", data, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ disapperTooltip('success', result.msg);
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ $.pjax.reload('#pjax-container');
|
|
|
|
+ qsDialog.hide(true);
|
|
|
|
+ }, 2000);
|
|
|
|
+ } else {
|
|
|
|
+ $('.J_btnyes').val('确定');
|
|
|
|
+ disapperTooltip('remind', result.msg);
|
|
|
|
+ }
|
|
|
|
+ }, 'json');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ qsDialog.setCloseDialog(false);
|
|
|
|
+ $.getJSON("recruit.ajax_ticket_del", {
|
|
|
|
+ recruit_id: recruit_id,
|
|
|
|
+ ids: ids,
|
|
|
|
+ }, function(result) {
|
|
|
|
+ if (result.status == 1) {
|
|
|
|
+ // console.log(result.data);
|
|
|
|
+ qsDialog.setContent(result.data);
|
|
|
|
+ qsDialog.showFooter(true);
|
|
|
|
+ } else {
|
|
|
|
+ qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /*全选*/
|
|
|
|
+ $("#chk").click(function() {
|
|
|
|
+ if (this.checked == false) {
|
|
|
|
+ // console.log("反选")
|
|
|
|
+ $("td :checkbox").prop("checked", false);
|
|
|
|
+ }
|
|
|
|
+ if (this.checked == true) {
|
|
|
|
+ // console.log("全选")
|
|
|
|
+ $("td :checkbox").prop("checked", true);
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ //子复选框有一个未选中时,去掉全选按钮的选中状态
|
|
|
|
+ $("td :checkbox").click(function() {
|
|
|
|
+ var allCheckNum = $("td input[type='checkbox']").length;
|
|
|
|
+ var checkedNum = $("td input[type='checkbox']:checked").length;
|
|
|
|
+ if (checkedNum == allCheckNum) {
|
|
|
|
+ // console.log("全选");
|
|
|
|
+ document.getElementById("chk").checked = true;
|
|
|
|
+ } else {
|
|
|
|
+ // console.log("反选");
|
|
|
|
+ document.getElementById("chk").checked = false;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+</script>
|
|
|
|
+<link href="{{ theme_asset('app/css/person/common.css') }}" rel="stylesheet">
|
|
|
|
+<style type="text/css">
|
|
|
|
+ p#vtip { display: none; position: absolute; padding: 10px; left: 5px; font-size: 0.8em; background-color: white; border: 1px solid #a6c9e2; -moz-border-radius: 5px; -webkit-border-radius: 5px; z-index: 9999 }
|
|
|
|
+ p#vtip img{width: 200px}
|
|
|
|
+ /*body{min-width: 1680px;overflow: auto;}*/
|
|
|
|
+ .clearfix:after {
|
|
|
|
+ display: block;
|
|
|
|
+ clear: both;
|
|
|
|
+ content: "";
|
|
|
|
+ visibility: hidden;
|
|
|
|
+ height: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .clearfix {
|
|
|
|
+ zoom: 1;
|
|
|
|
+ /*为了兼容IE*/
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .box .box-body {
|
|
|
|
+ position: relative;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .box .form-group label {
|
|
|
|
+ float: left;
|
|
|
|
+ width: 120px;
|
|
|
|
+ line-height: 34px;
|
|
|
|
+ text-align: right;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .box .input-group {
|
|
|
|
+ width: 360px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .list_empty_group {
|
|
|
|
+ text-align: center;
|
|
|
|
+ line-height: 80px;
|
|
|
|
+ color: #404446;
|
|
|
|
+ font-size: 22px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .jobslist_table .li-table-btn {
|
|
|
|
+ width: 120px;
|
|
|
|
+ height: 50px;
|
|
|
|
+ line-height: 50px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .modal {
|
|
|
|
+ display: block;
|
|
|
|
+ position: static;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .qs-category-unlimited .selected-group .selected-box .s-cell {
|
|
|
|
+ width: 112px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .qs-category-unlimited .cate-type .dd {
|
|
|
|
+ margin: 0px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .qs-category-unlimited .cate-type .one-select label {
|
|
|
|
+ display: block;
|
|
|
|
+ margin: 0px;
|
|
|
|
+ width: 110px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .qs-category-unlimited .cate-type .one-select .check-box {
|
|
|
|
+ margin: 0px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .modal_body_box .list_nav1 li label {
|
|
|
|
+ margin-bottom: 0px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .disappear_tooltip .content {
|
|
|
|
+ min-height: auto;
|
|
|
|
+ padding: 0px;
|
|
|
|
+ padding-left: 10px;
|
|
|
|
+ padding-right: 10px;
|
|
|
|
+ }
|
|
|
|
+</style>
|