【fix 66410】解决按部门选择用户组件,选择部分之后发请求不带搜索参数
This commit is contained in:
@@ -289,7 +289,8 @@ export default {
|
||||
// 根据选择的id来查询用户信息
|
||||
initQueryUserByDepId (selectedDepIds) {
|
||||
this.loading = true
|
||||
return queryUserByDepId({ id: selectedDepIds.toString() }).then((res) => {
|
||||
const params = this.getQueryParams()
|
||||
return queryUserByDepId({ id: selectedDepIds.toString(), ...params }).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
this.ipagination.total = res.result.length
|
||||
|
||||
Reference in New Issue
Block a user