Browse Source

菜单管理

beijing
陈鹏飞 3 years ago
parent
commit
16bd2ff9e3
  1. 5
      src/app/system-management/user/user.component.ts

5
src/app/system-management/user/user.component.ts

@ -42,6 +42,8 @@ export class UserComponent implements OnInit {
MaxResultCount: String(this.MaxResultCount), MaxResultCount: String(this.MaxResultCount),
OrganizaiotnId:this.OrganizaiotnId OrganizaiotnId:this.OrganizaiotnId
} }
console.log(this.OrganizaiotnId);
this.http.get('/api/services/app/User/GetAll', { this.http.get('/api/services/app/User/GetAll', {
params: params params: params
}).subscribe((data: any) => { }).subscribe((data: any) => {
@ -106,7 +108,8 @@ export class UserComponent implements OnInit {
} }
nzClick(event: NzFormatEmitEvent){ nzClick(event: NzFormatEmitEvent){
console.log(event); console.log(event);
this.OrganizaiotnId=event.node.origin.id
this.getAllUsers()
} }
//新增用户 //新增用户
addUser(): void { addUser(): void {

Loading…
Cancel
Save