Преглед на файлове

点击部门分页优化

shimingxy преди 1 месец
родител
ревизия
9fdbefc89e

+ 1 - 0
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts

@@ -182,6 +182,7 @@ export class SelectUserComponent implements OnInit {
   activeNode(data: NzFormatEmitEvent): void {
     this.treeNodes.activated = data.node!;
     this.query.params.departmentId = data.node!.key;
+    this.query.params.pageNumber = 1;
     this.fetch();
   }
 

+ 1 - 0
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts

@@ -340,6 +340,7 @@ export class UsersComponent implements OnInit {
   activeNode(data: NzFormatEmitEvent): void {
     this.treeNodes.activated = data.node!;
     this.query.params.departmentId = data.node!.key;
+    this.query.params.pageNumber = 1;
     this.fetch();
   }