1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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[];
| }
|
|