From 354e84dc863e25cccd57ef25d7e233bc2e4b82b1 Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Mon, 1 Aug 2022 11:05:00 +0000 Subject: [PATCH] =?UTF-8?q?=EC=BD=A4=ED=94=84=EC=82=AC=EC=9A=A9logs=20?= =?UTF-8?q?=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/comp-log/api.ts | 4 +- src/app/mock-api/apps/report/comp-log/data.ts | 61 ++-- .../comp-log/components/list.component.html | 333 +++++------------- .../comp-log/components/list.component.ts | 23 +- .../admin/report/comp-log/models/comp-log.ts | 41 +-- 5 files changed, 155 insertions(+), 307 deletions(-) diff --git a/src/app/mock-api/apps/report/comp-log/api.ts b/src/app/mock-api/apps/report/comp-log/api.ts index 197cef5..c2068b7 100644 --- a/src/app/mock-api/apps/report/comp-log/api.ts +++ b/src/app/mock-api/apps/report/comp-log/api.ts @@ -33,7 +33,7 @@ export class ReportCompLogMockApi { .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 ReportCompLogMockApi { let compLogs: any[] | null = cloneDeep(this._compLogs); // Sort the compLogs - if (sort === 'sku' || sort === 'name' || sort === 'active') { + if (sort === 'signinId' || sort === 'nickname' || sort === 'type') { compLogs.sort((a, b) => { const fieldA = a[sort].toString().toUpperCase(); const fieldB = b[sort].toString().toUpperCase(); diff --git a/src/app/mock-api/apps/report/comp-log/data.ts b/src/app/mock-api/apps/report/comp-log/data.ts index f927297..10d2325 100644 --- a/src/app/mock-api/apps/report/comp-log/data.ts +++ b/src/app/mock-api/apps/report/comp-log/data.ts @@ -2,32 +2,39 @@ export const compLogs = [ { - 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', + idx: 17183, + rank: '매장', + signinId: 'kgon5', + nickname: '매장', + rate: 1.5, + bettingMoney: 800, + beforeComp: 28418.37, + changeComp: 12.0, + afterComp: 28430.37, + type: '적립', + compContents: '슬롯콤프', + registrationDate: '2022-06-20 11:43:37', + memo: '', + bettingId: 'test1111', + bettingNumber: 5970, + }, + { + id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d', + idx: 17182, + rank: '총판', + signinId: 'kgon4', + nickname: '총판', + rate: 0.3, + bettingMoney: 800, + beforeComp: 32925.03, + changeComp: 2.4, + afterComp: 32927.43, + type: '적립', + compContents: '슬롯콤프', + registrationDate: '2022-06-20 11:43:37', + memo: '', + bettingId: 'test1111', + bettingNumber: 5970, }, ]; diff --git a/src/app/modules/admin/report/comp-log/components/list.component.html b/src/app/modules/admin/report/comp-log/components/list.component.html index 28dcac1..e58806d 100644 --- a/src/app/modules/admin/report/comp-log/components/list.component.html +++ b/src/app/modules/admin/report/comp-log/components/list.component.html @@ -10,113 +10,50 @@ -
콤프 사용 Logs
+
콤프사용Logs
- - - + +
+ 콤프합계:7,600콤프   +
+ +
+ + +
+ +
- - - 40 - 60 - 80 - 100 - - - - - LV.1 - LV.2 - LV.3 - LV.4 - - - - - 정상 - 대기 - 탈퇴 - 휴면 - 블랙 - 정지 - - - - - 카지노제한 - 슬롯제한 - - - - - 계좌입금 - - - + + 내용 카지노콤프 슬롯콤프 배팅콤프 첫충콤프 + 매충콤프 - - - +
+ +
-
@@ -157,29 +97,29 @@
- +
번호
+
+ 아이디 +
+ 닉네임 +
+
등급
- - - - - - - - - - - - - - - - - - +
배팅금액
+
+ 이전콤프 +
+ 변동콤프 +
+ 이후콤프 +
+
타입
+ + + + +
@@ -189,142 +129,41 @@
-