refactor(system/user): 分页列表调整排除用户 ID 列表参数为 roleId,改为后端根据 roleId 查询

This commit is contained in:
2025-02-14 23:01:43 +08:00
parent 3b1f1aaee4
commit bc063e624c
3 changed files with 5 additions and 9 deletions

View File

@@ -94,13 +94,13 @@ const emit = defineEmits<{
interface Props {
multiple?: boolean
value: string | string[]
excludeValue?: string[]
roleId?: string
}
// 查询表单
const queryForm = reactive<UserQuery>({
sort: ['t1.createTime,desc', 't1.id,desc'],
excludeUserIds: props.excludeValue,
roleId: props.roleId,
})
// 用户列表