|
@@ -101,9 +101,10 @@ class Talent extends EnterpriseController {
|
|
|
}
|
|
|
$checkState = $info["checkState"] ?: 0;
|
|
|
|
|
|
+ $batch = \app\common\api\BatchApi::getValidBatch(\app\common\state\ProjectState::TALENT, $this->user["type"]);
|
|
|
$info["enterprise"] = $ep;
|
|
|
$info["talent_type_list"] = DictApi::findChildDictByCode("talent_type");
|
|
|
- return view($tpl, ["year" => date("Y"), "checkState" => $checkState, "row" => $info]);
|
|
|
+ return view($tpl, ["year" => $batch["batch"], "checkState" => $checkState, "row" => $info]);
|
|
|
}
|
|
|
|
|
|
/**
|