From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 04 三月 2024 10:11:21 +0800
Subject: [PATCH] 合并代码

---
 cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudent.html |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudent.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudent.html
index a97daf8..a179210 100644
--- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudent.html
+++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudent.html
@@ -52,21 +52,21 @@
                             </div>
                         </div>
                         <div class="hidden-xs" id="TStudentTableToolbar" role="group">
-                            @if(shiro.hasPermission("/tStudent/add")){
-                                <#button name="添加" icon="fa-plus" clickFun="TStudent.openAddTStudent()"/>
+                            @if(shiro.hasPermission("/tStudent/update")){
+                            <#button name="修改" icon="fa-edit" clickFun="TStudent.openTStudentDetail()"/>
                             @}
-
-                            <#button name="修改" icon="fa-edit" clickFun="TStudent.openTStudentDetail()" space="true"/>
-                            <#button name="查看详情" icon="fa-edit" clickFun="TStudent.openTStudentDetail1()" space="true"/>
-                            <#button name="学员评语" icon="fa-edit" clickFun="TStudent.openTStudentDetail2()" space="true"/>
+                            @if(shiro.hasPermission("/tStudent/frozen")){
                             <#button name="冻结" icon="fa-edit" clickFun="TStudent.editCoursePackageState(2)" space="true"/>
-                            <#button name="解冻" icon="fa-edit" clickFun="TStudent.editCoursePackageState(1)" space="true"/>
-
-
-                            @if(shiro.hasPermission("/tStudent/delete")){
-                                <#button name="删除" icon="fa-remove" clickFun="TStudent.delete()" space="true"/>
                             @}
-<!--                            <button id="exportButton">TTTTTTTTTT</button>-->
+                            @if(shiro.hasPermission("/tStudent/frozen")){
+                            <#button name="解冻" icon="fa-edit" clickFun="TStudent.editCoursePackageState(1)" space="true"/>
+                            @}
+                            @if(shiro.hasPermission("/tStudent/info")){
+                            <#button name="查看详情" icon="fa-edit" clickFun="TStudent.openTStudentDetail1()" space="true"/>
+                            @}
+                            @if(shiro.hasPermission("/tStudent/comit")){
+                            <#button name="学员评语" icon="fa-edit" clickFun="TStudent.openTStudentDetail2()" space="true"/>
+                            @}
                         </div>
                         <#table id="TStudentTable"/>
                     </div>

--
Gitblit v1.7.1