수정
This commit is contained in:
parent
b3a792506b
commit
53dd2e8c98
|
@ -33,7 +33,7 @@ export class GameSlotMockApi {
|
||||||
.reply(({ request }) => {
|
.reply(({ request }) => {
|
||||||
// Get available queries
|
// Get available queries
|
||||||
const search = request.params.get('search');
|
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 order = request.params.get('order') || 'asc';
|
||||||
const page = parseInt(request.params.get('page') ?? '1', 10);
|
const page = parseInt(request.params.get('page') ?? '1', 10);
|
||||||
const size = parseInt(request.params.get('size') ?? '10', 10);
|
const size = parseInt(request.params.get('size') ?? '10', 10);
|
||||||
|
@ -42,7 +42,7 @@ export class GameSlotMockApi {
|
||||||
let slots: any[] | null = cloneDeep(this._slots);
|
let slots: any[] | null = cloneDeep(this._slots);
|
||||||
|
|
||||||
// Sort the slots
|
// Sort the slots
|
||||||
if (sort === 'sku' || sort === 'name' || sort === 'active') {
|
if (sort === 'signinId' || sort === 'nickname' || sort === 'gameId') {
|
||||||
slots.sort((a, b) => {
|
slots.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();
|
||||||
|
|
|
@ -2,40 +2,19 @@
|
||||||
|
|
||||||
export const slots = [
|
export const slots = [
|
||||||
{
|
{
|
||||||
startDate: '2022-06-01 00:00',
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
|
||||||
finishDate: '2022-06-21 23:59',
|
|
||||||
availableBetting: 11545000,
|
|
||||||
bettingMoney: 11811000,
|
|
||||||
winningMoney: 11405200,
|
|
||||||
cancel: 0,
|
|
||||||
betWinCancel: 405800,
|
|
||||||
mainofficeRolling: 58114,
|
|
||||||
branchRolling: 34514,
|
|
||||||
divisionRolling: 23058,
|
|
||||||
officeRolling: 22982,
|
|
||||||
storeRolling: 11787,
|
|
||||||
memberRolling: 80295,
|
|
||||||
totalrolling: 230750,
|
|
||||||
highRank: '[매장]kgon5',
|
highRank: '[매장]kgon5',
|
||||||
gameId: 'ks1_1007',
|
gameId: 'ks1_1007',
|
||||||
id: 'aa100',
|
signinId: 'aa100',
|
||||||
nickname: 'aa100',
|
nickname: 'aa100',
|
||||||
gameName: '프라그마틱슬롯',
|
gameName: '프라그마틱슬롯',
|
||||||
gameInfo1: '스타라이트 프린세스',
|
gameInfo1: '스타라이트 프린세스',
|
||||||
gameInfo2: '',
|
gameInfo2: '',
|
||||||
gameInfo3: '62afded8114e77723a93caa2',
|
gameInfo3: '62afded8114e77723a93caa2',
|
||||||
form: '배팅',
|
gameType: '배팅',
|
||||||
betting: 800,
|
betting: 800,
|
||||||
profitLoss: 0,
|
|
||||||
beforeWinning: 69831,
|
|
||||||
winning: 0,
|
|
||||||
afterWinning: 69831,
|
|
||||||
beforeBetting: 187730,
|
beforeBetting: 187730,
|
||||||
afterBetting: 186903,
|
afterBetting: 186903,
|
||||||
finalMoney: 69831,
|
|
||||||
bettingInfo1: 'Banker',
|
|
||||||
bettingInfo2: 8000,
|
|
||||||
bettingInfo3: 0,
|
|
||||||
data: '',
|
data: '',
|
||||||
comp: 'Y',
|
comp: 'Y',
|
||||||
mainofficeName: 'kgon1',
|
mainofficeName: 'kgon1',
|
||||||
|
@ -57,6 +36,6 @@ export const slots = [
|
||||||
memberPercent: '',
|
memberPercent: '',
|
||||||
memberPoint: '',
|
memberPoint: '',
|
||||||
bettingTime: '2022-06-20 11:43:37',
|
bettingTime: '2022-06-20 11:43:37',
|
||||||
registrationTime: '2022-06-20 11:45:02',
|
registrationDate: '2022-06-20 11:45:02',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -120,7 +120,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -120,7 +120,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'partnerDepositId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -120,7 +120,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'webDepositId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -116,7 +116,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -118,7 +118,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -40,18 +40,22 @@ import { EvolutionService } from '../services/evolution.service';
|
||||||
/* language=SCSS */
|
/* language=SCSS */
|
||||||
`
|
`
|
||||||
.inventory-grid {
|
.inventory-grid {
|
||||||
grid-template-columns: 60px auto 40px;
|
/* 상부 유저 게임 금액 최종 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px;
|
||||||
|
|
||||||
@screen sm {
|
@screen sm {
|
||||||
grid-template-columns: 60px auto 60px 72px;
|
/* 상부 유저 게임 금액 최종 배팅 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen md {
|
@screen md {
|
||||||
grid-template-columns: 60px 60px auto 112px 72px;
|
/* 상부 유저 게임 금액 최종 배팅 데이터 콤프 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px 140px 100px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
grid-template-columns: 60px 60px auto 112px 96px 96px 72px;
|
/* 상부 유저 게임 금액 최종 배팅 데이터 콤프 롤링 배팅시간 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px 140px 100px 20px 140px 100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
@ -114,7 +118,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -120,7 +120,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -10,48 +10,75 @@
|
||||||
<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">Slot</div>
|
<div class="text-4xl font-extrabold tracking-tight">슬롯배팅리스트</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">
|
||||||
<!-- Memo -->
|
<!-- Search -->
|
||||||
<!-- <mat-form-field>
|
<div>
|
||||||
<ng-container *ngIf="slots$ | async as slots">
|
<span style="color: blue">2022-01-01 00:00</span><span>~</span>
|
||||||
<ng-container *ngFor="let slot of slots; trackBy: __trackByFn">
|
<span style="color: blue">2022-06-21 23:59</span>
|
||||||
<div
|
<span
|
||||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
>까지의 총 유효배팅:<span style="color: red">12,440,000</span>원</span
|
||||||
>
|
>
|
||||||
<fieldset>
|
<span>배팅금액:<span style="color: red">12,751,000</span>원</span
|
||||||
{{ slot.startDate }}~{{ slot.finishDate }}까지의 총
|
>
|
||||||
유효배팅:{{ slot.availableBetting }}원, 배팅금액:{{
|
<span>당첨:<span style="color: red">12,199,950</span>원</span
|
||||||
slot.bettingMoney
|
>
|
||||||
}}원, 당첨:{{ slot.winning }}원, 취소:{{ slot.cancel }}원,
|
<span>취소:<span style="color: red">10,000</span>원</span>
|
||||||
배팅-당첨-취소:{{ slot.betWinCancel }}원, 본사롤링:{{
|
<span>배팅-당첨-취소:<span style="color: red">542,050</span>원</span
|
||||||
slot.mainofficeRolling
|
>
|
||||||
}}원, 대본롤링:{{ slot.branchRolling }}원, 부본롤링:{{
|
<span>본사롤링:<span style="color: red">60,202</span>원</span
|
||||||
slot.divisionRolling
|
>
|
||||||
}}원, 총판롤링:{{ slot.officeRolling }}원, 매장롤링:{{
|
<span>대본롤링:<span style="color: red">36,390</span>원</span
|
||||||
slot.storeRolling
|
>
|
||||||
}}원, 회원롤링:{{ slot.memberRolling }}원, 롤링합계:{{
|
<span>부본롤링:<span style="color: red">24,828</span>원</span
|
||||||
slot.totalrolling
|
>
|
||||||
}}원
|
<span>총판롤링:<span style="color: red">24,752</span>원</span
|
||||||
</fieldset>
|
>
|
||||||
</div>
|
<span>매장롤링:<span style="color: red">13,451</span>원</span
|
||||||
</ng-container>
|
>
|
||||||
</ng-container>
|
<span>회원롤링:<span style="color: red">81,037</span>원</span
|
||||||
</mat-form-field> -->
|
>
|
||||||
|
<span>롤링합계:<span style="color: red">240,660</span>원</span>
|
||||||
|
</div>
|
||||||
|
<button mat-icon-button (click)="__onClickSearch()">
|
||||||
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Memo -->
|
||||||
|
<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"
|
||||||
|
>
|
||||||
|
<!-- <mat-form-field
|
||||||
|
class="bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
|
<textarea matInput cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
|
||||||
|
</mat-form-field>
|
||||||
|
<button mat-flat-button [color]="'primary'">메모저장</button> -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Search -->
|
||||||
|
<div
|
||||||
|
*ngIf="__isSearchOpened"
|
||||||
|
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 -->
|
||||||
|
<div fxLayout="row wrap" class="items-center mt-6 sm:mt-0 sm:ml-0">
|
||||||
<!-- SelectBox -->
|
<!-- SelectBox -->
|
||||||
<mat-form-field>
|
<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>
|
||||||
<mat-option value="">슬롯</mat-option>
|
<mat-option value="">슬롯</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<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>
|
||||||
<mat-option value="">프라그마틱 슬롯</mat-option>
|
<mat-option value="">프라그마틱슬롯</mat-option>
|
||||||
<mat-option value="">마이크로게이밍 슬롯</mat-option>
|
<mat-option value="">마이크로게이밍슬롯</mat-option>
|
||||||
<mat-option value="">하바네로</mat-option>
|
<mat-option value="">하바네로</mat-option>
|
||||||
<mat-option value="">부운고</mat-option>
|
<mat-option value="">부운고</mat-option>
|
||||||
<mat-option value="">플레이손</mat-option>
|
<mat-option value="">플레이손</mat-option>
|
||||||
|
@ -63,17 +90,17 @@
|
||||||
<mat-option value="">릴렉스</mat-option>
|
<mat-option value="">릴렉스</mat-option>
|
||||||
<mat-option value="">블루프린트</mat-option>
|
<mat-option value="">블루프린트</mat-option>
|
||||||
<mat-option value="">ELK</mat-option>
|
<mat-option value="">ELK</mat-option>
|
||||||
<mat-option value="">아시안게이밍 슬롯</mat-option>
|
<mat-option value="">아시안게이밍슬롯</mat-option>
|
||||||
<mat-option value="">CQ9 슬롯</mat-option>
|
<mat-option value="">CQ9슬롯</mat-option>
|
||||||
<mat-option value="">레드타이거</mat-option>
|
<mat-option value="">레드타이거</mat-option>
|
||||||
<mat-option value="">드래곤 소프트</mat-option>
|
<mat-option value="">드래곤소프트</mat-option>
|
||||||
<mat-option value="">스피어헤드</mat-option>
|
<mat-option value="">스피어헤드</mat-option>
|
||||||
<mat-option value="">엘리시움</mat-option>
|
<mat-option value="">엘리시움</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<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>
|
||||||
<mat-option value="">배팅100만미만</mat-option>
|
<mat-option value="">배팅100만미만</mat-option>
|
||||||
<mat-option value="">배팅100-300만</mat-option>
|
<mat-option value="">배팅100-300만</mat-option>
|
||||||
<mat-option value="">배팅300-500만</mat-option>
|
<mat-option value="">배팅300-500만</mat-option>
|
||||||
|
@ -81,8 +108,8 @@
|
||||||
<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>
|
<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>
|
||||||
<mat-option value="">게임아이디</mat-option>
|
<mat-option value="">게임아이디</mat-option>
|
||||||
<mat-option value="">닉네임</mat-option>
|
<mat-option value="">닉네임</mat-option>
|
||||||
|
@ -91,7 +118,8 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
<mat-form-field
|
<mat-form-field
|
||||||
class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded min-w-64"
|
fxFlex
|
||||||
|
class="fuse-mat-rounded min-w-64 bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||||
>
|
>
|
||||||
<mat-icon
|
<mat-icon
|
||||||
class="icon-size-5"
|
class="icon-size-5"
|
||||||
|
@ -102,18 +130,19 @@
|
||||||
matInput
|
matInput
|
||||||
[formControl]="searchInputControl"
|
[formControl]="searchInputControl"
|
||||||
[autocomplete]="'off'"
|
[autocomplete]="'off'"
|
||||||
[placeholder]="'Search'"
|
[placeholder]="'Search user'"
|
||||||
/>
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Search button -->
|
<!-- Add user button -->
|
||||||
<button
|
<button
|
||||||
class="ml-4"
|
fxFlex
|
||||||
mat-flat-button
|
mat-flat-button
|
||||||
|
style="position: fixed; margin-top: 4px"
|
||||||
[color]="'primary'"
|
[color]="'primary'"
|
||||||
(click)="__createProduct()"
|
(click)="__createProduct()"
|
||||||
>
|
>
|
||||||
<!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> -->
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
<span class="ml-2 mr-1">검색하기</span>
|
<span class="ml-2 mr-1">Search</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -130,33 +159,19 @@
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div
|
<div
|
||||||
class="inventory-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="inventory-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"
|
||||||
matSort
|
|
||||||
matSortDisableClear
|
|
||||||
>
|
>
|
||||||
<div></div>
|
<div>상부</div>
|
||||||
<div class="hidden sm:block">상위</div>
|
<div>유저</div>
|
||||||
<div class="hidden sm:block">유저</div>
|
<div>게임</div>
|
||||||
<div class="hidden sm:block">게임</div>
|
<div>형식</div>
|
||||||
<div class="hidden sm:block">형식</div>
|
|
||||||
<div class="hidden sm:block">금액</div>
|
<div class="hidden sm:block">금액</div>
|
||||||
<div class="hidden sm:block">최종금액</div>
|
<div class="hidden md:block">콤프</div>
|
||||||
<div class="hidden sm:block">배팅</div>
|
<div class="hidden lg:block">롤링</div>
|
||||||
<div class="hidden sm:block">데이터</div>
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block">콤프</div>
|
배팅시간
|
||||||
<div class="hidden sm:block">롤링</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden sm:block">배팅시간 등록시간</div>
|
등록시간
|
||||||
<!-- <div class="hidden md:block" [mat-sort-header]="'sku'">SKU</div>
|
|
||||||
<div [mat-sort-header]="'name'">Name</div>
|
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'price'">
|
|
||||||
Price
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden lg:block" [mat-sort-header]="'stock'">
|
|
||||||
Stock
|
|
||||||
</div>
|
|
||||||
<div class="hidden lg:block" [mat-sort-header]="'active'">
|
|
||||||
Active
|
|
||||||
</div>
|
|
||||||
<div class="hidden sm:block">Details</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- Rows -->
|
<!-- Rows -->
|
||||||
<ng-container *ngIf="slots$ | async as slots">
|
<ng-container *ngIf="slots$ | async as slots">
|
||||||
|
@ -164,185 +179,66 @@
|
||||||
<div
|
<div
|
||||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||||
>
|
>
|
||||||
<!-- highRank -->
|
<div>{{ slot.highRank }}</div>
|
||||||
<div class="hidden sm:block truncate">
|
<div>
|
||||||
<button mat-flat-button [color]="'primary'">
|
게임ID{{ slot.gameId }}
|
||||||
{{ slot.highRank }}
|
<hr style="margin: 7px 0px" />
|
||||||
</button>
|
사이트ID{{ slot.signinId }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
닉네임{{ slot.nickname }}
|
||||||
</div>
|
</div>
|
||||||
<!-- userInfo -->
|
<div>
|
||||||
<div class="hidden sm:block truncate">
|
{{ slot.gameName }}
|
||||||
{{ slot.gameId }}
|
<hr style="margin: 7px 0px" />
|
||||||
{{ slot.id }}
|
|
||||||
{{ slot.nickname }}
|
|
||||||
</div>
|
|
||||||
<!-- game -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ slot.gameName }}
|
|
||||||
</button>
|
|
||||||
{{ slot.gameInfo1 }}
|
{{ slot.gameInfo1 }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
{{ slot.gameInfo2 }}
|
{{ slot.gameInfo2 }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
{{ slot.gameInfo3 }}
|
{{ slot.gameInfo3 }}
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
<!-- form -->
|
{{ slot.gameType }}
|
||||||
<!-- <div class="hidden sm:block truncate">
|
|
||||||
{{ evolution.form }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- money -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
배팅{{ slot.betting }} 당첨{{ slot.winning }} 손익{{
|
|
||||||
slot.profitLoss
|
|
||||||
}}
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden sm:block">
|
||||||
<!-- finalMoney -->
|
배팅전{{ slot.beforeBetting }}
|
||||||
<div class="hidden sm:block truncate">
|
<hr style="margin: 7px 0px" />
|
||||||
배팅 전{{ slot.beforeBetting }} 배팅 후{{
|
배팅{{ slot.betting }}
|
||||||
slot.afterBetting
|
<hr style="margin: 7px 0px" />
|
||||||
}}
|
배팅후{{ slot.afterBetting }}
|
||||||
최종금액{{ slot.finalMoney }}
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
<!-- betting -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ slot.bettingInfo1 }}
|
|
||||||
{{ slot.bettingInfo2 }}
|
|
||||||
{{ slot.bettingInfo3 }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- data -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ slot.data }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- comp -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ slot.comp }}
|
{{ slot.comp }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
<!-- rolling -->
|
본사{{ slot.mainofficeName }}({{
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
본사:{{ slot.mainofficeName }}({{
|
|
||||||
slot.mainofficePercent
|
slot.mainofficePercent
|
||||||
}}%,{{ slot.mainofficePoint }}P) 대본:{{
|
}}% : {{ slot.mainofficePoint }}P)
|
||||||
slot.branchName
|
<hr style="margin: 7px 0px" />
|
||||||
}}({{ slot.branchPercent }}%,{{ slot.branchPoint }}P)
|
대본{{ slot.branchName }}({{
|
||||||
부본:{{ slot.divisionName }}({{ slot.divisionPercent }}%,{{
|
slot.branchPercent
|
||||||
slot.divisionPoint
|
}}% : {{ slot.branchPoint }}P)
|
||||||
}}P) 총판:{{ slot.officeName }}({{ slot.officePercent }}%,{{
|
<hr style="margin: 7px 0px" />
|
||||||
slot.officePoint
|
부본{{ slot.divisionName }}({{
|
||||||
}}P) 매장:{{ slot.storeName }}({{ slot.storePercent }}%,{{
|
slot.divisionPercent
|
||||||
slot.storePoint
|
}}% : {{ slot.divisionPoint }}P)
|
||||||
}}P) 회원:{{ slot.memberName }}({{ slot.memberPercent }}%,{{
|
<hr style="margin: 7px 0px" />
|
||||||
slot.memberPoint
|
총판{{ slot.officeName }}({{
|
||||||
}}P)
|
slot.officePercent
|
||||||
|
}}% : {{ slot.officePoint }}P)
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
매장{{ slot.storeName }}({{
|
||||||
|
slot.storePercent
|
||||||
|
}}% : {{ slot.storePoint }}P)
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
회원{{ slot.memberName }}({{
|
||||||
|
slot.memberPercent
|
||||||
|
}}% : {{ slot.memberPoint }}P)
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
<!-- bettingTime -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ slot.bettingTime }}
|
{{ slot.bettingTime }}
|
||||||
{{ slot.registrationTime }}
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ slot.registrationDate }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Image -->
|
|
||||||
<!-- <div class="flex items-center">
|
|
||||||
<div
|
|
||||||
class="relative flex flex-0 items-center justify-center w-12 h-12 mr-6 rounded overflow-hidden border"
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
class="w-8"
|
|
||||||
*ngIf="user.thumbnail"
|
|
||||||
[alt]="'Product thumbnail image'"
|
|
||||||
[src]="user.thumbnail"
|
|
||||||
/>
|
|
||||||
<div
|
|
||||||
class="flex items-center justify-center w-full h-full text-xs font-semibold leading-none text-center uppercase"
|
|
||||||
*ngIf="!user.thumbnail"
|
|
||||||
>
|
|
||||||
NO THUMB
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- SKU -->
|
|
||||||
<!-- <div class="hidden md:block truncate">
|
|
||||||
{{ user.sku }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Name -->
|
|
||||||
<!-- <div class="truncate">
|
|
||||||
{{ user.name }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Price -->
|
|
||||||
<!-- <div class="hidden sm:block">
|
|
||||||
{{ user.price | currency: "USD":"symbol":"1.2-2" }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Stock -->
|
|
||||||
<!-- <div class="hidden lg:flex items-center">
|
|
||||||
<div class="min-w-4">{{ user.stock }}</div> -->
|
|
||||||
<!-- Low stock -->
|
|
||||||
<!-- <div
|
|
||||||
class="flex items-end ml-2 w-1 h-4 bg-red-200 rounded overflow-hidden"
|
|
||||||
*ngIf="user.stock < 20"
|
|
||||||
>
|
|
||||||
<div class="flex w-full h-1/3 bg-red-600"></div>
|
|
||||||
</div> -->
|
|
||||||
<!-- Medium stock -->
|
|
||||||
<!-- <div
|
|
||||||
class="flex items-end ml-2 w-1 h-4 bg-orange-200 rounded overflow-hidden"
|
|
||||||
*ngIf="user.stock >= 20 && user.stock < 30"
|
|
||||||
>
|
|
||||||
<div class="flex w-full h-2/4 bg-orange-400"></div>
|
|
||||||
</div> -->
|
|
||||||
<!-- High stock -->
|
|
||||||
<!-- <div
|
|
||||||
class="flex items-end ml-2 w-1 h-4 bg-green-100 rounded overflow-hidden"
|
|
||||||
*ngIf="user.stock >= 30"
|
|
||||||
>
|
|
||||||
<div class="flex w-full h-full bg-green-400"></div>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Active -->
|
|
||||||
<!-- <div class="hidden lg:block">
|
|
||||||
<ng-container *ngIf="user.active">
|
|
||||||
<mat-icon
|
|
||||||
class="text-green-400 icon-size-5"
|
|
||||||
[svgIcon]="'heroicons_solid:check'"
|
|
||||||
></mat-icon>
|
|
||||||
</ng-container>
|
|
||||||
<ng-container *ngIf="!user.active">
|
|
||||||
<mat-icon
|
|
||||||
class="text-gray-400 icon-size-5"
|
|
||||||
[svgIcon]="'heroicons_solid:x'"
|
|
||||||
></mat-icon>
|
|
||||||
</ng-container>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Details button -->
|
|
||||||
<!-- <div>
|
|
||||||
<button
|
|
||||||
class="min-w-10 min-h-7 h-7 px-2 leading-6"
|
|
||||||
mat-stroked-button
|
|
||||||
(click)="__toggleDetails(user.id)"
|
|
||||||
>
|
|
||||||
<mat-icon
|
|
||||||
class="icon-size-5"
|
|
||||||
[svgIcon]="
|
|
||||||
selectedUser?.id === user.id
|
|
||||||
? 'heroicons_solid:chevron-up'
|
|
||||||
: 'heroicons_solid:chevron-down'
|
|
||||||
"
|
|
||||||
></mat-icon>
|
|
||||||
</button>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -364,7 +260,7 @@
|
||||||
<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"
|
||||||
>
|
>
|
||||||
There are no slot!
|
There are no data!
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,18 +40,22 @@ import { SlotService } from '../services/slot.service';
|
||||||
/* language=SCSS */
|
/* language=SCSS */
|
||||||
`
|
`
|
||||||
.inventory-grid {
|
.inventory-grid {
|
||||||
grid-template-columns: 60px auto 40px;
|
/* 상부 유저 게임 형식 금액 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px;
|
||||||
|
|
||||||
@screen sm {
|
@screen sm {
|
||||||
grid-template-columns: 60px auto 60px 72px;
|
/* 상부 유저 게임 형식 금액 콤프 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen md {
|
@screen md {
|
||||||
grid-template-columns: 60px 60px auto 112px 72px;
|
/* 상부 유저 게임 형식 금액 콤프 롤링 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px 140px 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
grid-template-columns: 60px 60px auto 112px 96px 96px 72px;
|
/* 상부 유저 게임 형식 금액 콤프 롤링 */
|
||||||
|
grid-template-columns: 100px 140px auto 100px 100px 140px 100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
@ -66,6 +70,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
|
|
||||||
slots$!: Observable<Slot[] | undefined>;
|
slots$!: Observable<Slot[] | undefined>;
|
||||||
|
|
||||||
|
__isSearchOpened = false;
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
searchInputControl = new FormControl();
|
searchInputControl = new FormControl();
|
||||||
selectedSlot?: Slot;
|
selectedSlot?: Slot;
|
||||||
|
@ -113,7 +118,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'nickname',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
@ -178,6 +183,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
*/
|
*/
|
||||||
__toggleDetails(productId: string): void {}
|
__toggleDetails(productId: string): void {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* toggle the search
|
||||||
|
* Used in 'bar'
|
||||||
|
*/
|
||||||
|
__onClickSearch(): void {
|
||||||
|
this.__isSearchOpened = !this.__isSearchOpened;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Track by function for ngFor loops
|
* Track by function for ngFor loops
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,19 +1,6 @@
|
||||||
export interface Slot {
|
export interface Slot {
|
||||||
id?: string;
|
id: string;
|
||||||
startDate?: string;
|
signinId?: string;
|
||||||
finishDate?: string;
|
|
||||||
availableBetting?: number;
|
|
||||||
bettingMoney?: number;
|
|
||||||
winningMoney?: number;
|
|
||||||
cancel?: number;
|
|
||||||
betWinCancel?: number;
|
|
||||||
mainofficeRolling?: number;
|
|
||||||
branchRolling?: number;
|
|
||||||
divisionRolling?: number;
|
|
||||||
officeRolling?: number;
|
|
||||||
storeRolling?: number;
|
|
||||||
memberRolling?: number;
|
|
||||||
totalrolling?: number;
|
|
||||||
highRank?: string;
|
highRank?: string;
|
||||||
gameId?: string;
|
gameId?: string;
|
||||||
nickname?: string;
|
nickname?: string;
|
||||||
|
@ -21,19 +8,10 @@ export interface Slot {
|
||||||
gameInfo1?: string;
|
gameInfo1?: string;
|
||||||
gameInfo2?: string;
|
gameInfo2?: string;
|
||||||
gameInfo3?: string;
|
gameInfo3?: string;
|
||||||
form?: string;
|
gameType?: string;
|
||||||
betting?: number;
|
betting?: number;
|
||||||
profitLoss?: number;
|
|
||||||
beforeWinning?: number;
|
|
||||||
winning?: number;
|
|
||||||
afterWinning?: number;
|
|
||||||
beforeBetting?: number;
|
|
||||||
afterBetting?: number;
|
afterBetting?: number;
|
||||||
finalMoney?: number;
|
beforeBetting?: number;
|
||||||
bettingInfo1?: string;
|
|
||||||
bettingInfo2?: number;
|
|
||||||
bettingInfo3?: number;
|
|
||||||
data?: string;
|
|
||||||
comp?: string;
|
comp?: string;
|
||||||
mainofficeName?: string;
|
mainofficeName?: string;
|
||||||
mainofficePercent?: number;
|
mainofficePercent?: number;
|
||||||
|
@ -54,5 +32,5 @@ export interface Slot {
|
||||||
memberPercent?: number;
|
memberPercent?: number;
|
||||||
memberPoint?: number;
|
memberPoint?: number;
|
||||||
bettingTime?: string;
|
bettingTime?: string;
|
||||||
registrationTime?: string;
|
registrationDate?: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,7 +122,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'name',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -122,7 +122,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'name',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -122,7 +122,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'name',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -122,7 +122,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'name',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -129,7 +129,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'name',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
|
@ -122,7 +122,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
if (this._sort && this._paginator) {
|
if (this._sort && this._paginator) {
|
||||||
// Set the initial sort
|
// Set the initial sort
|
||||||
this._sort.sort({
|
this._sort.sort({
|
||||||
id: 'name',
|
id: 'signinId',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user