123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- @extends('admin.public.base')
- @section('body_class')
- style="margin: 0 auto;width: 96%;padding: 30px 0px;"
- @endsection
- @section('content')
- @if(check_auth('admin/custom_company/add'))
-
- @endif
- <form action="" method="get" class="form-horizontal form-line">
- <div class="form-group col col-lg-2 col-md-4 col-sm-6 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="custom_code" value="{{request('custom_code','')}}" maxlength="13" placeholder="请输入客户编码查询" />
- </div>
- <div class="form-group col col-lg-2 col-md-4 col-sm-6 col-xs-12" style="margin-right: 2px;">
- <select name="status" class="form-control">
- <option value="0" @if (request('status',0) == '0' ) selected="selected" @endif >待审核</option>
- <option value="4" @if (request('status',0) == '4' ) selected="selected" @endif >已拒绝</option>
- <option value="8" @if (request('status',0) == '8' ) selected="selected" @endif >已通过</option>
- </select>
- </div>
- <input type="submit" class="btn btn-sm btn-primary" value="查询"/>
- <a href="{{url('admin/custom_company/index')}}" class="btn btn-sm btn-default" >重置</a>
- </form>
- <div class="row">
- <div class="col-xs-12">
- <div class="table-responsive">
- <table class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>ID</th>
- <th>客户编码</th>
- <th>客户昵称</th>
- <th>客户姓名</th>
- <th>终端名称</th>
- <th>公司全称</th>
- <th>营业执照</th>
- <th>注册地址</th>
- <th>法人代表</th>
- <th>资质状态</th>
- <th>创建时间</th>
- <th>操作</th>
- </tr>
- </thead>
-
- <tbody>
- @foreach ($list as $a)
- <tr>
- <th>{{$a['id']}}</th>
- <th>{{$a['custom_code']}}</th>
- <th>{{$a['custom_name']}}</th>
- <td>{{$a['remark']}}</td>
- <td>{{$a['remark_company']}}</td>
- <td>{{$a['license_name']}}</td>
- <td>{{$a['license_code']}}</td>
- <td>{{$a['license_area']}}{{$a['license_addr']?'/'.$a['license_addr']:''}}</td>
- <td>{{$a['legal_name']}}</td>
- <td>{{$a['status']?($a['status']==8?'已通过':'已拒绝'):'待审核'}}</td>
- <td>{{date('Y/m/d H:i:s',$a['insert_time'])}}</td>
- <td>
- @if( check_auth('admin/custom_company/set_status') && $a['status'] == 0)
- <a class="modal_show btn btn-sm btn-success" href="javascript:;" data-url="{{url('admin/custom_company/set_status?'.http_build_query(['id'=>$a['id']]))}}" >审核</a>
- @endif
- </td>
- </tr>
- @endforeach
- <tr>
- <td colspan="20" class="page">{{$list->render()}}</td>
- </tr>
- <tr>
- <td colspan="20">总计 {{$list->total()}} 个资质</td>
- </tr>
- </tbody>
-
- </table>
- </div>
- </div>
- </div>
- <!-- Modal -->
- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title" id="myModalLabel"></h4>
- </div>
- <div class="modal-body"></div>
- <div class="modal-footer"></div>
- </div>
- </div>
- </div>
- @endsection
|