feat: 添加用户管理

This commit is contained in:
2025-02-11 22:33:38 +08:00
parent 04e6c52ec3
commit 1d0ef39d86
16 changed files with 1872 additions and 32 deletions

51
types/system.d.ts vendored
View File

@@ -171,3 +171,54 @@ export type RolePermissionInfo = {
/** 权限类型 */
permission_type: string;
};
/**用户信息类型 */
export type UserInfo = {
/**用户名 */
username: string;
/**用户昵称 */
nickname: string;
/**用户状态 */
status: number;
/**用户性别 */
gender: number;
/**用户头像 */
avatar: string;
/**用户数据库ID */
id: string;
/**用户邮箱 */
email: string;
/**用户手机号 */
phone: string;
/**创建时间 */
create_time: string;
/**修改时间 */
update_time: string;
/**部门ID */
department_id: string;
};
/** 部门角色关联信息类型 */
export type DepartmentRoleInfo = {
/** 主键ID */
id: string;
/** 部门ID */
department_id: string;
/** 部门名称 */
department_name: string;
/** 部门电话 */
department_phone: string;
/** 部门负责人 */
department_principal: string;
/** 部门邮箱 */
department_email: string;
/** 角色名称 */
role_name: string;
/** 角色编码 */
role_code: string;
/** 角色ID */
role_id: string;
/** 创建时间 */
create_time: string;
/** 更新时间 */
update_time: string;
};