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/tAppUser/tAppUser.html | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUser.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUser.html index 05ae027..8b60e4a 100644 --- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUser.html +++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUser.html @@ -33,13 +33,15 @@ <#button name="重置" icon="fa-trash" clickFun="TAppUser.resetSearch()" space="true"/> </div> <div class="col-sm-3"> - <button type="button" class="btn btn-primary " onclick="TAppUser.export()" id="export"> - <i class="fa "></i> 导出 - </button> + @if(shiro.hasPermission("/tAppUser/export-userInfo")){ + <#button name="导出" icon="" clickFun="TAppUser.export()"/> + @} + @if(shiro.hasPermission("/tAppUser/add")){ <#button name="异常" icon="" clickFun="TAppUserException.tAppUserException()"/> - <button type="button" class="btn btn-primary " onclick="TAppUser.searchCoupon()" id=""> - <i class="fa "></i> 赠送优惠劵 - </button> + @} + @if(shiro.hasPermission("/tAppUser/sendCoupon")){ + <#button name="赠送优惠劵" icon="" clickFun="TAppUser.searchCoupon()"/> + @} </div> </div> <!--<div class="hidden-xs" id="TAppUserTableToolbar" role="group"> -- Gitblit v1.7.1