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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| /**
| * 部门查询参数
| */
| export interface DeptQuery extends PageQuery {
| deptName?: string;
| deptCategory?: string;
| status?: number;
| }
|
| /**
| * 部门类型
| */
| export interface DeptVO extends BaseEntity {
| id: number | string;
| parentName: string;
| parentId: number | string;
| children: DeptVO[];
| deptId: number | string;
| deptName: string;
| deptCategory: string;
| orderNum: number;
| leader: string;
| phone: string;
| email: string;
| status: string;
| delFlag: string;
| ancestors: string;
| menuId: string | number;
| }
|
| /**
| * 部门类型
| */
| export interface DeptTreeVO extends BaseEntity {
| id: number | string;
| label: string;
| parentId: number | string;
| weight: number;
| children: DeptTreeVO[];
| disabled: boolean;
| }
|
| /**
| * 部门表单类型
| */
| export interface DeptForm {
| parentName?: string;
| parentId?: number | string;
| children?: DeptForm[];
| deptId?: number | string;
| deptName?: string;
| deptCategory?: string;
| orderNum?: number;
| leader?: string;
| phone?: string;
| email?: string;
| status?: string;
| delFlag?: string;
| ancestors?: string;
| }
|
|