优化:角色新增类型字段,用于标识角色是系统内置或自定义

1.系统内置角色不允许禁用、删除、修改角色编码和角色数据权限
2.删除角色时,自动删除角色和菜单关联、自动删除角色和部门关联
This commit is contained in:
2023-03-19 22:58:51 +08:00
parent b345e4450d
commit ff24f3ba78
13 changed files with 102 additions and 31 deletions

View File

@@ -13,6 +13,7 @@ export interface RoleRecord {
dataScope: number;
deptIds?: Array<string>;
status?: number;
type?: number;
createUserString?: string;
createTime?: string;
updateUserString?: string;