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
| interface FormItemProps {
| id?: number;
| /** 用于判断是`新增`还是`修改` */
| title: string;
| higherDeptOptions: Record<string, unknown>[];
| parentId: number;
| nickname: string;
| username: string;
| password: string;
| phone: string | number;
| email: string;
| sex: string | number;
| status: number;
| dept?: {
| id?: number;
| name?: string;
| };
| remark: string;
| }
| interface FormProps {
| formInline: FormItemProps;
| }
|
| interface RoleFormItemProps {
| username: string;
| nickname: string;
| /** 角色列表 */
| roleOptions: any[];
| /** 选中的角色列表 */
| ids: Record<number, unknown>[];
| }
| interface RoleFormProps {
| formInline: RoleFormItemProps;
| }
|
| export type { FormItemProps, FormProps, RoleFormItemProps, RoleFormProps };
|
|