From 957a8e8f5a01de49baa837e30492de511bf407e3 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期一, 27 三月 2023 18:10:06 +0800 Subject: [PATCH] 权限配置,基础信息管理 --- management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver.html | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver.html index 3e78867..e63bedd 100644 --- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver.html +++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver.html @@ -27,18 +27,18 @@ <#button name="重置" icon="fa-trash" clickFun="TDriver.resetSearch()" space="true"/> </div> <div class="col-sm-12"> - <button type="button" class="btn btn-primary " onclick="TDriver.auditPage()" id="audit"> - <i class="fa "></i> 立即审核 - </button> - <button type="button" class="btn btn-primary " onclick="TDriver.export()" id="export"> - <i class="fa "></i> 导出 - </button> - <button type="button" class="btn btn-primary " onclick="TDriverException.tDriverException()" id="driverException"> - <i class="fa "></i> 异常 - </button> - <button type="button" class="btn btn-primary " onclick="TDriver.rechargeBalancePage()" id="recharge"> - <i class="fa "></i> 充值 - </button> + @if(shiro.hasPermission("/tDriver/auditPage")){ + <#button name="立即审核" icon="fa-edit" clickFun="TDriver.auditPage()"/> + @} + @if(shiro.hasPermission("/tDriver/export")){ + <#button name="导出" icon="" clickFun="TDriver.export()"/> + @} + @if(shiro.hasPermission("/tDriver/tDriver_exception")){ + <#button name="异常" icon="" clickFun="TDriverException.tDriverException()"/> + @} + @if(shiro.hasPermission("/tDriver/rechargeBalancePage")){ + <#button name="充值" icon="fa-edit" clickFun="TDriver.rechargeBalancePage()"/> + @} @if(shiro.hasPermission("/tAgent/add")){ <#button name="添加" icon="fa-plus" clickFun="TDriver.openAddTDriver()"/> @} -- Gitblit v1.7.1