feat(user-management-relation): 在用户管理页面集成用户带人关系组件,并修复相关的诸多BUG和样式问题
This commit is contained in:
23
src/typings/api/system-manage.d.ts
vendored
23
src/typings/api/system-manage.d.ts
vendored
@@ -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;
|
||||
}
|
||||
>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user