|
@@ -941,6 +941,8 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
if(!empty($post_info['limit']) && json_decode($post_info['limit'])){
|
|
|
//岗位限制条件的判断
|
|
|
$post_limit = json_decode($post_info['limit'],true);
|
|
@@ -1012,6 +1014,13 @@ class IndexController extends WebBaseController
|
|
|
array_push($family,$item);
|
|
|
}
|
|
|
}
|
|
|
+ $forms = explode(',', $recruit['forms']);
|
|
|
+ if(in_array('expand_special',$forms)){
|
|
|
+ $special = $request->input('special');
|
|
|
+ if($special['point_apply'] && $special['condition'] == ''){
|
|
|
+ return response()->json(['status' => 0,'msg' => '加分条件不能为空']);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
$data['family'] = json_encode($family);
|
|
|
if($appoint_info){
|
|
@@ -1020,7 +1029,7 @@ class IndexController extends WebBaseController
|
|
|
try{
|
|
|
RecruitAppointInfo::where('uid',$uid)->where('recruit_id',$recruit_id)->update($data);
|
|
|
//分模块解析数据
|
|
|
- $forms = explode(',', $recruit['forms']);
|
|
|
+
|
|
|
//如果有加分模块
|
|
|
if(in_array('expand_special',$forms)){
|
|
|
$special = $request->input('special');
|