mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-15 09:52:01 +08:00
feat: 角色管理(未完成)
This commit is contained in:
29
apps/web-antd/src/api/system/role/model.d.ts
vendored
Normal file
29
apps/web-antd/src/api/system/role/model.d.ts
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
export interface Role {
|
||||
roleId: number;
|
||||
roleName: string;
|
||||
roleKey: string;
|
||||
roleSort: number;
|
||||
dataScope: string;
|
||||
menuCheckStrictly: boolean;
|
||||
deptCheckStrictly: boolean;
|
||||
status: string;
|
||||
remark: string;
|
||||
createTime: string;
|
||||
// 用户是否存在此角色标识 默认不存在
|
||||
flag: boolean;
|
||||
superAdmin: boolean;
|
||||
}
|
||||
|
||||
export interface DeptOption {
|
||||
id: number;
|
||||
parentId: number;
|
||||
label: string;
|
||||
weight: number;
|
||||
children: DeptOption[];
|
||||
key: string; // 实际上不存在 ide报错
|
||||
}
|
||||
|
||||
export interface DeptResp {
|
||||
checkedKeys: number[];
|
||||
depts: DeptOption[];
|
||||
}
|
||||
Reference in New Issue
Block a user