총 회원수 적용
This commit is contained in:
parent
e2ff707637
commit
3b637282f3
|
@ -27,7 +27,10 @@
|
|||
<!-- Actions -->
|
||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||
<!-- Search -->
|
||||
<span>총회원수:<span style="color: red">38</span>명</span>
|
||||
<span
|
||||
>총회원수:<span style="color: red">{{ memberTotalCount }}</span
|
||||
>명</span
|
||||
>
|
||||
<span>진행중금액:<span style="color: red">0</span>원</span>
|
||||
<span>총 보유머니:<span style="color: red">21,437,873</span>원</span
|
||||
>
|
||||
|
|
|
@ -87,6 +87,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
|
||||
@ViewChildren('chkUsers') chkUsers!: QueryList<MatCheckbox>;
|
||||
|
||||
memberTotalCount: number = 0;
|
||||
listMembers$!: Observable<MemberModel[] | undefined>;
|
||||
listMemberLevels$!: Observable<MemberLevel[] | undefined>;
|
||||
|
||||
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user