Prechádzať zdrojové kódy

开启材料补登功能

sandm 2 rokov pred
rodič
commit
107fe667f7

+ 7 - 0
app/Admin/Controllers/Recruit/RecruitController.php

@@ -897,6 +897,13 @@ class RecruitController extends Controller
         $info = RecruitSupplement::where('appoint_id',$ids)->where('type','supplement')->first();
         $info = RecruitSupplement::where('appoint_id',$ids)->where('type','supplement')->first();
         if(!$info){
         if(!$info){
             $view_data['switch'] = 0;
             $view_data['switch'] = 0;
+            $photos = [
+                'identification'=>[],
+                'household_register' => [],
+                'education_certification'=>[],
+                'family_planning'=>[],
+                'manage' => []
+            ];
         }else{
         }else{
             $view_data['switch'] = 1;
             $view_data['switch'] = 1;
             $photos = [
             $photos = [