Browse Source

去掉首次来晋工作时间的必需属性

sugangqiang 2 năm trước cách đây
mục cha
commit
8affb6e5f5
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      app/enterprise/controller/Base.php

+ 4 - 4
app/enterprise/controller/Base.php

@@ -103,10 +103,10 @@ class Base extends EnterpriseController {
                 echo sprintf("<script>parent.TalentInfoInfoDlg.infoCallback(%s);</script>", json_encode($res));
                 exit;
             }
-            $no_empty = ["name", "card_type", "card_number", "sex", "birthday", "nationality", "province", "city", "nation", "politics", "experience", "education"];
-            if (in_array($ep["enterpriseTag"], ['mtdw', 'gyqyh', 'mbfqy', 'jrjg'])) {
-                $no_empty[] = "fst_work_time";
-            }
+            $no_empty = ["talent_type", "name", "card_type", "card_number", "sex", "birthday", "nationality", "province", "city", "nation", "politics", "experience", "education"];
+            /* if (in_array($ep["enterpriseTag"], ['mtdw', 'gyqyh', 'mbfqy', 'jrjg'])) {
+              $no_empty[] = "fst_work_time";
+              } */
 
             if (in_array($param["talent_type"], [1, 2])) {
                 list($date1, $date2) = explode(" - ", $param["tax_insurance_month"]);