From 3b637282f373875427daae7993416c2d0aa56f67 Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Sat, 17 Sep 2022 11:48:25 +0000 Subject: [PATCH] =?UTF-8?q?=EC=B4=9D=20=ED=9A=8C=EC=9B=90=EC=88=98=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/admin/member/user/components/list.component.html | 5 ++++- .../modules/admin/member/user/components/list.component.ts | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/modules/admin/member/user/components/list.component.html b/src/app/modules/admin/member/user/components/list.component.html index cd4edff..6119884 100644 --- a/src/app/modules/admin/member/user/components/list.component.html +++ b/src/app/modules/admin/member/user/components/list.component.html @@ -27,7 +27,10 @@
- 총회원수:38   + 총회원수:{{ memberTotalCount }}   진행중금액:0   총 보유머니:21,437,873   diff --git a/src/app/modules/admin/member/user/components/list.component.ts b/src/app/modules/admin/member/user/components/list.component.ts index 1612c83..baccb8f 100644 --- a/src/app/modules/admin/member/user/components/list.component.ts +++ b/src/app/modules/admin/member/user/components/list.component.ts @@ -87,6 +87,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { @ViewChildren('chkUsers') chkUsers!: QueryList; + memberTotalCount: number = 0; listMembers$!: Observable; listMemberLevels$!: Observable; @@ -141,6 +142,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { this._activatedRoute.data.subscribe((data) => { let listMemberResult: ListMembersResponse.Result = data['listmembers']; this.listMembers$ = of(listMemberResult.getMembersList()); + this.memberTotalCount = listMemberResult.getTotalCount(); let listMemberLevelsResult: ListMemberLevelsResponse.Result = data['listMemberLevels'];