@@ -282,6 +282,12 @@ func (this *ReportController) ListReport() {
continue
}
+ // 如果是超管,那么有权限
+ if utils.IsAdminRole(this.SysUser.RoleTypeCode) {
+ list[i].HasAuth = true
+ continue
+ }
+
// 查找授权
var hasAuth bool
grantUserMap, ok := grantMap[item.Id]