From 1a0c0fc8b02415e919e17c0b6ffbf99d08dec8f5 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 07 四月 2023 17:40:53 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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>&nbsp;立即审核
-                                </button>
-                                <button type="button" class="btn btn-primary " onclick="TDriver.export()" id="export">
-                                    <i class="fa "></i>&nbsp;导出
-                                </button>
-                                <button type="button" class="btn btn-primary " onclick="TDriverException.tDriverException()" id="driverException">
-                                    <i class="fa "></i>&nbsp;异常
-                                </button>
-                                <button type="button" class="btn btn-primary " onclick="TDriver.rechargeBalancePage()" id="recharge">
-                                    <i class="fa "></i>&nbsp;充值
-                                </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