Browse Source

后台审核

linwu 1 year ago
parent
commit
20477d054a
1 changed files with 24 additions and 18 deletions
  1. 24 18
      resources/views/admin/recruit/ajax_supplement.blade.php

+ 24 - 18
resources/views/admin/recruit/ajax_supplement.blade.php

@@ -36,12 +36,14 @@
                     </td>
                     <td valign="center" colspan="11">
                         <div style="padding: 10px 0">
-                            @foreach($info->identification as $k => $v)
-                                @if(!empty($v))
-                                    <img class="attchment" data-key="{{$k}}" data-name="identification"
-                                         src="{{ $v->response->path }}" width="200"/>
-                                @endif
-                            @endforeach
+                            @if (!empty($info->identification))
+                                @foreach($info->identification as $k => $v)
+                                    @if(!empty($v))
+                                        <img class="attchment" data-key="{{$k}}" data-name="identification"
+                                             src="{{ $v->response->path }}" width="200"/>
+                                    @endif
+                                @endforeach
+                            @endif
                         </div>
                     </td>
                 </tr>
@@ -51,12 +53,14 @@
                     </td>
                     <td valign="center" colspan="11">
                         <div style="padding: 10px 0">
-                            @foreach($info->chengxin as $k => $v)
-                                @if(!empty($v))
-                                    <img class="attchment" data-key="{{$k}}" data-name="chengxin"
-                                         src="{{ $v->response->path }}" width="200"/>
-                                @endif
-                            @endforeach
+                            @if (!empty($info->chengxin))
+                                @foreach($info->chengxin as $k => $v)
+                                    @if(!empty($v))
+                                        <img class="attchment" data-key="{{$k}}" data-name="chengxin"
+                                             src="{{ $v->response->path }}" width="200"/>
+                                    @endif
+                                @endforeach
+                            @endif
                         </div>
                     </td>
                 </tr>
@@ -66,12 +70,14 @@
                     </td>
                     <td valign="center" colspan="11">
                         <div style="padding: 10px 0">
-                            @foreach($info->manage as $k => $v)
-                                @if(!empty($v))
-                                    <img class="attchment" data-key="{{$k}}" data-name="manage"
-                                         src="{{ $v->response->path }}" width="200"/>
-                                @endif
-                            @endforeach
+                            @if (!empty($info->manage))
+                                @foreach($info->manage as $k => $v)
+                                    @if(!empty($v))
+                                        <img class="attchment" data-key="{{$k}}" data-name="manage"
+                                             src="{{ $v->response->path }}" width="200"/>
+                                    @endif
+                                @endforeach
+                            @endif
                         </div>
                     </td>
                 </tr>