From abefe9721f74f63c84011155fba009b2df2cd887 Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Mon, 1 Aug 2022 06:52:19 +0000 Subject: [PATCH] =?UTF-8?q?=EB=A8=B8=EB=8B=88=ED=99=9C=EB=8F=99=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/mock-api/apps/report/money-log/api.ts | 4 +- .../mock-api/apps/report/money-log/data.ts | 61 +-- .../money-log/components/list.component.html | 369 ++++++------------ .../money-log/components/list.component.ts | 23 +- .../report/money-log/models/money-log.ts | 35 +- .../report/money-log/money-log.module.ts | 8 +- 6 files changed, 178 insertions(+), 322 deletions(-) diff --git a/src/app/mock-api/apps/report/money-log/api.ts b/src/app/mock-api/apps/report/money-log/api.ts index 081cc10..0288f4c 100644 --- a/src/app/mock-api/apps/report/money-log/api.ts +++ b/src/app/mock-api/apps/report/money-log/api.ts @@ -33,7 +33,7 @@ export class ReportMoneyLogMockApi { .reply(({ request }) => { // Get available queries const search = request.params.get('search'); - const sort = request.params.get('sort') || 'name'; + const sort = request.params.get('sort') || 'signinId'; const order = request.params.get('order') || 'asc'; const page = parseInt(request.params.get('page') ?? '1', 10); const size = parseInt(request.params.get('size') ?? '10', 10); @@ -42,7 +42,7 @@ export class ReportMoneyLogMockApi { let moneyLogs: any[] | null = cloneDeep(this._moneyLogs); // Sort the moneyLogs - if (sort === 'sku' || sort === 'name' || sort === 'active') { + if (sort === 'signinId' || sort === 'nickname' || sort === 'momo') { moneyLogs.sort((a, b) => { const fieldA = a[sort].toString().toUpperCase(); const fieldB = b[sort].toString().toUpperCase(); diff --git a/src/app/mock-api/apps/report/money-log/data.ts b/src/app/mock-api/apps/report/money-log/data.ts index 3781426..8ff67eb 100644 --- a/src/app/mock-api/apps/report/money-log/data.ts +++ b/src/app/mock-api/apps/report/money-log/data.ts @@ -2,32 +2,39 @@ export const moneyLogs = [ { - id: 'on00', - totalPartnerCount: '5', - totalHoldingMoney: 303675, - totalComp: 108933, - total: 412608, - branchCount: 1, - divisionCount: 1, - officeCount: 1, - storeCount: 1, - memberCount: 1, - nickname: 'on00', - accountHolder: '11', - phoneNumber: '010-1111-1111', - calculateType: '롤링', - ownCash: 50000, - ownComp: 1711, - ownCoupon: 50000, - gameMoney: 0, - todayComp: 0, - totalDeposit: 0, - totalWithdraw: 0, - balance: 0, - registDate: '2022-06-12 15:38', - finalSigninDate: '', - ip: '', - state: '정상', - note: '', + id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c', + finalSigninDate: '2022-06-21 16:17:30', + signinId: 'aa100', + nickname: 'aa100', + history: '[출금]카지노 게임 입금', + beforeMoney: 67131, + changeMoney: -67131, + afterMoney: 0, + memo: '', + bettingNumber: 0, + }, + { + id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d', + finalSigninDate: '2022-06-19 22:03:10', + signinId: 'aa100', + nickname: 'aa100', + history: '[입금]카지노 게임 출금', + beforeMoney: 0, + changeMoney: 67131, + afterMoney: 67131, + memo: '', + bettingNumber: 0, + }, + { + id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de', + finalSigninDate: '2022-06-17 16:27:03', + signinId: 'onon6', + nickname: '가가가', + history: '[회수]관리자차감', + beforeMoney: 263737, + changeMoney: -263737, + afterMoney: 0, + memo: '', + bettingNumber: 0, }, ]; diff --git a/src/app/modules/admin/report/money-log/components/list.component.html b/src/app/modules/admin/report/money-log/components/list.component.html index 7b52769..007079a 100644 --- a/src/app/modules/admin/report/money-log/components/list.component.html +++ b/src/app/modules/admin/report/money-log/components/list.component.html @@ -10,113 +10,73 @@ -
머니 활동 Logs
+
머니활동 Logs
- - - + + +
+ + +
+ +
- - - 40 - 60 - 80 - 100 - - - - - LV.1 - LV.2 - LV.3 - LV.4 - - - - - 정상 - 대기 - 탈퇴 - 휴면 - 블랙 - 정지 - - - - - 카지노제한 - 슬롯제한 - - - - - 계좌입금 - - - - - 카지노콤프 - 슬롯콤프 - 배팅콤프 - 첫충콤프 - - - + +
+ + + + + +
+ +
+ + + + + +
+ + +
+ +
+ +
+
+ - -
@@ -157,29 +137,19 @@
- - - - - - - - - - - - - - - - - - - - +
날짜
+
+ 대상아이디 +
+ 대상닉네임 +
+
내역
+ + + + +
@@ -189,142 +159,29 @@
- - - - - - - - - - - - - - -