فهرست منبع

考察材料补登

sandm 2 سال پیش
والد
کامیت
508c7a97d7

+ 10 - 10
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1393,15 +1393,15 @@ class IndexController extends WebBaseController
         if(!$appoint_info){
             return $this->showMessage('抱歉,您没有报名,无需考察审核!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
         }
-//        if($appoint_info->pen_audit != 1){
-//            return $this->showMessage('抱歉,您未入闱,无需考察审核!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
-//        }
+        if($appoint_info->pen_audit != 1){
+            return $this->showMessage('抱歉,您未入闱,无需考察审核!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
+        }
 
-//        $uids = [169955];
-//        $time = time();
-//        if(!in_array($uid,$uids) || $time > 1626661200){
-//            return $this->showMessage('抱歉,考察审核端口已关闭!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
-//        }
+        $uids = [169955];
+        $time = time();
+        if(!in_array($uid,$uids) || $time > 1654164000){
+            return $this->showMessage('抱歉,考察审核端口已关闭!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
+        }
 
         $info = RecruitSupplement::where('appoint_id',$appoint_info->id)->first();
         if(!$info){
@@ -1410,7 +1410,7 @@ class IndexController extends WebBaseController
                 'identification' => '',
                 'household_register' => '',
                 'education_certification' => '',
-                'family_planning' => '',
+                //'family_planning' => '',
                 'manage' => '',
                 'status' => 3
             ];
@@ -1677,7 +1677,7 @@ class IndexController extends WebBaseController
             $data['education_certification'] = json_encode($education_certification);
             //计生
 //            $family_planning = $request->input('family_planning');
-//            if(is_array($family_planning)){
+//            if(is_array($family_planning)){sp
 //                //删除掉没有成功返回路径的图片
 //                foreach ($family_planning as $k => $v){
 //                    if(!array_key_exists('response',$v)){

+ 1 - 1
public/themes/default/views/app/recruit/supplement.blade.php

@@ -70,7 +70,7 @@
         </div>
 
         <p style="text-align:center;line-height:37px;margin-top: 30px">
-            <span style=";font-family:方正小标宋简体;font-size:29px"><span style="font-family:方正小标宋简体">{{$title}}公开招聘工作人员材料登表</span></span>
+            <span style=";font-family:方正小标宋简体;font-size:29px"><span style="font-family:方正小标宋简体">{{$title}}公开招聘工作人员考察材料登表</span></span>
         </p>
         <el-form :model="user" ref="userForm" :status-icon="true" :show-message="false" :rules="rules" :disabled="formDisable">
             <table cellspacing="0" width="100%">