zhangwei
2025-08-20 115769e9ad3ddc64e21ad7285450c4c563c745ed
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
interface FormItemProps {
  id?: number;
  /** 用于判断是`新增`还是`修改` */
  title: string;
  higherDeptOptions: Record<string, unknown>[];
  cusExtendId?: number; // 组织机构ID
  name?: string; // 姓名
  nickname?: string; // 昵称
  phoneNumber?: string; // 电话号码
  remarks?: string; // 备注
  jobTitle?: string; // 职务
  avatar?: string; // 头像
  isEn: boolean; // 是否启用
  passWord?: string; // 密码
  isManager: boolean; // 是否是管理员 全权限
  signature?: 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 };