瀏覽代碼

更新招考后台新的审核界面

zmw 14 小時之前
父節點
當前提交
bf6f86a577

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

@@ -3374,6 +3374,7 @@ class RecruitController extends Controller
                 'appointinfo' => $data,
                 'recruit' => $recruit,
                 'photos' => $photos,
+                'photos_json' => json_encode($photos),
                 'ids' => $id,
                 'post' => $post
             ]));

+ 1 - 2
resources/views/admin/recruit/check_out_appoint.blade.php

@@ -1023,7 +1023,7 @@
             }, 'json');
         });
 
-        let photos = {!!json_encode($photos)!!};
+        let photos = "{{$photos_json}}";
         $('.attachment').click(function () {
             let key = $(this).data('key');
             let name = $(this).data('name');
@@ -1047,7 +1047,6 @@
             num = (num + 90) % 360;
             $("#layui-layer-photos").css('transform', 'rotate(' + num + 'deg)');
 
-            //$(".layui-layer-phimg img").css('transform','rotate('+num+'deg)');此处只能旋转图片
         });