{include file='common/header' /}

### 角色管理

排序 | 操作 | 权限 | 状态 | 名称
--- | --- | --- | --- | ---
{php} $data = \think\Db::name('auth_group')->order('sort desc,id asc') -> select(); $data = \ebcms\Tree::group($data); {/php} {foreach name='data' item='items' key='group'}
{$group} | 添加
{foreach name='items' item='vo'}
| {if condition="check_auth('edit')"} {/if} {if condition="check_auth('delete')"} {/if} | {if condition="check_auth('rule')"} 功能权限 {/if} {if condition="check_auth('menu')"} 导航权限 {/if} | {if condition="check_auth('status')"} {eq name='vo.status' value='1'} {else/} {/eq} {/if} | {$vo.title}
{/foreach} {/foreach}

{include file='common/footer' /}