From 5fa7a4b5d4150af74861b636bdaffd312796c900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 23 Feb 2017 17:12:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9D=83=E9=99=90=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/auth.index.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/application/admin/view/auth.index.html b/application/admin/view/auth.index.html index 03029df7d..380c7bb61 100644 --- a/application/admin/view/auth.index.html +++ b/application/admin/view/auth.index.html @@ -19,6 +19,7 @@ 权限名称 + 权限描述 状态 操作 @@ -33,6 +34,7 @@ {$vo.name} + {$vo.desc|default="没有写描述哦!"} {if $vo.status eq 0} 已禁用 @@ -40,7 +42,23 @@ 使用中 {/if} - + + {if auth("$classuri/edit")} + | + 编辑 + {/if} + {if $vo.status eq 1 and auth("$classuri/forbid")} + | + 禁用 + {elseif auth("$classuri/resume")} + | + 启用 + {/if} + {if auth("$classuri/del")} + | + 删除 + {/if} + {/foreach}