|
@@ -140,6 +140,17 @@ class Talent extends EnterpriseController {
|
|
|
if ($info["talent_condition"]) {
|
|
|
$info["isSalary"] = TalentConditionApi::getOne($info["talent_condition"])["isSalary"] ?: 0;
|
|
|
}
|
|
|
+ $modify_fields = explode(",", $info["modify_fields"]);
|
|
|
+ if ($info["talent_condition"] && $info["real_state"] == TalentState::FST_VERIFY_REJECT && in_array("talent_condition", $modify_fields)) {
|
|
|
+ //高教或者以后有相同类型的附件分栏且带有认定附件,需要特殊加入认定附件进入
|
|
|
+ $condition = TalentConditionApi::getOne($info["talent_condition"]);
|
|
|
+ if ($condition && $condition["bindFileTypes"]) {
|
|
|
+ $modify_files = array_filter(explode(",", $info["modify_files"]));
|
|
|
+ $bindFileTypes = explode(",", $condition["bindFileTypes"]);
|
|
|
+ $modify_fields = array_merge($modify_files, $bindFileTypes);
|
|
|
+ $info["modify_files"] = implode(",", $modify_files);
|
|
|
+ }
|
|
|
+ }
|
|
|
return view($tpl, ["year" => $batch, "checkState" => $checkState, "row" => $info]);
|
|
|
}
|
|
|
|