From 733cb84af67712bf2ac77623746a0947bac42cad Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Mon, 29 Aug 2022 08:53:08 +0000 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20=ED=85=8C=EC=9D=B4=EB=B8=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../partner-sign-in-history.component.html | 95 ++++++++++++++++++- .../partner-sign-in-history.component.ts | 31 +++++- .../web-sign-in-history.component.html | 86 ++++++++++++++++- .../web-sign-in-history.component.ts | 25 ++++- .../withdraw-history.component.html | 90 +++++++++++++++++- .../components/withdraw-history.component.ts | 26 ++++- 6 files changed, 341 insertions(+), 12 deletions(-) diff --git a/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html index c75a8e9..8415341 100644 --- a/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html +++ b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html @@ -7,10 +7,99 @@ class="sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl overflow-hidden" >
- 검색 +
+ + + + + + + + + + + + + + + + +
-
- 파트너로그인내역 테이블 +
+ + + + + + + + + + + + + + + + + + + + + + + + +
번호 + + {{ idx + 1 }} + + 접속아이피 + {{ info.signInIp }} + 접속일자{{ info.signInAt }}비고{{ info.note }}
+
diff --git a/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts index 14a4dcd..8bca4af 100644 --- a/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts +++ b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts @@ -9,6 +9,7 @@ import { ViewEncapsulation, } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; +import { MatTableDataSource } from '@angular/material/table'; import { fuseAnimations } from '@fuse/animations'; import { Subject } from 'rxjs'; @@ -46,10 +47,22 @@ export class PartnerSignInHistoryComponent private _unsubscribeAll: Subject = new Subject(); + partnerSignInHistoryTableColumns: string[] = [ + 'no', + 'signInIp', + 'signInAt', + 'note', + ]; + + partnerSignInHistoryDataSource: MatTableDataSource = + new MatTableDataSource(); + /** * Constructor */ - constructor(private _changeDetectorRef: ChangeDetectorRef) {} + constructor(private _changeDetectorRef: ChangeDetectorRef) { + this.partnerSignInHistoryDataSource.data = PARTNER_HISTORY_DATA; + } // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks @@ -104,3 +117,19 @@ export class PartnerSignInHistoryComponent return item.id || index; } } + +export interface TempPartnerSignIn { + signInIp: string; + signInAt: string; + note: string; +} + +const PARTNER_HISTORY_DATA: TempPartnerSignIn[] = [ + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, + { signInIp: '27.109.115.156', signInAt: '2022-08-20 15:15', note: '' }, +]; diff --git a/src/app/modules/admin/member/user/components/web-sign-in-history.component.html b/src/app/modules/admin/member/user/components/web-sign-in-history.component.html index 4ebe771..2d79c2f 100644 --- a/src/app/modules/admin/member/user/components/web-sign-in-history.component.html +++ b/src/app/modules/admin/member/user/components/web-sign-in-history.component.html @@ -7,10 +7,90 @@ class="sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl overflow-hidden" >
- 검색 +
+ + + + + + + + + + + + + + + + + +
-
- 웹로그인내역 테이블 +
+ + + + + + + + + + + + + + + + + + + +
번호 + + {{ idx + 1 }} + + 접속아이피{{ info.signInIp }}접속일자{{ info.signInAt }}
+
diff --git a/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts b/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts index f740eed..484a494 100644 --- a/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts +++ b/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts @@ -9,6 +9,7 @@ import { ViewEncapsulation, } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; +import { MatTableDataSource } from '@angular/material/table'; import { fuseAnimations } from '@fuse/animations'; import { Subject } from 'rxjs'; @@ -46,10 +47,17 @@ export class WebSignInHistoryComponent private _unsubscribeAll: Subject = new Subject(); + webSignInHistoryTableColumns: string[] = ['no', 'signInIp', 'signInAt']; + + webSignInHistoryDataSource: MatTableDataSource = + new MatTableDataSource(); + /** * Constructor */ - constructor(private _changeDetectorRef: ChangeDetectorRef) {} + constructor(private _changeDetectorRef: ChangeDetectorRef) { + this.webSignInHistoryDataSource.data = WEB_SIGN_IN_HISTORY_DATA; + } // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks @@ -104,3 +112,18 @@ export class WebSignInHistoryComponent return item.id || index; } } + +export interface TempWebSignIn { + signInIp: string; + signInAt: string; +} + +const WEB_SIGN_IN_HISTORY_DATA: TempWebSignIn[] = [ + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, + { signInIp: '175.198.74.36', signInAt: '2022-08-21 14:14' }, +]; diff --git a/src/app/modules/admin/member/user/components/withdraw-history.component.html b/src/app/modules/admin/member/user/components/withdraw-history.component.html index 1867d17..4061417 100644 --- a/src/app/modules/admin/member/user/components/withdraw-history.component.html +++ b/src/app/modules/admin/member/user/components/withdraw-history.component.html @@ -7,10 +7,94 @@ class="sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl overflow-hidden" >
- 검색 +
+ + + + + + + + + + + + + + + + + + +
-
- 출금내역 테이블 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
번호 + {{ idx + 1 }} + 충전금액{{ info.amount }}신청일자{{ info.createAt }}결과{{ info.state }}
+ +
diff --git a/src/app/modules/admin/member/user/components/withdraw-history.component.ts b/src/app/modules/admin/member/user/components/withdraw-history.component.ts index b57844c..c118d7c 100644 --- a/src/app/modules/admin/member/user/components/withdraw-history.component.ts +++ b/src/app/modules/admin/member/user/components/withdraw-history.component.ts @@ -9,6 +9,7 @@ import { ViewEncapsulation, } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; +import { MatTableDataSource } from '@angular/material/table'; import { fuseAnimations } from '@fuse/animations'; import { Subject } from 'rxjs'; @@ -46,10 +47,17 @@ export class WithdrawHistoryComponent private _unsubscribeAll: Subject = new Subject(); + withdrawHistoryTableColumns: string[] = ['no', 'amount', 'createAt', 'state']; + + withdrawHistoryDataSource: MatTableDataSource = + new MatTableDataSource(); + /** * Constructor */ - constructor(private _changeDetectorRef: ChangeDetectorRef) {} + constructor(private _changeDetectorRef: ChangeDetectorRef) { + this.withdrawHistoryDataSource.data = WITHDRAW_HISTORY_DATA; + } // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks @@ -104,3 +112,19 @@ export class WithdrawHistoryComponent return item.id || index; } } + +export interface TempWithdraw { + amount: string; + createAt: string; + state: string; +} + +const WITHDRAW_HISTORY_DATA: TempWithdraw[] = [ + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, + { amount: '100,000', createAt: '2022-08-20 13:13', state: '완료' }, +];