瀏覽代碼

审核端修改

sugangqiang 2 年之前
父節點
當前提交
a8f6bf7dbb
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      app/admin/controller/Talent.php
  2. 1 1
      app/enterprise/controller/Talent.php

+ 3 - 0
app/admin/controller/Talent.php

@@ -775,6 +775,9 @@ class Talent extends AdminController {
 //审核成功,并取消设置越过部门并审
             $log_checkState = $checkState = TalentState::FST_VERIFY_PASS; //初审成功
             $data["pass_dept_check"] = 0;
+            if ($talent_info["isImport"]) {
+                $data["pass_dept_check"] = 1;
+            }
         } else if ($params["checkState"] == 4) {
             if ($talent_info["highProcess"] < 4)
                 return json(["msg" => "只有曾经通过部门并审,初审时才可以选择直接跳过部门并审阶段"]);

+ 1 - 1
app/enterprise/controller/Talent.php

@@ -424,7 +424,7 @@ class Talent extends EnterpriseController {
             $whr[] = ["typeId", "in", $ft_ids];
             $distinct_filetypes = Db::table("new_talent_file")->where($whr)->distinct(true)->field("typeId")->select();
             $upload_type_counts = count($distinct_filetypes);
-            if ($upload_type_counts != count($ft_ids)) {
+            if ($upload_type_counts != count($ft_ids) && !$info["isImport"]) {
                 $res = ["msg" => "请留意附件上传栏中带*号的内容均为必传项,请上传完整再提交审核"];
                 echo sprintf("<script>parent.TalentInfoInfoDlg.submitCallback(%s);</script>", json_encode($res));
                 exit;