|
@@ -59,7 +59,7 @@
|
|
<td>{{ $item->created_at }}</td>
|
|
<td>{{ $item->created_at }}</td>
|
|
<td>{{ $item->role() }}</td>
|
|
<td>{{ $item->role() }}</td>
|
|
<td>
|
|
<td>
|
|
- @if(!$item->is_dealer && $item['model']==1)
|
|
|
|
|
|
+ @if($item->is_dealer != 1)
|
|
<button onclick="window.location.href='{{ U('Album/User/update',['id'=>$item->id]) }}'"
|
|
<button onclick="window.location.href='{{ U('Album/User/update',['id'=>$item->id]) }}'"
|
|
class="btn btn-warning">设为经销商
|
|
class="btn btn-warning">设为经销商
|
|
</button>
|
|
</button>
|