perf(X-Pack): 导出权限独立控制

This commit is contained in:
fit2cloud-chenyw 2024-11-15 17:10:47 +08:00
parent 5c30d47378
commit 9da46043e1
4 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,7 @@ export interface BusiTreeNode {
name: string
leaf?: boolean
weight: number
ext?: number
extraFlag: number
children?: BusiTreeNode[]
}

@ -1 +1 @@
Subproject commit d02a09a6780123598f4e1068cb6762ff9150b07d
Subproject commit bba26306bc91332d6c62e0638a28ed4bc653c13c

View File

@ -1,7 +1,7 @@
package io.dataease.constant;
public enum AuthEnum {
READ(1), EXPORT(4), MANAGE(7), AUTH(9);
READ(1), EXPORT(4), EXPORT_VIEW(5), EXPORT_DETAIL(6), MANAGE(7), AUTH(9);
private Integer weight;
public Integer getWeight() {

View File

@ -32,4 +32,6 @@ public class BusiNodeVO implements TreeResultModel<BusiNodeVO>, Serializable {
private String type;
@Schema(description = "子节点")
private List<BusiNodeVO> children;
@Schema(description = "独立权重")
private Integer ext;
}