From 03a4584d7d58fc073649a3ef821e1b2ebc0ed6cb Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期日, 30 七月 2023 05:04:49 +0800
Subject: [PATCH] 更新管理页面

---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html
index af13e11..f1a3f04 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html
@@ -36,7 +36,16 @@
                             <#button name="导出" icon="" clickFun="TAgent.export()"/>
                             @}
                             @if(shiro.hasPermission("/tAgent/add")){
-                            <#button name="添加" icon="fa-plus" clickFun="TAgent.openAddTAgent()"/>
+                            <#button name="添加" icon="fa-plus" clickFun="TAgent.openAddTAgent()" space="true"/>
+                            @}
+                            @if(shiro.hasPermission("/tAgent/update")){
+                            <#button name="编辑" icon="fa-edit" clickFun="TAgent.openUpdateTAgent()" space="true"/>
+                            @}
+                            @if(shiro.hasPermission("/tAgent/stop")){
+                            <#button name="冻结" icon="fa-edit" clickFun="TAgent.stop()" space="true"/>
+                            @}
+                            @if(shiro.hasPermission("/tAgent/start")){
+                            <#button name="启动" icon="fa-edit" clickFun="TAgent.start()" space="true"/>
                             @}
                         </div>
                         <#table id="TAgentTable"/>

--
Gitblit v1.7.1