| xqd
@@ -57,24 +57,24 @@
|
|
|
<td>{{ $item->status }}</td>
|
|
|
<td>
|
|
|
@if(role('Album/Agent/update'))
|
|
|
- <div class="col-sm-3">
|
|
|
+
|
|
|
<a href="{{ U('Album/Agent/update',['id'=>$item->id])}}" class="btn btn-sm btn-warning pull-right">修改</a>
|
|
|
- </div>
|
|
|
+
|
|
|
@endif
|
|
|
@if($item->status == '待审核')
|
|
|
- <div class="col-sm-3">
|
|
|
+
|
|
|
<a href="{{ U('Album/Agent/status',['id'=>$item->id,'status'=>1])}}" onclick="return confirm('你确定通过审核?');" class="btn btn-sm btn-success pull-right">通过审核</a>
|
|
|
- </div>
|
|
|
+
|
|
|
@endif
|
|
|
@if(role('Album/Agent/destroy'))
|
|
|
- <div class="col-sm-3">
|
|
|
+
|
|
|
<a href="{{ U('Album/Agent/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');" class="btn btn-sm btn-danger pull-right">删除</a>
|
|
|
- </div>
|
|
|
+
|
|
|
@endif
|
|
|
@if(role('Album/Agent/view'))
|
|
|
- <div class="col-sm-3 pull-right">
|
|
|
+
|
|
|
<a href="{{ U('Album/Product/Price/index',['id'=>$item->id])}}" class="btn btn-sm btn-primary pull-right">查看报价</a>
|
|
|
- </div>
|
|
|
+
|
|
|
@endif
|
|
|
</td>
|
|
|
</tr>
|