dyjh před 6 roky
rodič
revize
535f069c3f

+ 6 - 0
resources/views/admin/album/agent/index.blade.php

xqd xqd
@@ -42,6 +42,7 @@
             <th class="sorting" data-sort="address"> 地址 </th>
             <th class="sorting" data-sort="name"> 名称 </th>
             <th class="sorting" data-sort="status"> 状态 </th>
+								<th>是否为boss</th>
         						<th width="22%">相关操作</th>
         					</tr>
 						</thead>
@@ -55,6 +56,11 @@
             <td>{{ $item->address }}</td>
             <td>{{ $item->name }}</td>
             <td>{{ $item->status }}</td>
+								@if($item->role !== 4)
+									<td>不是</td>
+								@else
+									<td>是</td>
+								@endif
 								<td>
 									<div class="pull-left">
 										@if(role('Album/Agent/update'))

+ 0 - 5
resources/views/admin/album/user/index.blade.php

xqd
@@ -85,11 +85,6 @@
                                                         class="btn btn-success">设为经理
                                                 </button>
                                             @endif
-                                            @if($item->role !== 4)
-                                                <button onclick="window.location.href='{{ U('Album/User/role',['id'=>$item->id,'role'=>4]) }}'"
-                                                        class="btn btn-waring">设为Boss
-                                                </button>
-                                            @endif
                                         </td>
                                     </tr>
                                 @endforeach