Эх сурвалжийг харах

修复变更提交附件后仍提示有附件需要提交

sugangqiang 1 жил өмнө
parent
commit
42c947c6f0

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

@@ -174,8 +174,8 @@ class TalentBasicChange extends EnterpriseController {
         $where[] = ["active", "=", 1];
         $filetypes = Db::table("new_common_filetype")->where($where)->order("sn asc")->select()->toArray();
         $sb = [];
+        $sb[] = "以下为必传附件:";
         foreach ($filetypes as $filetype) {
-            $sb[] = "以下为必传附件:";
             if ($filetype["must"] == 1) {
                 $where = [];
                 $where[] = ["mainId", "=", $id];

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

@@ -140,8 +140,8 @@ class TalentQuit extends EnterpriseController {
         $where[] = ["active", "=", 1];
         $filetypes = Db::table("new_common_filetype")->where($where)->order("sn asc")->select()->toArray();
         $sb = [];
+        $sb[] = "以下为必传附件:";
         foreach ($filetypes as $filetype) {
-            $sb[] = "以下为必传附件:";
             if ($filetype["must"] == 1) {
                 $where = [];
                 $where[] = ["mainId", "=", $id];

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

@@ -155,8 +155,8 @@ class TalentWorkUnitChange extends EnterpriseController {
         $where[] = ["active", "=", 1];
         $filetypes = Db::table("new_common_filetype")->where($where)->order("sn asc")->select()->toArray();
         $sb = [];
+        $sb[] = "以下为必传附件:";
         foreach ($filetypes as $filetype) {
-            $sb[] = "以下为必传附件:";
             if ($filetype["must"] == 1) {
                 $where = [];
                 $where[] = ["mainId", "=", $id];