feat(user-management-relation): 在用户管理页面集成用户带人关系组件,并修复相关的诸多BUG和样式问题

This commit is contained in:
dk
2026-04-14 16:33:47 +08:00
parent 9b6f5955c3
commit a6fc7b48dc
7 changed files with 187 additions and 98 deletions

View File

@@ -40,8 +40,8 @@ declare namespace Api {
type RoleSearchParams = CommonType.RecordNullable<Pick<Role, 'name' | 'code' | 'status'>> &
PageParams & {
createTime?: string[];
};
createTime?: string[];
};
type SaveRoleParams = Pick<Role, 'name' | 'code' | 'sort' | 'status'> & {
remark?: string | null;
@@ -143,12 +143,12 @@ declare namespace Api {
type UserSearchParams = CommonType.RecordNullable<
Pick<User, 'status'> &
Pick<PageParams, 'pageNo' | 'pageSize'> & {
username?: string;
mobile?: string;
deptId?: number;
roleId?: number;
}
Pick<PageParams, 'pageNo' | 'pageSize'> & {
username?: string;
mobile?: string;
deptId?: number;
roleId?: number;
}
>;
type UserList = PageResult<User>;
@@ -387,7 +387,12 @@ declare namespace Api {
* 对应后端 UserManagementRelationQueryReqVO
*/
type UserManagementRelationQueryReqVO = CommonType.RecordNullable<
Pick<UserManagementRelation, 'managerUserId' | 'subordinateUserId'>
Pick<UserManagementRelation, 'managerUserId' | 'subordinateUserId'> & {
/** 是否来自带人关系的index组件 */
fromUserIndex: boolean;
/** 部门ID */
deptId?: number | null;
}
>;
/**