12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- @extends('mobile.module.layouts.content')
- @push('meta')
- <meta name="csrf-token" content="{{ csrf_token() }}">
- @endpush
- @push('css')
- <link href="{{ theme_asset('mobile/css/common.css') }}" rel="stylesheet">
- <link href="{{ theme_asset('mobile/css/jobfair_member.css') }}" rel="stylesheet">
- @endpush
- @push('js')
- <script src="{{ theme_asset('mobile/js/dropload.min.js') }}"></script>
- @endpush
- @section('content')
- <div class="panel panel-primary">
- <div class="panel-body">
- <div id="info" class="drop_content">
- @if($interview->isNotEmpty())
- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="add_data">
- <tr>
- <td>姓名</td>
- <td>职位</td>
- <td>发出时间</td>
- </tr>
- <tr>
- <td colspan="3" class="noborder"></td>
- </tr>
- @foreach($interview as $val)
- <tr class="data-tr">
- <td><a href="{{route('mobile.resumes.show',['id'=>$val->resumes->id,'type'=>1])}}">{{$val->resumes->fullname}}</a></td>
- <td>{{$val->putJobs->jobs->jobs_name}}</td>
- <td>{{substr($val->created_at,2,14)}}</td>
- </tr>
- @endforeach
- </table>
- @else
- <div class="list-empty">
- 您还没有发出面试邀请!
- </div>
- @endif
- </div>
- </div>
- </div>
- @endsection
- @section('script')
- <script>
- $('#logout').on('click', function () {
- var dialog = new QSpopout();
- dialog.setContent('确定退出吗?');
- dialog.show();
- dialog.getPrimaryBtn().on('click', function () {
- window.location.href = "{{ route('mobile.logout') }}";
- });
- });
- $('.delete').on('click',function(){
- var jobs_delete = '被删除后将无法恢复,您确定要删除选中的职位吗?';
- url = $(this).attr('url');
- var dialog = new QSpopout('职位删除');
- dialog.setContent(jobs_delete);
- dialog.show();
- dialog.getPrimaryBtn().on('click', function () {
- $.getJSON(url,function(result){
- console.log(result);
- if(result.status==1){
- qsToast({type: 1, context: result.msg});
- setTimeout(function(){
- window.location.reload();
- },2000);
- }else{
- qsToast({type: 2, context: result.msg});
- return false;
- }
- });
- });
- dialog.show();
- });
- </script>
- @endsection
|