|
@@ -1481,7 +1481,7 @@ class Talent extends AdminController {
|
|
|
$enterprise = \app\common\model\Enterprise::findOrEmpty($talent_info["enterprise_id"]);
|
|
|
if ($talent_info) {
|
|
|
$checkState = $talent_info["checkState"];
|
|
|
- if (!$process || ($process == 3 && $checkState != TalentState::SCND_SUBMIT) || ($process == 4 && $checkState != TalentState::FST_VERIFY_PASS) || ($process == 5 && $checkState != TalentState::DEPT_VERIFY_PASS) || ($process == 5 && $checkState != TalentState::FST_VERIFY_PASS)) {
|
|
|
+ if (!$process || ($process == 3 && $checkState != TalentState::SCND_SUBMIT) || ($process == 4 && $checkState != TalentState::FST_VERIFY_PASS) || ($process == 5 && !in_array($checkState, [TalentState::DEPT_VERIFY_PASS, TalentState::FST_VERIFY_PASS]))) {
|
|
|
return json(["msg" => "该申报不在审核范围内,无法审核"]);
|
|
|
}
|
|
|
$process = 0;
|