{include file="public/layout" /}
{include file="admin/admin_bar" /}
{eq name='$main_lang' value='$admin_lang'} {eq name="$Think.const.CONTROLLER_NAME.'@admin_add'|is_check_access" value="1"}
新增管理员
{/eq} {/eq}
{$searchform.hidden|default=''}

{eq name='$main_lang' value='$admin_lang'} {/eq} | ID | 用户名 | 真实姓名 | 角色组 | 手机号码 | 最后登录时间 | 操作
--- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
{eq name='$main_lang' value='$admin_lang'} {if condition="$Think.session.admin_id != $vo.admin_id AND !empty($vo.parent_id)"} {else/} {/if} {/eq} | {$vo.admin_id} | {eq name="'Admin@admin_edit'|is_check_access" value="1"} {$vo.user_name} {notempty name='$vo.is_locklogin'} [解锁] {/notempty} {else /} {$vo.user_name} {/eq} | {$vo.true_name} | {$vo.role_name|default='数据出错'} | {$vo.mobile|default='无'} | {empty name="vo.last_login"} 未登录 {else /} {$vo.last_login|date='Y-m-d H:i:s',###} {/empty} | {eq name="'Admin@admin_edit'|is_check_access" value="1"} {if condition="!empty($thirdata['type']) && in_array($thirdata['type'], ['EyouGzhLogin','WechatLogin'])"} {if condition="!empty($wxlist[$vo['admin_id']])"} 解绑微信 {else /} 绑定微信 {/if} {/if} 编辑 {/eq} {eq name='$main_lang' value='$admin_lang'} {eq name="'Admin@admin_del'|is_check_access" value="1"} {if condition="$Think.session.admin_id != $vo.admin_id AND !empty($vo.parent_id)"} 删除 {else /} 删除 {/if} {/eq} {/eq}
{/foreach} {/empty}

{eq name='$main_lang' value='$admin_lang'} {eq name="$Think.const.CONTROLLER_NAME.'@admin_del'|is_check_access" value="1"}
批量删除
{/eq} {/eq} {include file="public/page" /}
{include file="public/footer" /}