mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
点击部门分页优化
This commit is contained in:
parent
695fccd99f
commit
9fdbefc89e
@ -182,6 +182,7 @@ export class SelectUserComponent implements OnInit {
|
|||||||
activeNode(data: NzFormatEmitEvent): void {
|
activeNode(data: NzFormatEmitEvent): void {
|
||||||
this.treeNodes.activated = data.node!;
|
this.treeNodes.activated = data.node!;
|
||||||
this.query.params.departmentId = data.node!.key;
|
this.query.params.departmentId = data.node!.key;
|
||||||
|
this.query.params.pageNumber = 1;
|
||||||
this.fetch();
|
this.fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -340,6 +340,7 @@ export class UsersComponent implements OnInit {
|
|||||||
activeNode(data: NzFormatEmitEvent): void {
|
activeNode(data: NzFormatEmitEvent): void {
|
||||||
this.treeNodes.activated = data.node!;
|
this.treeNodes.activated = data.node!;
|
||||||
this.query.params.departmentId = data.node!.key;
|
this.query.params.departmentId = data.node!.key;
|
||||||
|
this.query.params.pageNumber = 1;
|
||||||
this.fetch();
|
this.fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user