sandm 1 год назад
Родитель
Сommit
ea33923cc6

+ 1 - 1
app/Admin/Controllers/Recruit/RecruitController.php

@@ -890,7 +890,7 @@ class RecruitController extends Controller
                 $data->other_certification = [];
             }
         }
-        if(in_array('chengnuoshu',$recruit->forms) || in_array('internship',$recruit->forms)){
+        if(in_array('chengnuoshu',$recruit->forms)){
             if(json_decode($data->chengnuoshu)){
                 $data->chengnuoshu = json_decode($data->chengnuoshu);
                 $photo_data = [];

+ 17 - 0
resources/views/admin/recruit/manageajax_userinfo.blade.php

@@ -759,6 +759,23 @@
             </td>
         </tr>
     @endif
+    @if(in_array('chengnuoshu',$recruit->forms))
+        <tr style="height:52px;page-break-inside:avoid">
+            <td valign="center">
+                诚信承诺书
+            </td>
+            <td valign="center" colspan="11">
+                <div style="padding: 10px 0">
+                    @foreach($appointinfo->chengnuoshu as $k => $v)
+                        @if(!empty($v))
+                            <img class="attchment" data-key="{{$k}}" data-name="chengnuoshu"
+                                 src="{{ $v->response->path }}?v=1"/>
+                        @endif
+                    @endforeach
+                </div>
+            </td>
+        </tr>
+    @endif
     @if(in_array('remark',$recruit->forms))
         <tr style="height:52px;page-break-inside:avoid">
             <td valign="center">