|
@@ -144,12 +144,12 @@ class Talent extends AdminController {
|
|
|
return view("/talent/hospital/new_talentInfo_common_check", ["info" => $info]);
|
|
|
case CommonConst::ENTERPRISE_GJ:
|
|
|
$config = getJsonConfig("../sys_config.json", "gj_special_person");
|
|
|
- if(array_key_exists($info['card_number'],$config)){
|
|
|
+ if (array_key_exists($info['card_number'], $config)) {
|
|
|
$allow_other_place = 1;
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$allow_other_place = 0;
|
|
|
}
|
|
|
- return view("/talent/school/talentInfo_common_check", ["info" => $info,'allow_other_place' => $allow_other_place]);
|
|
|
+ return view("/talent/school/talentInfo_common_check", ["info" => $info, 'allow_other_place' => $allow_other_place]);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1513,7 +1513,7 @@ class Talent extends AdminController {
|
|
|
if (!$talent_info || !$ep) {
|
|
|
return json(["msg" => "数据错误"]);
|
|
|
}
|
|
|
- if ($ep["type"] != $this->user["type"]) {
|
|
|
+ if ($ep["type"] != $this->user["type"] && in_array($checkState, [TalentState::FST_SUBMIT, TalentState::BASE_VERIFY_PASS, TalentState::SCND_SUBMIT, TalentState::DEPT_VERIFY_PASS])) {
|
|
|
return json(["msg" => "不能审核的人才类型"]);
|
|
|
}
|
|
|
if (!$check) {
|
|
@@ -1536,6 +1536,9 @@ class Talent extends AdminController {
|
|
|
return json(["msg" => "你的部门不在并审部门列表"]);
|
|
|
return $this->deptCheck($request, $talent_info, $companys);
|
|
|
} else {
|
|
|
+ if ($ep["type"] != $this->user["type"]) {
|
|
|
+ return json(["msg" => "不能审核的人才类型"]);
|
|
|
+ }
|
|
|
return $this->reCheck($request, $talent_info);
|
|
|
}
|
|
|
} else if ($checkState == TalentState::DEPT_VERIFY_PASS) {
|
|
@@ -1554,7 +1557,7 @@ class Talent extends AdminController {
|
|
|
if (!$talent_info || !$ep) {
|
|
|
return json(["msg" => "数据错误"]);
|
|
|
}
|
|
|
- if ($ep["type"] != $this->user["type"]) {
|
|
|
+ if ($ep["type"] != $this->user["type"] && in_array($checkState, [TalentState::FST_SUBMIT, TalentState::BASE_VERIFY_PASS, TalentState::SCND_SUBMIT, TalentState::DEPT_VERIFY_PASS])) {
|
|
|
return json(["msg" => "不能审核的人才类型"]);
|
|
|
}
|
|
|
if ($checkState == TalentState::FST_SUBMIT) {
|
|
@@ -1571,6 +1574,9 @@ class Talent extends AdminController {
|
|
|
return json(["msg" => "你的部门不在并审部门列表"]);
|
|
|
return $this->deptSubmitCheck($talent_info, $companys);
|
|
|
} else {
|
|
|
+ if ($ep["type"] != $this->user["type"]) {
|
|
|
+ return json(["msg" => "不能审核的人才类型"]);
|
|
|
+ }
|
|
|
return $this->reSubmitCheck($talent_info);
|
|
|
}
|
|
|
} else if ($checkState == TalentState::DEPT_VERIFY_PASS) {
|