에볼루션 페이지 수정
This commit is contained in:
parent
4d9c4d3fed
commit
938cc0a212
|
@ -42,7 +42,7 @@ export class GameEvolutionMockApi {
|
||||||
let evolutions: any[] | null = cloneDeep(this._evolutions);
|
let evolutions: any[] | null = cloneDeep(this._evolutions);
|
||||||
|
|
||||||
// Sort the evolutions
|
// Sort the evolutions
|
||||||
if (sort === 'signinId' || sort === 'nickname' || sort === 'gameId') {
|
if (sort === 'signinId') {
|
||||||
evolutions.sort((a, b) => {
|
evolutions.sort((a, b) => {
|
||||||
const fieldA = a[sort].toString().toUpperCase();
|
const fieldA = a[sort].toString().toUpperCase();
|
||||||
const fieldB = b[sort].toString().toUpperCase();
|
const fieldB = b[sort].toString().toUpperCase();
|
||||||
|
|
|
@ -1,6 +1,188 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export const evolutions = [
|
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',
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
|
||||||
signinId: 'aa100',
|
signinId: 'aa100',
|
||||||
|
|
|
@ -11,8 +11,8 @@ export const slots = [
|
||||||
gameName: '스타라이트 프린세스',
|
gameName: '스타라이트 프린세스',
|
||||||
bettingId: '62acfwdcmdkei911dkd81221fb',
|
bettingId: '62acfwdcmdkei911dkd81221fb',
|
||||||
betStatus: '베팅',
|
betStatus: '베팅',
|
||||||
betPrevMoney: '187,730',
|
betBeforeMoney: '187,730',
|
||||||
bettingMoney: '1,000',
|
betMoney: '1,000',
|
||||||
betAfterMoney: '186,930',
|
betAfterMoney: '186,930',
|
||||||
comp: 'Y',
|
comp: 'Y',
|
||||||
mainInfo: {
|
mainInfo: {
|
||||||
|
@ -53,8 +53,8 @@ export const slots = [
|
||||||
gameName: '스타라이트 프린세스',
|
gameName: '스타라이트 프린세스',
|
||||||
bettingId: '62acfwdcmdkei911dkd81221fb',
|
bettingId: '62acfwdcmdkei911dkd81221fb',
|
||||||
betStatus: '베팅',
|
betStatus: '베팅',
|
||||||
betPrevMoney: '187,730',
|
betBeforeMoney: '187,730',
|
||||||
bettingMoney: '1,000',
|
betMoney: '1,000',
|
||||||
betAfterMoney: '186,930',
|
betAfterMoney: '186,930',
|
||||||
comp: 'Y',
|
comp: 'Y',
|
||||||
mainInfo: {
|
mainInfo: {
|
||||||
|
@ -95,8 +95,8 @@ export const slots = [
|
||||||
gameName: '스타라이트 프린세스',
|
gameName: '스타라이트 프린세스',
|
||||||
bettingId: '62acfwdcmdkei911dkd81221fb',
|
bettingId: '62acfwdcmdkei911dkd81221fb',
|
||||||
betStatus: '베팅',
|
betStatus: '베팅',
|
||||||
betPrevMoney: '187,730',
|
betBeforeMoney: '187,730',
|
||||||
bettingMoney: '1,000',
|
betMoney: '1,000',
|
||||||
betAfterMoney: '186,930',
|
betAfterMoney: '186,930',
|
||||||
comp: 'Y',
|
comp: 'Y',
|
||||||
mainInfo: {
|
mainInfo: {
|
||||||
|
|
|
@ -10,54 +10,49 @@
|
||||||
<mat-progress-bar [mode]="'indeterminate'"></mat-progress-bar>
|
<mat-progress-bar [mode]="'indeterminate'"></mat-progress-bar>
|
||||||
</div>
|
</div>
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<div class="text-4xl font-extrabold tracking-tight">에볼루션배팅리스트</div>
|
<div class="text-4xl font-extrabold tracking-tight">에볼루션베팅리스트</div>
|
||||||
|
<!-- 슬롯 게임 요약 정보 -->
|
||||||
|
<div
|
||||||
|
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||||
|
></div>
|
||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
<div>
|
|
||||||
<span style="color: blue">2022-01-01 00:00</span><span>~</span>
|
|
||||||
<span style="color: blue">2022-06-21 23:59</span>
|
|
||||||
<span
|
|
||||||
>까지의 총 유효배팅:<span style="color: red">12,440,000</span>원</span
|
|
||||||
>
|
|
||||||
<span>배팅금액:<span style="color: red">12,751,000</span>원</span
|
|
||||||
>
|
|
||||||
<span>당첨:<span style="color: red">12,199,950</span>원</span
|
|
||||||
>
|
|
||||||
<span>취소:<span style="color: red">10,000</span>원</span>
|
|
||||||
<span>배팅-당첨-취소:<span style="color: red">542,050</span>원</span
|
|
||||||
>
|
|
||||||
<span>본사롤링:<span style="color: red">60,202</span>원</span
|
|
||||||
>
|
|
||||||
<span>대본롤링:<span style="color: red">36,390</span>원</span
|
|
||||||
>
|
|
||||||
<span>부본롤링:<span style="color: red">24,828</span>원</span
|
|
||||||
>
|
|
||||||
<span>총판롤링:<span style="color: red">24,752</span>원</span
|
|
||||||
>
|
|
||||||
<span>매장롤링:<span style="color: red">13,451</span>원</span
|
|
||||||
>
|
|
||||||
<span>회원롤링:<span style="color: red">81,037</span>원</span
|
|
||||||
>
|
|
||||||
<span>롤링합계:<span style="color: red">240,660</span>원</span>
|
|
||||||
</div>
|
|
||||||
<button mat-icon-button (click)="__onClickSearch()">
|
<button mat-icon-button (click)="__onClickSearch()">
|
||||||
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Memo -->
|
|
||||||
<div
|
<div
|
||||||
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||||
|
style="font-size: small"
|
||||||
>
|
>
|
||||||
<!-- <mat-form-field
|
<div class="flex items-center justify-center px-6 py-4 space-x-3">
|
||||||
class="bet-mat-form-field-wrapper-mb-0 mr-2"
|
<div class="grid grid-cols-2 gap-x-4 gap-y-1">
|
||||||
style="width: 100%"
|
<div class="font-medium tracking-tight text-secondary">기간</div>
|
||||||
>
|
<div class="font-medium" style="color: blue">
|
||||||
<textarea matInput cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
|
2022-06-01 00:00 ~ 2022-06-21 23:59 까지
|
||||||
</mat-form-field>
|
</div>
|
||||||
<button mat-flat-button [color]="'primary'">메모저장</button> -->
|
<div class="font-medium tracking-tight text-secondary">
|
||||||
|
총 유효배팅 | 배팅금액
|
||||||
|
</div>
|
||||||
|
<div class="font-medium" style="color: red">816,335원 | 816,335원</div>
|
||||||
|
<div class="font-medium tracking-tight text-secondary">
|
||||||
|
당첨 | 취소 | 배팅-당첨-취소
|
||||||
|
</div>
|
||||||
|
<div class="font-medium" style="color: red">717,335원 | 0원 98,847</div>
|
||||||
|
<div class="font-medium tracking-tight text-secondary">
|
||||||
|
본사롤링 | 대본롤링 | 부본롤링 | 총판 롤링 | 매장롤링 | 회원롤링
|
||||||
|
</div>
|
||||||
|
<div class="font-medium" style="color: red">
|
||||||
|
6,335원 | 1,663원 | 1,633원 | 2,304원 | 5,544원 | 6,119원
|
||||||
|
</div>
|
||||||
|
<div class="font-medium tracking-tight text-secondary">롤링합계</div>
|
||||||
|
<div class="font-medium">3,9041원</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
|
@ -66,6 +61,8 @@
|
||||||
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||||
>
|
>
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
|
<div fxLayout="row wrap" class="items-center mt-6 sm:mt-0 sm:ml-0">
|
||||||
|
<!-- SelectBox -->
|
||||||
<div fxLayout="row wrap" class="items-center mt-6 sm:mt-0 sm:ml-0">
|
<div fxLayout="row wrap" class="items-center mt-6 sm:mt-0 sm:ml-0">
|
||||||
<!-- SelectBox -->
|
<!-- SelectBox -->
|
||||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
|
@ -78,6 +75,38 @@
|
||||||
<mat-option value="">당첨1000만초과</mat-option>
|
<mat-option value="">당첨1000만초과</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
|
<mat-form-field
|
||||||
|
class="bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||||
|
[floatLabel]="'always'"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
matInput
|
||||||
|
[matDatepicker]="picker1"
|
||||||
|
[placeholder]="'Choose a date'"
|
||||||
|
/>
|
||||||
|
<mat-datepicker-toggle
|
||||||
|
matSuffix
|
||||||
|
[for]="picker1"
|
||||||
|
></mat-datepicker-toggle>
|
||||||
|
<mat-datepicker #picker1></mat-datepicker>
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-form-field
|
||||||
|
class="bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||||
|
[floatLabel]="'always'"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
matInput
|
||||||
|
[matDatepicker]="picker2"
|
||||||
|
[placeholder]="'Choose a date'"
|
||||||
|
/>
|
||||||
|
<mat-datepicker-toggle
|
||||||
|
matSuffix
|
||||||
|
[for]="picker2"
|
||||||
|
></mat-datepicker-toggle>
|
||||||
|
<mat-datepicker #picker2></mat-datepicker>
|
||||||
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="검색항목">
|
<mat-select placeholder="검색항목">
|
||||||
<mat-option value="">아이디</mat-option>
|
<mat-option value="">아이디</mat-option>
|
||||||
|
@ -116,6 +145,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Main -->
|
<!-- Main -->
|
||||||
<div class="flex flex-auto overflow-hidden">
|
<div class="flex flex-auto overflow-hidden">
|
||||||
|
@ -124,22 +154,49 @@
|
||||||
class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto"
|
class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto"
|
||||||
>
|
>
|
||||||
<ng-container *ngIf="evolutions$ | async as evolutions">
|
<ng-container *ngIf="evolutions$ | async as evolutions">
|
||||||
<ng-container *ngIf="evolutions.length > 0; else noEvolution">
|
<ng-container *ngIf="evolutions.length > 0; else noUser">
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div
|
<div
|
||||||
class="evolution-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
class="evolution-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
||||||
>
|
>
|
||||||
<div>상부</div>
|
<div class="hidden lg:block" style="font-size: x-small">상위</div>
|
||||||
<div>유저</div>
|
<div class="hidden lg:block" style="font-size: x-small">
|
||||||
<div>게임</div>
|
게임코드ID
|
||||||
<div class="hidden sm:block">금액</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden sm:block">최종금액</div>
|
사이트ID
|
||||||
<div class="hidden md:block">배팅</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden md:block">데이터</div>
|
닉네임
|
||||||
<div class="hidden md:block">콤프</div>
|
</div>
|
||||||
<div class="hidden lg:block">롤링</div>
|
<div class="hidden lg:block" style="font-size: x-small">
|
||||||
<div class="hidden lg:block">
|
게임사이름
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
게임 이름
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
배팅고유코드
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block" style="font-size: x-small">
|
||||||
|
배팅
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
당첨
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
손익
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block" style="font-size: x-small">
|
||||||
|
배팅 전
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
배팅 후
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
최종금액
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block" style="font-size: x-small">베팅</div>
|
||||||
|
<div class="hidden lg:block" style="font-size: x-small">
|
||||||
|
데이터
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
콤프
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block" style="font-size: x-small">롤링</div>
|
||||||
|
<div class="hidden lg:block" style="font-size: x-small">
|
||||||
배팅시간
|
배팅시간
|
||||||
<hr style="margin: 7px 0px" />
|
<hr style="margin: 7px 0px" />
|
||||||
등록시간
|
등록시간
|
||||||
|
@ -148,90 +205,105 @@
|
||||||
<!-- Rows -->
|
<!-- Rows -->
|
||||||
<ng-container *ngIf="evolutions$ | async as evolutions">
|
<ng-container *ngIf="evolutions$ | async as evolutions">
|
||||||
<ng-container
|
<ng-container
|
||||||
*ngFor="let evolution of evolutions; trackBy: __trackByFn"
|
*ngFor="let info of evolutions; trackBy: __trackByFn"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="evolution-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
class="evolution-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||||
|
style="font-size: x-small"
|
||||||
>
|
>
|
||||||
<div>{{ evolution.highRank }}</div>
|
<div class="hidden lg:block">
|
||||||
<div>
|
{{ info.highRank }}
|
||||||
게임ID{{ evolution.gameId }}
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
{{ info.gameId }}
|
||||||
<hr style="margin: 7px 0px" />
|
<hr style="margin: 7px 0px" />
|
||||||
사이트ID{{ evolution.signinId }}
|
{{ info.signinId }}
|
||||||
<hr style="margin: 7px 0px" />
|
<hr style="margin: 7px 0px" />
|
||||||
닉네임{{ evolution.nickname }}
|
{{ info.nickname }}
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
{{ info.vendorName }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ info.gameName }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ info.bettingId }}
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
{{ info.betMoney }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ info.betWinMoney }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ info.betProfitLossMoney }}
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
{{ info.betBeforeMoney }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ info.betAfterMoney }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ info.totalMoney }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{{ evolution.gameName }}
|
<div
|
||||||
<hr style="margin: 7px 0px" />
|
*ngFor="let betHistory of info.betHistorys"
|
||||||
{{ evolution.gameInfo1 }}
|
style="display: flex; flex-wrap: wrap; padding-left: 0"
|
||||||
<hr style="margin: 7px 0px" />
|
>
|
||||||
{{ evolution.gameInfo2 }}
|
<span style="flex: 0 0 33.33%">{{
|
||||||
<hr style="margin: 7px 0px" />
|
betHistory.pickBetType
|
||||||
{{ evolution.gameInfo3 }}
|
}}</span>
|
||||||
|
<span style="flex: 0 0 33.33%">{{
|
||||||
|
betHistory.betMoney
|
||||||
|
}}</span>
|
||||||
|
<span style="flex: 0 0 33.33%">{{
|
||||||
|
betHistory.betWinMoney
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block">
|
|
||||||
배팅{{ evolution.betting }}
|
|
||||||
<hr style="margin: 7px 0px" />
|
|
||||||
당첨{{ evolution.winning }}
|
|
||||||
<hr style="margin: 7px 0px" />
|
|
||||||
손익{{ evolution.profitLoss }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block">
|
<div class="hidden lg:block" style="text-align: center">
|
||||||
배팅전{{ evolution.beforeBetting }}
|
|
||||||
<hr style="margin: 7px 0px" />
|
|
||||||
배팅후{{ evolution.afterBetting }}
|
|
||||||
<hr style="margin: 7px 0px" />
|
|
||||||
최종금액{{ evolution.finalMoney }}
|
|
||||||
</div>
|
|
||||||
<div class="hidden md:block">
|
|
||||||
{{ evolution.bettingInfo1 }}
|
|
||||||
<hr style="margin: 7px 0px" />
|
|
||||||
{{ evolution.bettingInfo2 }}
|
|
||||||
<hr style="margin: 7px 0px" />
|
|
||||||
{{ evolution.bettingInfo3 }}
|
|
||||||
</div>
|
|
||||||
<div class="hidden md:block">
|
|
||||||
<button
|
<button
|
||||||
mat-flat-button
|
mat-flat-button
|
||||||
class="bet-mat-small-8"
|
class="bet-mat-small-6"
|
||||||
[color]="'warn'"
|
[color]="'warn'"
|
||||||
>
|
>
|
||||||
데이터확인
|
<span class="ml-2 mr-1">데이터확인</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden md:block">
|
{{ info.comp }}
|
||||||
{{ evolution.comp }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden lg:block">
|
<div class="hidden lg:block">
|
||||||
본사{{ evolution.mainofficeName }}({{
|
<span *ngIf="!!info.mainInfo">
|
||||||
evolution.mainofficePercent
|
본사: {{ info.mainInfo.name }}({{
|
||||||
}}% : {{ evolution.mainofficePoint }}P)
|
info.mainInfo.commissionRate
|
||||||
<hr style="margin: 7px 0px" />
|
}},{{ info.mainInfo.point }})</span
|
||||||
대본{{ evolution.branchName }}({{
|
>
|
||||||
evolution.branchPercent
|
<hr *ngIf="!!info.mainInfo" style="margin: 7px 0px" />
|
||||||
}}% : {{ evolution.branchPoint }}P)
|
<span *ngIf="!!info.branchInfo"
|
||||||
<hr style="margin: 7px 0px" />
|
>대본: {{ info.branchInfo.name }}({{
|
||||||
부본{{ evolution.divisionName }}({{
|
info.branchInfo.commissionRate
|
||||||
evolution.divisionPercent
|
}},{{ info.branchInfo.point }})</span
|
||||||
}}% : {{ evolution.divisionPoint }}P)
|
>
|
||||||
<hr style="margin: 7px 0px" />
|
<hr *ngIf="!!info.branchInfo" style="margin: 7px 0px" />
|
||||||
총판{{ evolution.officeName }}({{
|
<span *ngIf="!!info.divisionInfo"
|
||||||
evolution.officePercent
|
>부본: {{ info.divisionInfo.name }}({{
|
||||||
}}% : {{ evolution.officePoint }}P)
|
info.divisionInfo.commissionRate
|
||||||
<hr style="margin: 7px 0px" />
|
}},{{ info.divisionInfo.point }})</span
|
||||||
매장{{ evolution.storeName }}({{
|
>
|
||||||
evolution.storePercent
|
<hr *ngIf="!!info.divisionInfo" style="margin: 7px 0px" />
|
||||||
}}% : {{ evolution.storePoint }}P)
|
<span *ngIf="!!info.officeInfo"
|
||||||
<hr style="margin: 7px 0px" />
|
>총판: {{ info.officeInfo.name }}({{
|
||||||
회원{{ evolution.memberName }}({{
|
info.officeInfo.commissionRate
|
||||||
evolution.memberPercent
|
}},{{ info.officeInfo.point }})</span
|
||||||
}}% : {{ evolution.memberPoint }}P)
|
>
|
||||||
|
<hr *ngIf="!!info.officeInfo" style="margin: 7px 0px" />
|
||||||
|
<span *ngIf="!!info.storeInfo"
|
||||||
|
>매장: {{ info.storeInfo.name }}({{
|
||||||
|
info.storeInfo.commissionRate
|
||||||
|
}},{{ info.storeInfo.point }})</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden lg:block">
|
<div class="hidden lg:block">
|
||||||
{{ evolution.bettingTime }}
|
{{ info.bettingRegistDate }}
|
||||||
<hr style="margin: 7px 0px" />
|
<hr style="margin: 7px 0px" />
|
||||||
{{ evolution.registrationDate }}
|
{{ info.registrationDate }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -250,7 +322,7 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-template #noEvolution>
|
<ng-template #noUser>
|
||||||
<div
|
<div
|
||||||
class="p-8 sm:p-16 border-t text-4xl font-semibold tracking-tight text-center"
|
class="p-8 sm:p-16 border-t text-4xl font-semibold tracking-tight text-center"
|
||||||
>
|
>
|
||||||
|
|
|
@ -41,21 +41,20 @@ import { EvolutionService } from '../services/evolution.service';
|
||||||
`
|
`
|
||||||
.evolution-grid {
|
.evolution-grid {
|
||||||
/* 상부 유저 게임 금액 최종 */
|
/* 상부 유저 게임 금액 최종 */
|
||||||
grid-template-columns: 100px 140px auto 100px 100px;
|
grid-template-columns: 80px 100px 150px 80px 80px auto 100px 150px 120px;
|
||||||
|
|
||||||
@screen sm {
|
@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 {
|
@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 {
|
@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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
|
@ -11,6 +11,8 @@ import { MatRippleModule } from '@angular/material/core';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatSelectModule } from '@angular/material/select';
|
import { MatSelectModule } from '@angular/material/select';
|
||||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||||
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||||
|
import { MatMomentDateModule } from '@angular/material-moment-adapter';
|
||||||
|
|
||||||
import { TranslocoModule } from '@ngneat/transloco';
|
import { TranslocoModule } from '@ngneat/transloco';
|
||||||
|
|
||||||
|
@ -37,6 +39,8 @@ import { evolutionRoutes } from './evolution.routing';
|
||||||
MatSortModule,
|
MatSortModule,
|
||||||
MatSelectModule,
|
MatSelectModule,
|
||||||
MatTooltipModule,
|
MatTooltipModule,
|
||||||
|
MatDatepickerModule,
|
||||||
|
MatMomentDateModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class EvolutionModule {}
|
export class EvolutionModule {}
|
||||||
|
|
|
@ -4,38 +4,49 @@ export interface Evolution {
|
||||||
highRank?: string;
|
highRank?: string;
|
||||||
gameId?: string;
|
gameId?: string;
|
||||||
nickname?: string;
|
nickname?: string;
|
||||||
|
vendorName?: string;
|
||||||
gameName?: string;
|
gameName?: string;
|
||||||
gameInfo1?: string;
|
bettingId?: string;
|
||||||
gameInfo2?: string;
|
betStatus?: string;
|
||||||
gameInfo3?: string;
|
betMoney?: string;
|
||||||
betting?: number;
|
betWinMoney?: string;
|
||||||
winning?: number;
|
betBeforeMoney?: string;
|
||||||
profitLoss?: number;
|
betProfitLossMoney?: string;
|
||||||
afterBetting?: number;
|
betAfterMoney?: string;
|
||||||
beforeBetting?: number;
|
totalMoney?: string;
|
||||||
finalMoney?: number;
|
|
||||||
bettingInfo1?: string;
|
|
||||||
bettingInfo2?: number;
|
|
||||||
bettingInfo3?: number;
|
|
||||||
comp?: string;
|
comp?: string;
|
||||||
mainofficeName?: string;
|
betHistorys?: [
|
||||||
mainofficePercent?: number;
|
{
|
||||||
mainofficePoint?: number;
|
pickBetType?: string;
|
||||||
branchName?: string;
|
betMoney?: string;
|
||||||
branchPercent?: number;
|
betWinMoney?: string;
|
||||||
branchPoint?: number;
|
}
|
||||||
divisionName?: string;
|
];
|
||||||
divisionPercent?: number;
|
mainInfo?: {
|
||||||
divisionPoint?: number;
|
name?: string;
|
||||||
officeName?: string;
|
commissionRate?: string;
|
||||||
officePercent?: number;
|
point?: string;
|
||||||
officePoint?: number;
|
};
|
||||||
storeName?: string;
|
branchInfo?: {
|
||||||
storePercent?: number;
|
name?: string;
|
||||||
storePoint?: number;
|
commissionRate?: string;
|
||||||
memberName?: string;
|
point?: string;
|
||||||
memberPercent?: number;
|
};
|
||||||
memberPoint?: number;
|
divisionInfo?: {
|
||||||
bettingTime?: string;
|
name?: string;
|
||||||
|
commissionRate?: string;
|
||||||
|
point?: string;
|
||||||
|
};
|
||||||
|
officeInfo?: {
|
||||||
|
name?: string;
|
||||||
|
commissionRate?: string;
|
||||||
|
point?: string;
|
||||||
|
};
|
||||||
|
storeInfo?: {
|
||||||
|
name?: string;
|
||||||
|
commissionRate?: string;
|
||||||
|
point?: string;
|
||||||
|
};
|
||||||
|
bettingRegistDate?: string;
|
||||||
registrationDate?: string;
|
registrationDate?: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||||
|
style="font-size: small"
|
||||||
>
|
>
|
||||||
<div class="flex items-center justify-center px-6 py-4 space-x-3">
|
<div class="flex items-center justify-center px-6 py-4 space-x-3">
|
||||||
<div class="grid grid-cols-2 gap-x-4 gap-y-1">
|
<div class="grid grid-cols-2 gap-x-4 gap-y-1">
|
||||||
|
@ -156,6 +157,7 @@
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div
|
<div
|
||||||
class="slot-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
class="slot-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
||||||
|
style="font-size: x-small"
|
||||||
>
|
>
|
||||||
<div class="hidden lg:block">상위</div>
|
<div class="hidden lg:block">상위</div>
|
||||||
<div class="hidden lg:block">
|
<div class="hidden lg:block">
|
||||||
|
@ -193,6 +195,7 @@
|
||||||
<ng-container *ngFor="let slot of slots; trackBy: __trackByFn">
|
<ng-container *ngFor="let slot of slots; trackBy: __trackByFn">
|
||||||
<div
|
<div
|
||||||
class="slot-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
class="slot-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||||
|
style="font-size: small"
|
||||||
>
|
>
|
||||||
<div class="hidden lg:block">
|
<div class="hidden lg:block">
|
||||||
{{ slot.highRank }}
|
{{ slot.highRank }}
|
||||||
|
@ -213,9 +216,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden lg:block">{{ slot.betStatus }}</div>
|
<div class="hidden lg:block">{{ slot.betStatus }}</div>
|
||||||
<div class="hidden lg:block">
|
<div class="hidden lg:block">
|
||||||
{{ slot.betPrevMoney }}
|
{{ slot.betBeforeMoney }}
|
||||||
<hr style="margin: 7px 0px" />
|
<hr style="margin: 7px 0px" />
|
||||||
{{ slot.bettingMoney }}
|
{{ slot.betMoney }}
|
||||||
<hr style="margin: 7px 0px" />
|
<hr style="margin: 7px 0px" />
|
||||||
{{ slot.betAfterMoney }}
|
{{ slot.betAfterMoney }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,9 +8,9 @@ export interface Slot {
|
||||||
gameName?: string;
|
gameName?: string;
|
||||||
bettingId?: string;
|
bettingId?: string;
|
||||||
betStatus?: string;
|
betStatus?: string;
|
||||||
betPrevMoney?: number;
|
betBeforeMoney?: string;
|
||||||
bettingMoney?: number;
|
betMoney?: string;
|
||||||
betAfterMoney?: number;
|
betAfterMoney?: string;
|
||||||
comp?: string;
|
comp?: string;
|
||||||
mainInfo?: {
|
mainInfo?: {
|
||||||
name?: string;
|
name?: string;
|
||||||
|
|
|
@ -3,10 +3,14 @@
|
||||||
/* @ Styles from this file will override 'vendors.scss' and Beteran's base styles.
|
/* @ 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;
|
margin-bottom: 0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bet-mat-small-8 {
|
.bet-mat-small-8 {
|
||||||
transform: scale(0.8);
|
transform: scale(0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bet-mat-small-6 {
|
||||||
|
transform: scale(0.6);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user