Browse Source

更新确认笔试功能

sandm 2 years ago
parent
commit
69636d33e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/themes/default/views/app/recruit/show.blade.php

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

@@ -499,7 +499,7 @@
                             border: false,
                             btns: ['确认参加笔试','取消'],
                             yes: function(){
-                                $.post("{{route('recruit,comfirm_pen')}}", {_token:"{{csrf_token()}}",recruit_id:"{{ $recruit }}"},function(result){
+                                $.post("{{route('recruit,comfirm_pen')}}", {_token:"{{csrf_token()}}",recruit_id:"{{ $recruit->id }}"},function(result){
                                     if(result.status == 1){alert('确认参加笔试成功,请在指定时间段内打印准考证!');
                                     }else{
                                         alert('确认失败,请联系工作人员!');