新增菜单tab页

This commit is contained in:
2023-04-03 09:52:50 +08:00
parent 1875e1e117
commit 4dcad30d5d
5 changed files with 36 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ public interface FunctionState {
String DRIVER_NAME = "/home";
/**
* 权限资源类型 0-菜单、1-按钮、2-公共资源、3-服务间调用资源
* 权限资源类型 0-菜单、1-按钮、2-公共资源、3-服务间调用资源、4-tab页面
*/
int MENU = 0;
@@ -33,4 +33,6 @@ public interface FunctionState {
int IN_SERVICE = 3;
int TAB = 4;
}

View File

@@ -50,7 +50,7 @@ public class FunctionParam {
@ApiModelProperty("资源类型")
@NotNull(message = UserValidMessage.TYPE_NOT_BLANK)
@Range(min = 0, max = 3, message = UserValidMessage.PARAM_FORMAT_ERROR)
@Range(min = 0, max = 4, message = UserValidMessage.PARAM_FORMAT_ERROR)
private Integer type;
@ApiModelProperty("描述")

View File

@@ -49,4 +49,7 @@ public class FunctionVO implements Serializable {
@ApiModelProperty("子级")
List<FunctionVO> children;
@ApiModelProperty("tab数据")
List<FunctionVO> userTab;
}