From 326bf69bb1324a29c70bd0b6c50ab6f2aa829af9 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期一, 04 十二月 2023 10:48:41 +0800 Subject: [PATCH] 12.4 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement.html | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement.html index 5702f2c..885c96c 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement.html @@ -33,11 +33,23 @@ </div> </div> <div class="hidden-xs" id="TCompetitionTableToolbar" role="group"> + @if(shiro.hasPermission("/advertisement/add")){ <#button name="添加" icon="fa-plus" clickFun="TSite.openAddTSite()"/> + @} + + + @if(shiro.hasPermission("/advertisement/update")){ <#button name="编辑" icon="fa-edit" clickFun="TSite.openEditTSite()" space="true"/> + @} + + @if(shiro.hasPermission("/advertisement/info")){ <#button name="查看详情" icon="fa-search" clickFun="TSite.openInfo()" space="true"/> + @} + @if(shiro.hasPermission("/advertisement/changeState")){ <#button name="上架" icon="fa-check" clickFun="TSite.onShelf()" space="true"/> + <#button name="下架" icon="fa-remove" clickFun="TSite.offShelf()" space="true"/> + @} </div> <#table id="TSiteTable"/> </div> -- Gitblit v1.7.1