diff --git a/src/app/mock-api/apps/game/evolution/api.ts b/src/app/mock-api/apps/game/evolution/api.ts
index 6e1b1cb..6522ea9 100644
--- a/src/app/mock-api/apps/game/evolution/api.ts
+++ b/src/app/mock-api/apps/game/evolution/api.ts
@@ -42,7 +42,7 @@ export class GameEvolutionMockApi {
let evolutions: any[] | null = cloneDeep(this._evolutions);
// Sort the evolutions
- if (sort === 'signinId' || sort === 'nickname' || sort === 'gameId') {
+ if (sort === 'signinId') {
evolutions.sort((a, b) => {
const fieldA = a[sort].toString().toUpperCase();
const fieldB = b[sort].toString().toUpperCase();
diff --git a/src/app/mock-api/apps/game/evolution/data.ts b/src/app/mock-api/apps/game/evolution/data.ts
index bfba3ac..079fb3d 100644
--- a/src/app/mock-api/apps/game/evolution/data.ts
+++ b/src/app/mock-api/apps/game/evolution/data.ts
@@ -1,6 +1,188 @@
/* eslint-disable */
export const evolutions = [
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ signinId: 'aa200',
+ highRank: '[매장]kgon5',
+ gameId: 'ks1_1007',
+ nickname: 'aa200',
+ vendorName: '에볼류션 카지노',
+ gameName: '스타라이트 프린세스',
+ bettingId: '62acfwdcmdkei911dkd81221fb',
+ betStatus: '베팅',
+ betBeforeMoney: '77,831',
+ betWinMoney: '0',
+ betProfitLossMoney: '-8,000',
+ totalMoney: '69,831',
+ betMoney: '8,000',
+ betAfterMoney: '69,831',
+ comp: 'Y',
+ betHistorys: [
+ {
+ pickBetType: 'Player',
+ betMoney: '2,000',
+ betWinMoney: '0',
+ },
+ {
+ pickBetType: 'Player_Lighting',
+ betMoney: '400',
+ betWinMoney: '0',
+ },
+ ],
+ mainInfo: {
+ name: 'kgon1',
+ commissionRate: '2.80%',
+ point: '22.40P',
+ },
+ branchInfo: {
+ name: 'kgon2',
+ commissionRate: '0.20%',
+ point: '1.60P',
+ },
+ divisionInfo: {
+ name: 'kgon3',
+ commissionRate: '0.20%',
+ point: '1.60P',
+ },
+ officeInfo: {
+ name: 'kgon4',
+ commissionRate: '0.30%',
+ point: '2.40P',
+ },
+ storeInfo: {
+ name: 'kgon5',
+ commissionRate: '1.50',
+ point: '12.00P',
+ },
+ memberInfo: {
+ name: 'aa100',
+ commissionRate: '0.70',
+ point: '56.00P',
+ },
+ bettingRegistDate: '2022-06-20 11:43:37',
+ registrationDate: '2022-06-20 11:43:37',
+ },
+ {
+ id: '7eb7c859-1347-4337-96b6-9476a7e2ba3c',
+ signinId: 'aa200',
+ highRank: '[매장]kgon5',
+ gameId: 'ks1_1007',
+ nickname: 'aa200',
+ vendorName: '에볼류션 카지노',
+ gameName: '스타라이트 프린세스',
+ bettingId: '62acfwdcmdkei911dkd81221fb',
+ betStatus: '베팅',
+ betBeforeMoney: '82,831',
+ betWinMoney: '0',
+ betProfitLossMoney: '-5,000',
+ totalMoney: '77,831',
+ betMoney: '5,000',
+ betAfterMoney: '77,831',
+ comp: 'Y',
+ betHistorys: [
+ {
+ pickBetType: 'Player',
+ betMoney: '2,000',
+ betWinMoney: '0',
+ },
+ {
+ pickBetType: 'Player_Lighting',
+ betMoney: '400',
+ betWinMoney: '0',
+ },
+ ],
+ mainInfo: {
+ name: 'kgon1',
+ commissionRate: '2.80%',
+ point: '22.40P',
+ },
+ branchInfo: {
+ name: 'kgon2',
+ commissionRate: '0.20%',
+ point: '1.60P',
+ },
+ divisionInfo: {
+ name: 'kgon3',
+ commissionRate: '0.20%',
+ point: '1.60P',
+ },
+ officeInfo: {
+ name: 'kgon4',
+ commissionRate: '0.30%',
+ point: '2.40P',
+ },
+ storeInfo: {
+ name: 'kgon5',
+ commissionRate: '1.50',
+ point: '12.00P',
+ },
+ memberInfo: {
+ name: 'aa100',
+ commissionRate: '0.70',
+ point: '35.00P',
+ },
+ bettingRegistDate: '2022-06-20 11:43:37',
+ registrationDate: '2022-06-20 11:43:37',
+ },
+ {
+ id: '7eb7c859-1347-4327-96b6-9476a7e2ba3c',
+ signinId: 'aa200',
+ highRank: '[매장]kgon5',
+ gameId: 'ks1_1007',
+ nickname: 'aa200',
+ vendorName: '에볼류션 카지노',
+ gameName: '스타라이트 프린세스',
+ bettingId: '62acfwdcmdkei911dkd81221fb',
+ betStatus: '베팅',
+ betBeforeMoney: '80,931',
+ betWinMoney: '3,900',
+ betProfitLossMoney: '1,900',
+ totalMoney: '82,831',
+ betMoney: '2,000',
+ betAfterMoney: '78,931',
+ comp: 'Y',
+ betHistorys: [
+ {
+ pickBetType: 'Player',
+ betMoney: '2,000',
+ betWinMoney: '0',
+ },
+ {
+ pickBetType: 'Player_Lighting',
+ betMoney: '400',
+ betWinMoney: '0',
+ },
+ ],
+ mainInfo: {
+ name: 'kgon1',
+ commissionRate: '2.80%',
+ point: '22.40P',
+ },
+ branchInfo: {
+ name: 'kgon2',
+ commissionRate: '0.20%',
+ point: '1.60P',
+ },
+ divisionInfo: {
+ name: 'kgon3',
+ commissionRate: '0.20%',
+ point: '1.60P',
+ },
+ officeInfo: {
+ name: 'kgon4',
+ commissionRate: '0.30%',
+ point: '2.40P',
+ },
+ storeInfo: {
+ name: 'kgon5',
+ commissionRate: '1.50',
+ point: '12.00P',
+ },
+ bettingRegistDate: '2022-06-20 11:43:37',
+ registrationDate: '2022-06-20 11:43:37',
+ },
+
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'aa100',
diff --git a/src/app/mock-api/apps/game/slot/data.ts b/src/app/mock-api/apps/game/slot/data.ts
index 19fd0f4..9bffc3b 100644
--- a/src/app/mock-api/apps/game/slot/data.ts
+++ b/src/app/mock-api/apps/game/slot/data.ts
@@ -11,8 +11,8 @@ export const slots = [
gameName: '스타라이트 프린세스',
bettingId: '62acfwdcmdkei911dkd81221fb',
betStatus: '베팅',
- betPrevMoney: '187,730',
- bettingMoney: '1,000',
+ betBeforeMoney: '187,730',
+ betMoney: '1,000',
betAfterMoney: '186,930',
comp: 'Y',
mainInfo: {
@@ -53,8 +53,8 @@ export const slots = [
gameName: '스타라이트 프린세스',
bettingId: '62acfwdcmdkei911dkd81221fb',
betStatus: '베팅',
- betPrevMoney: '187,730',
- bettingMoney: '1,000',
+ betBeforeMoney: '187,730',
+ betMoney: '1,000',
betAfterMoney: '186,930',
comp: 'Y',
mainInfo: {
@@ -95,8 +95,8 @@ export const slots = [
gameName: '스타라이트 프린세스',
bettingId: '62acfwdcmdkei911dkd81221fb',
betStatus: '베팅',
- betPrevMoney: '187,730',
- bettingMoney: '1,000',
+ betBeforeMoney: '187,730',
+ betMoney: '1,000',
betAfterMoney: '186,930',
comp: 'Y',
mainInfo: {
diff --git a/src/app/modules/admin/game/evolution/components/list.component.html b/src/app/modules/admin/game/evolution/components/list.component.html
index ad89d92..3e3e8d2 100644
--- a/src/app/modules/admin/game/evolution/components/list.component.html
+++ b/src/app/modules/admin/game/evolution/components/list.component.html
@@ -10,54 +10,49 @@
-
+
+
+
+
-
- 2022-01-01 00:00~
- 2022-06-21 23:59
- 까지의 총 유효배팅:12,440,000원
- 배팅금액:12,751,000원
- 당첨:12,199,950원
- 취소:10,000원
- 배팅-당첨-취소:542,050원
- 본사롤링:60,202원
- 대본롤링:36,390원
- 부본롤링:24,828원
- 총판롤링:24,752원
- 매장롤링:13,451원
- 회원롤링:81,037원
- 롤링합계:240,660원
-
-
-
+
+
+
기간
+
+ 2022-06-01 00:00 ~ 2022-06-21 23:59 까지
+
+
+ 총 유효배팅 | 배팅금액
+
+
816,335원 | 816,335원
+
+ 당첨 | 취소 | 배팅-당첨-취소
+
+
717,335원 | 0원 98,847
+
+ 본사롤링 | 대본롤링 | 부본롤링 | 총판 롤링 | 매장롤링 | 회원롤링
+
+
+ 6,335원 | 1,663원 | 1,633원 | 2,304원 | 5,544원 | 6,119원
+
+
롤링합계
+
3,9041원
+
+
@@ -68,52 +63,87 @@
@@ -124,22 +154,49 @@
class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto"
>
- 0; else noEvolution">
+ 0; else noUser">
-
상부
-
유저
-
게임
-
금액
-
최종금액
-
배팅
-
데이터
-
콤프
-
롤링
-
+
상위
+
+ 게임코드ID
+
+ 사이트ID
+
+ 닉네임
+
+
+ 게임사이름
+
+ 게임 이름
+
+ 배팅고유코드
+
+
+ 배팅
+
+ 당첨
+
+ 손익
+
+
+ 배팅 전
+
+ 배팅 후
+
+ 최종금액
+
+
베팅
+
+ 데이터
+
+ 콤프
+
+
롤링
+
배팅시간
등록시간
@@ -148,90 +205,105 @@
-
{{ evolution.highRank }}
-
- 게임ID{{ evolution.gameId }}
+
+ {{ info.highRank }}
+
+
+ {{ info.gameId }}
- 사이트ID{{ evolution.signinId }}
+ {{ info.signinId }}
- 닉네임{{ evolution.nickname }}
+ {{ info.nickname }}
+
+
+ {{ info.vendorName }}
+
+ {{ info.gameName }}
+
+ {{ info.bettingId }}
+
+
+ {{ info.betMoney }}
+
+ {{ info.betWinMoney }}
+
+ {{ info.betProfitLossMoney }}
+
+
+ {{ info.betBeforeMoney }}
+
+ {{ info.betAfterMoney }}
+
+ {{ info.totalMoney }}
- {{ evolution.gameName }}
-
- {{ evolution.gameInfo1 }}
-
- {{ evolution.gameInfo2 }}
-
- {{ evolution.gameInfo3 }}
+
+ {{
+ betHistory.pickBetType
+ }}
+ {{
+ betHistory.betMoney
+ }}
+ {{
+ betHistory.betWinMoney
+ }}
+
-
- 배팅{{ evolution.betting }}
-
- 당첨{{ evolution.winning }}
-
- 손익{{ evolution.profitLoss }}
-
-
- 배팅전{{ evolution.beforeBetting }}
-
- 배팅후{{ evolution.afterBetting }}
-
- 최종금액{{ evolution.finalMoney }}
-
-
- {{ evolution.bettingInfo1 }}
-
- {{ evolution.bettingInfo2 }}
-
- {{ evolution.bettingInfo3 }}
-
-
+
-
-
- {{ evolution.comp }}
+
+ {{ info.comp }}
- 본사{{ evolution.mainofficeName }}({{
- evolution.mainofficePercent
- }}% : {{ evolution.mainofficePoint }}P)
-
- 대본{{ evolution.branchName }}({{
- evolution.branchPercent
- }}% : {{ evolution.branchPoint }}P)
-
- 부본{{ evolution.divisionName }}({{
- evolution.divisionPercent
- }}% : {{ evolution.divisionPoint }}P)
-
- 총판{{ evolution.officeName }}({{
- evolution.officePercent
- }}% : {{ evolution.officePoint }}P)
-
- 매장{{ evolution.storeName }}({{
- evolution.storePercent
- }}% : {{ evolution.storePoint }}P)
-
- 회원{{ evolution.memberName }}({{
- evolution.memberPercent
- }}% : {{ evolution.memberPoint }}P)
+
+ 본사: {{ info.mainInfo.name }}({{
+ info.mainInfo.commissionRate
+ }},{{ info.mainInfo.point }})
+
+ 대본: {{ info.branchInfo.name }}({{
+ info.branchInfo.commissionRate
+ }},{{ info.branchInfo.point }})
+
+ 부본: {{ info.divisionInfo.name }}({{
+ info.divisionInfo.commissionRate
+ }},{{ info.divisionInfo.point }})
+
+ 총판: {{ info.officeInfo.name }}({{
+ info.officeInfo.commissionRate
+ }},{{ info.officeInfo.point }})
+
+ 매장: {{ info.storeInfo.name }}({{
+ info.storeInfo.commissionRate
+ }},{{ info.storeInfo.point }})
- {{ evolution.bettingTime }}
+ {{ info.bettingRegistDate }}
- {{ evolution.registrationDate }}
+ {{ info.registrationDate }}
@@ -250,7 +322,7 @@
-
+
diff --git a/src/app/modules/admin/game/evolution/components/list.component.ts b/src/app/modules/admin/game/evolution/components/list.component.ts
index 845c4c6..b83ab3d 100644
--- a/src/app/modules/admin/game/evolution/components/list.component.ts
+++ b/src/app/modules/admin/game/evolution/components/list.component.ts
@@ -41,21 +41,20 @@ import { EvolutionService } from '../services/evolution.service';
`
.evolution-grid {
/* 상부 유저 게임 금액 최종 */
- grid-template-columns: 100px 140px auto 100px 100px;
-
+ grid-template-columns: 80px 100px 150px 80px 80px auto 100px 150px 120px;
@screen sm {
/* 상부 유저 게임 금액 최종 배팅 */
- grid-template-columns: 100px 140px auto 100px 100px 140px;
+ grid-template-columns: 80px 100px 150px 80px 80px auto 100px 150px 120px;
}
@screen md {
/* 상부 유저 게임 금액 최종 배팅 데이터 콤프 */
- grid-template-columns: 100px 140px auto 100px 100px 140px 100px 20px;
+ grid-template-columns: 80px 100px 150px 80px 80px auto 100px 150px 120px;
}
@screen lg {
- /* 상부 유저 게임 금액 최종 배팅 데이터 콤프 롤링 배팅시간 */
- grid-template-columns: 100px 140px auto 100px 100px 140px 100px 20px 140px 100px;
+ /* 상부 유저 게임 금액 최종 배팅 데이터&콤프 롤링 배팅시간 */
+ grid-template-columns: 80px 100px 150px 60px 60px auto 80px 150px 120px;
}
}
`,
diff --git a/src/app/modules/admin/game/evolution/evolution.module.ts b/src/app/modules/admin/game/evolution/evolution.module.ts
index 7fb584a..184f451 100644
--- a/src/app/modules/admin/game/evolution/evolution.module.ts
+++ b/src/app/modules/admin/game/evolution/evolution.module.ts
@@ -11,6 +11,8 @@ import { MatRippleModule } from '@angular/material/core';
import { MatSortModule } from '@angular/material/sort';
import { MatSelectModule } from '@angular/material/select';
import { MatTooltipModule } from '@angular/material/tooltip';
+import { MatDatepickerModule } from '@angular/material/datepicker';
+import { MatMomentDateModule } from '@angular/material-moment-adapter';
import { TranslocoModule } from '@ngneat/transloco';
@@ -37,6 +39,8 @@ import { evolutionRoutes } from './evolution.routing';
MatSortModule,
MatSelectModule,
MatTooltipModule,
+ MatDatepickerModule,
+ MatMomentDateModule,
],
})
export class EvolutionModule {}
diff --git a/src/app/modules/admin/game/evolution/models/evolution.ts b/src/app/modules/admin/game/evolution/models/evolution.ts
index b1b9a92..cc32f14 100644
--- a/src/app/modules/admin/game/evolution/models/evolution.ts
+++ b/src/app/modules/admin/game/evolution/models/evolution.ts
@@ -4,38 +4,49 @@ export interface Evolution {
highRank?: string;
gameId?: string;
nickname?: string;
+ vendorName?: string;
gameName?: string;
- gameInfo1?: string;
- gameInfo2?: string;
- gameInfo3?: string;
- betting?: number;
- winning?: number;
- profitLoss?: number;
- afterBetting?: number;
- beforeBetting?: number;
- finalMoney?: number;
- bettingInfo1?: string;
- bettingInfo2?: number;
- bettingInfo3?: number;
+ bettingId?: string;
+ betStatus?: string;
+ betMoney?: string;
+ betWinMoney?: string;
+ betBeforeMoney?: string;
+ betProfitLossMoney?: string;
+ betAfterMoney?: string;
+ totalMoney?: string;
comp?: string;
- mainofficeName?: string;
- mainofficePercent?: number;
- mainofficePoint?: number;
- branchName?: string;
- branchPercent?: number;
- branchPoint?: number;
- divisionName?: string;
- divisionPercent?: number;
- divisionPoint?: number;
- officeName?: string;
- officePercent?: number;
- officePoint?: number;
- storeName?: string;
- storePercent?: number;
- storePoint?: number;
- memberName?: string;
- memberPercent?: number;
- memberPoint?: number;
- bettingTime?: string;
+ betHistorys?: [
+ {
+ pickBetType?: string;
+ betMoney?: string;
+ betWinMoney?: string;
+ }
+ ];
+ mainInfo?: {
+ name?: string;
+ commissionRate?: string;
+ point?: string;
+ };
+ branchInfo?: {
+ name?: string;
+ commissionRate?: string;
+ point?: string;
+ };
+ divisionInfo?: {
+ name?: string;
+ commissionRate?: string;
+ point?: string;
+ };
+ officeInfo?: {
+ name?: string;
+ commissionRate?: string;
+ point?: string;
+ };
+ storeInfo?: {
+ name?: string;
+ commissionRate?: string;
+ point?: string;
+ };
+ bettingRegistDate?: string;
registrationDate?: string;
}
diff --git a/src/app/modules/admin/game/slot/components/list.component.html b/src/app/modules/admin/game/slot/components/list.component.html
index 607ab27..ab61417 100644
--- a/src/app/modules/admin/game/slot/components/list.component.html
+++ b/src/app/modules/admin/game/slot/components/list.component.html
@@ -27,6 +27,7 @@
@@ -156,6 +157,7 @@
상위
@@ -193,6 +195,7 @@
{{ slot.highRank }}
@@ -213,9 +216,9 @@
{{ slot.betStatus }}
- {{ slot.betPrevMoney }}
+ {{ slot.betBeforeMoney }}
- {{ slot.bettingMoney }}
+ {{ slot.betMoney }}
{{ slot.betAfterMoney }}
diff --git a/src/app/modules/admin/game/slot/models/slot.ts b/src/app/modules/admin/game/slot/models/slot.ts
index d46f32d..f5babb5 100644
--- a/src/app/modules/admin/game/slot/models/slot.ts
+++ b/src/app/modules/admin/game/slot/models/slot.ts
@@ -8,9 +8,9 @@ export interface Slot {
gameName?: string;
bettingId?: string;
betStatus?: string;
- betPrevMoney?: number;
- bettingMoney?: number;
- betAfterMoney?: number;
+ betBeforeMoney?: string;
+ betMoney?: string;
+ betAfterMoney?: string;
comp?: string;
mainInfo?: {
name?: string;
diff --git a/src/styles/styles.scss b/src/styles/styles.scss
index 416d855..15cab3f 100644
--- a/src/styles/styles.scss
+++ b/src/styles/styles.scss
@@ -3,10 +3,14 @@
/* @ Styles from this file will override 'vendors.scss' and Beteran's base styles.
/* ----------------------------------------------------------------------------------------------------- */
-.mat-form-field.bet-mat-form-field-wrapper-mb-0>.mat-form-field-wrapper {
+.mat-form-field.bet-mat-form-field-wrapper-mb-0 > .mat-form-field-wrapper {
margin-bottom: 0em;
}
.bet-mat-small-8 {
transform: scale(0.8);
}
+
+.bet-mat-small-6 {
+ transform: scale(0.6);
+}