|
@@ -1806,7 +1806,7 @@ class Talent extends AdminController {
|
|
|
$talentInfo = VerifyApi::getOne($id);
|
|
|
$lastLog = TalentLogApi::getLastLog($id, ProjectState::TALENT);
|
|
|
$responseObj = new \stdClass();
|
|
|
- if ($talentInfo["checkState"] == TalentState::SCND_SAVE && $lastLog["state"] == TalentState::FST_VERIFY_REJECT) {
|
|
|
+ if (($talentInfo["checkState"] == TalentState::SCND_SAVE || $talentInfo["checkState"] == TalentState::FST_SAVE || $talentInfo["checkState"] == TalentState::FST_SUBMIT) && $lastLog["state"] == TalentState::FST_VERIFY_REJECT) {
|
|
|
if ($this->user["type"] == CommonConst::ENTERPRISE_JC) {
|
|
|
$fields = DictApi::getTalentFields_IC();
|
|
|
} else if ($this->user["type"] == CommonConst::ENTERPRISE_WJ) {
|
|
@@ -1867,7 +1867,7 @@ class Talent extends AdminController {
|
|
|
$talentInfo = VerifyApi::getOne($id);
|
|
|
$lastLog = TalentLogApi::getLastLog($id, ProjectState::TALENT);
|
|
|
$responseObj = new \stdClass();
|
|
|
- if ($talentInfo["checkState"] == TalentState::SCND_SAVE && $lastLog["state"] == TalentState::FST_VERIFY_REJECT) {
|
|
|
+ if (($talentInfo["checkState"] == TalentState::SCND_SAVE || $talentInfo["checkState"] == TalentState::FST_SAVE || $talentInfo["checkState"] == TalentState::FST_SUBMIT) && $lastLog["state"] == TalentState::FST_VERIFY_REJECT) {
|
|
|
if (!$fields && !$files) {
|
|
|
$responseObj->msg = "请选择可修改的字段或附件!";
|
|
|
return json($responseObj);
|