|
@@ -25,6 +25,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
|
|
+ <div class="col-sm-1 pull-left">
|
|
|
|
+ <a href="{{ U('Album/Agent/create')}}" class="btn btn-sm btn-primary pull-left">添加</a>
|
|
|
|
+ </div>
|
|
{{--@if(role('Album/Agent/create'))
|
|
{{--@if(role('Album/Agent/create'))
|
|
<div class="col-sm-3 pull-right">
|
|
<div class="col-sm-3 pull-right">
|
|
<a href="{{ U('Album/Agent/create')}}" class="btn btn-sm btn-primary pull-right">添加</a>
|
|
<a href="{{ U('Album/Agent/create')}}" class="btn btn-sm btn-primary pull-right">添加</a>
|
|
@@ -38,10 +41,10 @@
|
|
|
|
|
|
<th class="sorting" data-sort="id"> ID </th>
|
|
<th class="sorting" data-sort="id"> ID </th>
|
|
<th> 微信昵称 </th>
|
|
<th> 微信昵称 </th>
|
|
|
|
+ <th class="sorting" data-sort="name"> 名称 </th>
|
|
<th class="sorting" data-sort="user_id"> 电话 </th>
|
|
<th class="sorting" data-sort="user_id"> 电话 </th>
|
|
<th class="sorting" data-sort="address"> 地址 </th>
|
|
<th class="sorting" data-sort="address"> 地址 </th>
|
|
- <th class="sorting" data-sort="name"> 名称 </th>
|
|
|
|
- <th class="sorting" data-sort="status"> 状态 </th>
|
|
|
|
|
|
+ <th class="sorting" data-sort="status"> 审核状态 </th>
|
|
<th>是否为boss</th>
|
|
<th>是否为boss</th>
|
|
<th width="22%">相关操作</th>
|
|
<th width="22%">相关操作</th>
|
|
</tr>
|
|
</tr>
|
|
@@ -52,9 +55,9 @@
|
|
|
|
|
|
<td>{{ $item->id }}</td>
|
|
<td>{{ $item->id }}</td>
|
|
<td>{{ $item->nickname }}</td>
|
|
<td>{{ $item->nickname }}</td>
|
|
|
|
+ <td>{{ $item->name }}</td>
|
|
<td>{{ $item->phone }}</td>
|
|
<td>{{ $item->phone }}</td>
|
|
<td>{{ $item->address }}</td>
|
|
<td>{{ $item->address }}</td>
|
|
- <td>{{ $item->name }}</td>
|
|
|
|
<td>{{ $item->status }}</td>
|
|
<td>{{ $item->status }}</td>
|
|
@if($item->is_boss != 1)
|
|
@if($item->is_boss != 1)
|
|
<td>不是</td>
|
|
<td>不是</td>
|
|
@@ -85,7 +88,9 @@
|
|
<a href="{{ U('Album/Agent/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');" class="btn btn-sm btn-danger pull-right">删除</a>
|
|
<a href="{{ U('Album/Agent/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');" class="btn btn-sm btn-danger pull-right">删除</a>
|
|
@endif
|
|
@endif
|
|
@if(role('Album/Product/Price/index'))
|
|
@if(role('Album/Product/Price/index'))
|
|
- <a href="{{ U('Album/Product/Price/index',['id'=>$item->id])}}" class="btn btn-sm btn-primary pull-right">查看报价</a>
|
|
|
|
|
|
+ @if($item->status == '已审核')
|
|
|
|
+ <a href="{{ U('Album/Product/Price/index',['id'=>$item->id])}}" class="btn btn-sm btn-primary pull-left">查看报价</a>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
|
|
|
|
</div>
|
|
</div>
|