From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement.html | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 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 0ed8fb3..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 @@ -15,7 +15,9 @@ <div class="col-sm-3"> <#SelectCon id="page" name="跳转页面" > <option value="">请选择</option> - + @for(obj in pages){ + <option value="${obj.id}">${obj.name}</option> + @} </#SelectCon> </div> <div class="col-sm-3"> @@ -31,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