|
@@ -47,7 +47,14 @@ class TalentBankChange extends AdminController {
|
|
|
if (\StrUtil::isNotEmpAndNull($info["talentType"])) {
|
|
|
$info["talentTypeName"] = DictApi::selectByParentCode("enterprise_tag")[$info["talentType"]];
|
|
|
}
|
|
|
- return view("check", ["type" => $this->user["type"], "row" => $info]);
|
|
|
+ //查看是否有上传旧附件
|
|
|
+ $_where = [["mainId", "=", $id]];
|
|
|
+ $old_list = Db::table("un_talent_common_file")->where($_where)->find();
|
|
|
+ $showOldFile = 0;
|
|
|
+ if ($old_list) {
|
|
|
+ $showOldFile = 1;
|
|
|
+ }
|
|
|
+ return view("check", ["type" => $this->user["type"], "row" => $info, "showOldFile" => $showOldFile]);
|
|
|
}
|
|
|
|
|
|
public function submitToCheck() {
|
|
@@ -167,7 +174,6 @@ class TalentBankChange extends AdminController {
|
|
|
$list = TbcModel::where($where)->select()->toArray();
|
|
|
$levelMap = DictApi::selectByParentCode("talent_arrange");
|
|
|
|
|
|
-
|
|
|
$title = ["姓名", "证件号码", "工作单位", "人才层次", "原开户银行", "原开户银行网点", "原银行账号", "原银行行号",
|
|
|
"现开户银行", "现开户银行网点", "现银行账号", "现银行行号", "审核状态", "审核意见", "审核通过时间"];
|
|
|
$keys = ["talentName", "idCard", "enterpriseName", "talentArrangeName", "oldBankName", "oldBankNerPoint", "oldBankAccount", "oldBankNumber",
|
|
@@ -231,5 +237,4 @@ class TalentBankChange extends AdminController {
|
|
|
}
|
|
|
return $where;
|
|
|
}
|
|
|
-
|
|
|
}
|