Browse Source

更新复试准考证的状态

sandm 3 years ago
parent
commit
1e367c696a

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

@@ -662,6 +662,7 @@ class RecruitController extends Controller
             $list[$k]['pen_print'] = 0;
             $list[$k]['computer_print'] = 0;
             $list[$k]['face_print'] = 0;
+            $list[$k]['reexamine_print'] = 0;
             $tickets = RecruitTicket::where('appoint_id',$v->id)->get();
             if($tickets){
                 foreach ($tickets as $tk => $tv){
@@ -674,6 +675,9 @@ class RecruitController extends Controller
                     if($tv->ex_type == 3){
                         $list[$k]['face_print'] = $tv->ex_status;
                     }
+                    if($tv->ex_type == 4){
+                        $list[$k]['reexamine_print'] = $tv->ex_status;
+                    }
                 }
             }
         }

+ 1 - 1
resources/views/admin/recruit/appoint_list.blade.php

@@ -338,7 +338,7 @@
                                                 @endif
                                                     @if(in_array('6',explode(',',$recruit->step)) && $v->current >= 2 & $v->reexamine_audit != 3)
                                                         <P>复试准考证:
-                                                            @if($v->face_print)
+                                                            @if($v->reexamine_print)
                                                                 <span style=" color: #67c23a;">已打印</span>
                                                             @else
                                                                 <span style=" color: #ff2424;">未打印</span><br />