From 1884523e3f881e002c2496db02a18bb974279575 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期二, 09 十二月 2025 15:52:12 +0800
Subject: [PATCH] 去掉权限设置
---
fzzy-igdss-web/src/main/resources/templates/security/patrol/patrol.html | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/fzzy-igdss-web/src/main/resources/templates/security/patrol/patrol.html b/fzzy-igdss-web/src/main/resources/templates/security/patrol/patrol.html
index 21f18fb..d95056b 100644
--- a/fzzy-igdss-web/src/main/resources/templates/security/patrol/patrol.html
+++ b/fzzy-igdss-web/src/main/resources/templates/security/patrol/patrol.html
@@ -24,19 +24,19 @@
</div>
<div class="btn-group-sm" id="toolbar" role="group">
- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="web:security:patrol:add">
+ <a class="btn btn-success" onclick="$.operate.add()" >
<i class="fa fa-plus"></i> 鏂板
</a>
- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="web:security:patrol:edit">
+ <a class="btn btn-primary single disabled" onclick="$.operate.edit()" >
<i class="fa fa-edit"></i> 淇敼
</a>
- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="web:security:patrol:remove">
+ <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" >
<i class="fa fa-remove"></i> 鍒犻櫎
</a>
- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="web:security:patrol:export">
+ <a class="btn btn-warning" onclick="$.table.exportExcel()" >
<i class="fa fa-download"></i> 瀵煎嚭
</a>
- <a class="btn btn-success" onclick="openPatrolConf()" shiro:hasPermission="web:security:patrol:patrolConf:edit">
+ <a class="btn btn-success" onclick="openPatrolConf()" >
<i class="fa fa-plus"></i> 宸℃洿閰嶇疆
</a>
</div>
@@ -48,8 +48,6 @@
<th:block th:include="include :: footer" />
<th:block th:include="include :: select2-js" />
<script th:inline="javascript">
- var editFlag = [[${@permission.hasPermi('web:security:patrol:edit')}]];
- var removeFlag = [[${@permission.hasPermi('web:security:patrol:remove')}]];
var prefix = ctx + "security/patrol";
$(function() {
@@ -99,8 +97,8 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>缂栬緫</a> ');
- actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>鍒犻櫎</a>');
+ actions.push('<a class="btn btn-success btn-xs ' + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>缂栬緫</a> ');
+ actions.push('<a class="btn btn-danger btn-xs ' + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>鍒犻櫎</a>');
return actions.join('');
}
}]
--
Gitblit v1.9.3