104 lines
4.1 KiB
PHP
104 lines
4.1 KiB
PHP
@extends('layouts.base')
|
|
|
|
@section('content')
|
|
@section('title', trans('区域代理申请'))
|
|
<div class="right-titpos">
|
|
<ul class="add-snav">
|
|
<li class="active"><a href="#">区域代理申请</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<form action="" method="post" class="form-horizontal" id="form1">
|
|
<div class="right-addbox">
|
|
<div class="panel panel-info">
|
|
<div class="panel-body">
|
|
<div class="form-group col-xs-12 col-sm-3">
|
|
<input class="form-control" name="search[member]" id="" type="text"
|
|
value="{{$search['member']}}" placeholder="会员ID/昵称/姓名/手机">
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-4">
|
|
<input type="hidden" name="token" value="{{$var['token']}}" id="search"/>
|
|
<button class="btn btn-success "><i class="fa fa-search"></i> 搜索</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<div class='panel panel-default'>
|
|
|
|
<div class='panel-body'>
|
|
|
|
<table class="table table-hover" style="overflow:visible;">
|
|
<thead>
|
|
<tr>
|
|
<th style='width:10%;'>ID</th>
|
|
<th style='width:15%;'>会员</th>
|
|
<th style='width:15%;'>姓名</br>手机</th>
|
|
<th style='width:15%;'>申请区域</th>
|
|
<th style='width:15%;'>申请时间</th>
|
|
<th style='width:10%;'>状态</th>
|
|
<th style='width:10%;'>审核</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($list['data'] as $row)
|
|
<tr>
|
|
<td>{{$row['id']}}</td>
|
|
|
|
<td>
|
|
<img src="{{tomedia($row['has_one_member']['avatar'])}}"
|
|
style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
|
|
</br>
|
|
{{$row['has_one_member']['nickname']}}
|
|
</td>
|
|
|
|
<td>
|
|
{{$row['real_name']}}
|
|
</br>
|
|
{{$row['mobile']}}
|
|
</td>
|
|
|
|
<td>
|
|
@if($row['province_name'])
|
|
{{$row['province_name']}}
|
|
@endif
|
|
@if($row['city_name'])
|
|
-{{$row['city_name']}}
|
|
@endif
|
|
@if($row['district_name'])
|
|
-{{$row['district_name']}}
|
|
@endif
|
|
@if($row['street_name'])
|
|
-{{$row['street_name']}}
|
|
@endif
|
|
</td>
|
|
|
|
<td>
|
|
{{$row['created_at']}}
|
|
</td>
|
|
<td>
|
|
{{$row['status_name']}}
|
|
</td>
|
|
|
|
<td style="overflow:visible;">
|
|
<div class="btn-group btn-group-sm " data-type="1">
|
|
<a class="btn btn-default dropdown" data-expanded="1"
|
|
href="{{yzWebUrl('plugin.area-dividend.admin.agent.cope-apply',['id'=>$row['id'],'status'=>'1'])}}">通过 <span class="caret"></span></a>
|
|
<a class="btn btn-default dropdown" data-expanded="1"
|
|
href="{{yzWebUrl('plugin.area-dividend.admin.agent.cope-apply',['id'=>$row['id'],'status'=>'-1'])}}">驳回 <span class="caret"></span></a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
{!! $pager !!}
|
|
</div>
|
|
</div>
|
|
<div style="width:100%;height:150px;"></div>
|
|
|
|
@endsection |