From ffda32c5e881508e47458ca26209374a280461f8 Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Sun, 14 Aug 2022 07:22:47 +0000 Subject: [PATCH] bug fix --- .../components/list.component.html | 440 +++++++++++------- .../current-user/components/list.component.ts | 26 +- 2 files changed, 302 insertions(+), 164 deletions(-) diff --git a/src/app/modules/admin/member/current-user/components/list.component.html b/src/app/modules/admin/member/current-user/components/list.component.html index 5e411f9..d34a095 100644 --- a/src/app/modules/admin/member/current-user/components/list.component.html +++ b/src/app/modules/admin/member/current-user/components/list.component.html @@ -1,174 +1,296 @@ + +
+
- -
- -
- -
- -
- 현재접속자&쪽지전송 -
+
+ 현재접속자&쪽지전송
- -
- -
+ - - -
- -
-
번호
-
상부
-
- 아이디 -
- 닉네임 -
-
- 등급 -
- 레벨 -
-
현재위치
- - - - - - - -
- - - -
-
{{ currentUser.idx }}
-
{{ currentUser.highRank }}
-
-
- {{ currentUser.signinId }} -
-
- {{ currentUser.nickname }} -
- {{ currentUser.currentLocation }} -
-
- {{ currentUser.rank }} -
- {{ currentUser.level }} -
-
{{ currentUser.currentLocation }}
- - - - - - - -
-
-
-
- - -
+ + +
+ - -
- There are no data! -
-
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
번호 + {{ info.idx }} + 상위{{ info.highRank }} + 아이디 +
+ 닉네임 +
+ {{ info.signinId }} +
+ {{ info.nickname }} +
+ 등급 +
+ 레벨 +
+ 현재위치 +
+ {{ info.rank }} +
+ {{ info.level }} +
+ {{ info.currentLocation }} +
캐쉬{{ info.ownCash }} + 게임중머니 +
+ 콤프 +
+ {{ info.gameMoney }} +
+ {{ info.ownComp }} +
사이트{{ info.siteAddress }}카지노->캐쉬 + +
+ +
+ 쪽지보내기 +
+ 배팅내역 +
+ 로그아웃 +
+ +
+ +
+ +
+
+ +
= + new MatTableDataSource(); + currentUsers$!: Observable; users$!: Observable; @@ -79,6 +82,18 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { pagination?: CurrentUserPagination; targetForm!: FormGroup; + currentUserTableColumns: string[] = [ + 'idx', + 'highRank', + 'signinId', + 'level', + 'ownCash', + 'comp', + 'site', + 'casino', + 'etcBtn', + ]; + private _unsubscribeAll: Subject = new Subject(); /** @@ -122,6 +137,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { if (!curUsers) { return; } + this.currentUserDataSource.data = curUsers; this.targetForm.patchValue(curUsers[0]); // Mark for check