Merge branch 'main' of http://192.168.1.22:3000/Web/cn-rdms-web
# Conflicts: # src/views/product/requirement/index.vue # src/views/system/user-management-relation/index.vue
This commit is contained in:
@@ -74,6 +74,7 @@ function createBatchDeleteQuery(ids: Array<string | number>) {
|
||||
|
||||
type UserSimpleResponse = Omit<Api.SystemManage.UserSimple, 'id'> & {
|
||||
id: string | number;
|
||||
deptId?: string | number | null;
|
||||
};
|
||||
|
||||
type RoleResponse = Omit<Api.SystemManage.Role, 'id'> & {
|
||||
@@ -120,7 +121,8 @@ type UserManagementRelationTreeResponse = Omit<
|
||||
function normalizeUserSimple(user: UserSimpleResponse): Api.SystemManage.UserSimple {
|
||||
return {
|
||||
...user,
|
||||
id: normalizeStringId(user.id)
|
||||
id: normalizeStringId(user.id),
|
||||
deptId: normalizeNullableStringId(user.deptId)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user