From babc00d88a34b17f6519a837a3278cb19782663a Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Tue, 27 Sep 2022 04:39:36 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9E=85=EA=B8=88=EB=82=B4=EC=97=AD,=20?= =?UTF-8?q?=EC=B6=9C=EA=B8=88=EB=82=B4=EC=97=AD=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deposit-history-compose.component.html | 142 +++++------------- .../deposit-history-compose.component.ts | 34 +++++ .../withdraw-history-compose.component.html | 142 +++++------------- .../withdraw-history-compose.component.ts | 34 +++++ 4 files changed, 144 insertions(+), 208 deletions(-) diff --git a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html index 9a8f338..30180ae 100644 --- a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html +++ b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html @@ -3,7 +3,7 @@
-
Deposit History
+
입금내역
- -
- - - To - -
- - Cc - - - Bcc - + + +
+
+
상태
+
충전금액
+
처리날짜
+
신청날짜
+
+ + +
+
{{ info.state }}
+
{{ info.chargeMoney }}
+
{{ info.processDate }}
+
{{ info.applicationDate }}
+
+
+
+
+
+
+ + +
+ There are no data!
- - - - - Cc - - - - - - Bcc - - - - - - Subject - - - - - - - -
-
- - - - - - - - -
- -
- - - - - - -
-
+
diff --git a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts index 380d329..1fb83a5 100644 --- a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts +++ b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts @@ -5,6 +5,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'deposit-history-compose', templateUrl: './deposit-history-compose.component.html', + styles: [ + /* language=SCSS */ + ` + .deposit-history-grid { + /* 상태 충전 처리 신청 */ + grid-template-columns: 150px 150px 150px 150px; + } + `, + ], encapsulation: ViewEncapsulation.None, }) export class DepositHistoryComposeComponent implements OnInit { @@ -29,6 +38,21 @@ export class DepositHistoryComposeComponent implements OnInit { private _formBuilder: FormBuilder ) {} + depositHistory = [ + { + state: 'ㄷㄱㄹㅇ', + chargeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + { + state: 'ㄷㄱㄹㅇ', + chargeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + ]; + // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks // ----------------------------------------------------------------------------------------------------- @@ -91,4 +115,14 @@ export class DepositHistoryComposeComponent implements OnInit { * Send the message */ send(): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } } diff --git a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html index 5eb6d19..eeea97f 100644 --- a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html +++ b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html @@ -3,7 +3,7 @@
-
Withdraw History
+
출금내역
- -
- - - To - -
- - Cc - - - Bcc - + + +
+
+
상태
+
환전금액
+
처리날짜
+
신청날짜
+
+ + +
+
{{ info.state }}
+
{{ info.exchangeMoney }}
+
{{ info.processDate }}
+
{{ info.applicationDate }}
+
+
+
+
+
+
+ + +
+ There are no data!
- - - - - Cc - - - - - - Bcc - - - - - - Subject - - - - - - - -
-
- - - - - - - - -
- -
- - - - - - -
-
+
diff --git a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts index 31e50d7..e8edbbd 100644 --- a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts +++ b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts @@ -5,6 +5,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'withdraw-history-compose', templateUrl: './withdraw-history-compose.component.html', + styles: [ + /* language=SCSS */ + ` + .withdraw-history-grid { + /* 상태 충전 처리 신청 */ + grid-template-columns: 150px 150px 150px 150px; + } + `, + ], encapsulation: ViewEncapsulation.None, }) export class WithdrawHistoryComposeComponent implements OnInit { @@ -29,6 +38,21 @@ export class WithdrawHistoryComposeComponent implements OnInit { private _formBuilder: FormBuilder ) {} + withdrawHistory = [ + { + state: 'ㄷㄱㄹㅇ', + exchangeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + { + state: 'ㄷㄱㄹㅇ', + exchangeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + ]; + // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks // ----------------------------------------------------------------------------------------------------- @@ -91,4 +115,14 @@ export class WithdrawHistoryComposeComponent implements OnInit { * Send the message */ send(): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } }