|
@@ -34,6 +34,31 @@ class Talent extends AdminController {
|
|
if (in_array($info["checkState"], [TalentState::BASE_VERIFY_FAIL, TalentState::FST_SUBMIT, TalentState::BASE_VERIFY_PASS, TalentState::BASE_REVERIFY_REJECT, TalentState::BASE_REVERIFY_FAIL])) {
|
|
if (in_array($info["checkState"], [TalentState::BASE_VERIFY_FAIL, TalentState::FST_SUBMIT, TalentState::BASE_VERIFY_PASS, TalentState::BASE_REVERIFY_REJECT, TalentState::BASE_REVERIFY_FAIL])) {
|
|
return view("talentInfo_base_check", ["info" => $info]);
|
|
return view("talentInfo_base_check", ["info" => $info]);
|
|
} else {
|
|
} else {
|
|
|
|
+ $last_log = TalentLogApi::getLastLog($id, \app\common\state\ProjectState::TALENT, 0, ["active", "=", 0]);
|
|
|
|
+ if ($last_log["step"] == 3 && $last_log["companyId"] != $this->user["companyId"]) {
|
|
|
|
+ $last_log = TalentLogApi::getLastLog($id, \app\common\state\ProjectState::TALENT, $this->user["companyId"], ["active", "=", 0]);
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 10 && $last_log["new_state"] == 10) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 11 && $last_log["new_state"] == 8) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 10 && $last_log["new_state"] == 12) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 10 && $last_log["new_state"] == 9) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 14 && $last_log["new_state"] == 14) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 15 && $last_log["new_state"] == 9) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if ($last_log["state"] == 16 && $last_log["new_state"] == 16) {
|
|
|
|
+
|
|
|
|
+ }
|
|
switch ($info["enterpriseType"]) {
|
|
switch ($info["enterpriseType"]) {
|
|
case 1:
|
|
case 1:
|
|
$tpl = "talentInfo_common_check"; //$info["isImport"] ? "nofile_talentInfo_common_check" : "talentInfo_common_check";
|
|
$tpl = "talentInfo_common_check"; //$info["isImport"] ? "nofile_talentInfo_common_check" : "talentInfo_common_check";
|