Merge branch 'feature/BETERAN-BACKEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-backend-app-browser into feature/BETERAN-BACKEND-APP-BROWSER-init
This commit is contained in:
commit
5ad7b6ed80
|
@ -33,7 +33,7 @@ export class ReportDailyMockApi {
|
||||||
.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') || 'lastDayHoldingMoney';
|
||||||
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,11 @@ export class ReportDailyMockApi {
|
||||||
let dailys: any[] | null = cloneDeep(this._dailys);
|
let dailys: any[] | null = cloneDeep(this._dailys);
|
||||||
|
|
||||||
// Sort the dailys
|
// Sort the dailys
|
||||||
if (sort === 'sku' || sort === 'name' || sort === 'active') {
|
if (
|
||||||
|
sort === 'lastDayHoldingMoney' ||
|
||||||
|
sort === 'memberCharge' ||
|
||||||
|
sort === 'memberExchange'
|
||||||
|
) {
|
||||||
dailys.sort((a, b) => {
|
dailys.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,32 +2,38 @@
|
||||||
|
|
||||||
export const dailys = [
|
export const dailys = [
|
||||||
{
|
{
|
||||||
id: 'on00',
|
id: '8fcce528-d878-4cc8-99f7-bd3451ed5402',
|
||||||
totalPartnerCount: '5',
|
processDate: '2022-06-20',
|
||||||
totalHoldingMoney: 303675,
|
lastDayHoldingMoney: 22846133,
|
||||||
totalComp: 108933,
|
memberCharge: 0,
|
||||||
total: 412608,
|
memberExchange: 0,
|
||||||
branchCount: 1,
|
memberProfitLoss: 0,
|
||||||
divisionCount: 1,
|
partnerCharge: 0,
|
||||||
officeCount: 1,
|
partnerExchange: 0,
|
||||||
storeCount: 1,
|
partnerProfitLoss: 0,
|
||||||
memberCount: 1,
|
totalProfitLoss: 0,
|
||||||
nickname: 'on00',
|
passiveMoney: 0,
|
||||||
accountHolder: '11',
|
passiveComp: 0,
|
||||||
phoneNumber: '010-1111-1111',
|
casinoBetting: 0,
|
||||||
calculateType: '롤링',
|
casinoTie: 0,
|
||||||
ownCash: 50000,
|
casinoCancel: 0,
|
||||||
ownComp: 1711,
|
casinoAvailable: 0,
|
||||||
ownCoupon: 50000,
|
casinoWinning: 0,
|
||||||
gameMoney: 0,
|
casinoWinLoss: 0,
|
||||||
todayComp: 0,
|
casinoCommission: 0,
|
||||||
totalDeposit: 0,
|
casinoBetWinCalculate: 0,
|
||||||
totalWithdraw: 0,
|
slotBetting: 160000,
|
||||||
balance: 0,
|
slotCancel: 0,
|
||||||
registDate: '2022-06-12 15:38',
|
slotAvailable: 160000,
|
||||||
finalSigninDate: '',
|
slotWinning: 90280,
|
||||||
ip: '',
|
slotWinLoss: 69720,
|
||||||
state: '정상',
|
slotCommission: 8000,
|
||||||
note: '',
|
slotBetWinCalculate: 61720,
|
||||||
|
powerballBetting: 0,
|
||||||
|
powerballWinning: 0,
|
||||||
|
powerballWinLoss: 0,
|
||||||
|
powerballCommission: 0,
|
||||||
|
powerballBetWinCalculate: 0,
|
||||||
|
totalBetWinCalculate: 61720,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -14,10 +14,8 @@
|
||||||
현재접속자&쪽지전송
|
현재접속자&쪽지전송
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- Main -->
|
||||||
|
<div class="flex flex-auto overflow-hidden">
|
||||||
<!-- Main -->
|
|
||||||
<div class="flex flex-auto overflow-hidden">
|
|
||||||
<!-- Products list -->
|
<!-- Products list -->
|
||||||
<div
|
<div
|
||||||
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"
|
||||||
|
@ -176,4 +174,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,4 +17,39 @@ export const partnerRoutes: Route[] = [
|
||||||
Partners: PartnersResolver,
|
Partners: PartnersResolver,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'main-office',
|
||||||
|
component: ListComponent,
|
||||||
|
resolve: {
|
||||||
|
Partners: PartnersResolver,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'branch',
|
||||||
|
component: ListComponent,
|
||||||
|
resolve: {
|
||||||
|
Partners: PartnersResolver,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'division',
|
||||||
|
component: ListComponent,
|
||||||
|
resolve: {
|
||||||
|
Partners: PartnersResolver,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'office',
|
||||||
|
component: ListComponent,
|
||||||
|
resolve: {
|
||||||
|
Partners: PartnersResolver,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'store',
|
||||||
|
component: ListComponent,
|
||||||
|
resolve: {
|
||||||
|
Partners: PartnersResolver,
|
||||||
|
},
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -13,110 +13,32 @@
|
||||||
<div class="text-4xl font-extrabold tracking-tight">일일현황</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>
|
<button mat-icon-button (click)="__onClickSearch()">
|
||||||
<ng-container *ngIf="dailys$ | async as dailys">
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
<ng-container
|
</button>
|
||||||
*ngFor="let daily of dailys; trackBy: __trackByFn"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
|
||||||
>
|
|
||||||
<fieldset>
|
|
||||||
총 파트너수:{{ daily.totalPartnerCount }} 총 보유머니:{{
|
|
||||||
daily.totalHoldingMoney
|
|
||||||
}}
|
|
||||||
총 콤프:{{ daily.totalComp }} 총 합계:{{
|
|
||||||
daily.total
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</div>
|
||||||
</ng-container>
|
<!-- Search -->
|
||||||
</mat-form-field> -->
|
<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="40">40</mat-option>
|
<mat-option value="">전체</mat-option>
|
||||||
<mat-option value="60">60</mat-option>
|
<mat-option value="">파워볼</mat-option>
|
||||||
<mat-option value="80">80</mat-option>
|
<mat-option value="">카지노</mat-option>
|
||||||
<mat-option value="100">100</mat-option>
|
<mat-option value="">슬롯</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
|
||||||
<mat-select placeholder="레벨">
|
|
||||||
<mat-option value="level1">LV.1</mat-option>
|
|
||||||
<mat-option value="level2">LV.2</mat-option>
|
|
||||||
<mat-option value="level3">LV.3</mat-option>
|
|
||||||
<mat-option value="level4">LV.4</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<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-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<mat-select placeholder="제한">
|
|
||||||
<mat-option value="">카지노제한</mat-option>
|
|
||||||
<mat-option value="">슬롯제한</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<mat-select placeholder="입금">
|
|
||||||
<mat-option value="">계좌입금</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<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-form-field>
|
|
||||||
<!-- <mat-form-field>
|
|
||||||
<mat-select placeholder="입금">
|
|
||||||
<mat-option value="">계좌입금</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<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-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<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-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field>
|
|
||||||
<mat-select placeholder="내림차순">
|
|
||||||
<mat-option value="">내림차순</mat-option>
|
|
||||||
<mat-option value="">오름차순</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</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"
|
||||||
|
@ -127,21 +49,44 @@
|
||||||
matInput
|
matInput
|
||||||
[formControl]="searchInputControl"
|
[formControl]="searchInputControl"
|
||||||
[autocomplete]="'off'"
|
[autocomplete]="'off'"
|
||||||
[placeholder]="'Search'"
|
[placeholder]="'Search user'"
|
||||||
/>
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Add user button -->
|
<!-- Add user button -->
|
||||||
<button
|
<button
|
||||||
class="ml-4"
|
|
||||||
mat-flat-button
|
mat-flat-button
|
||||||
[color]="'primary'"
|
[color]="'primary'"
|
||||||
|
fxFlex
|
||||||
(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>
|
||||||
<button>엑셀저장</button>
|
<div>
|
||||||
<button>카지노머니확인</button>
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
검색하기
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
어제
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
오늘
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
7일
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
엑셀저장
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -157,29 +102,30 @@
|
||||||
<!-- 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 class="hidden sm:block"><mat-checkbox></mat-checkbox></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 md:block">수동머니</div>
|
||||||
<div class="hidden sm:block">아이디</div>
|
<div class="hidden md: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">카-윈로스(A)</div>
|
||||||
<div class="hidden sm:block">정산</div>
|
<div class="hidden lg:block">카-수수료(B)</div>
|
||||||
<div class="hidden sm:block">보유금</div>
|
<div class="hidden lg:block">카-벳윈정산(A-B)</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">슬-윈로스(D)</div>
|
||||||
<div class="hidden sm:block">총입출</div>
|
<div class="hidden lg:block">슬-수수료(E)</div>
|
||||||
<div class="hidden sm:block">로그</div>
|
<div class="hidden lg:block">슬-벳윈정산(D-E)</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">파-윈로스(H)</div>
|
||||||
|
<div class="hidden lg:block">파-수수료(I)</div>
|
||||||
|
<div class="hidden lg:block">파-벳윈정산(H-I)</div>
|
||||||
|
<div class="hidden lg:block">총벳윈정산</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Rows -->
|
<!-- Rows -->
|
||||||
<ng-container *ngIf="dailys$ | async as dailys">
|
<ng-container *ngIf="dailys$ | async as dailys">
|
||||||
|
@ -187,142 +133,88 @@
|
||||||
<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"
|
||||||
>
|
>
|
||||||
<div class="hidden sm:block truncate">
|
<div>{{ daily.processDate }}</div>
|
||||||
<mat-checkbox></mat-checkbox>
|
<div>
|
||||||
|
{{ daily.lastDayHoldingMoney }}
|
||||||
</div>
|
</div>
|
||||||
<!-- rate -->
|
<div>
|
||||||
<div class="hidden sm:block truncate">
|
충전{{ daily.memberCharge }}
|
||||||
<button
|
<hr style="margin: 7px 0px" />
|
||||||
mat-button
|
환전{{ daily.memberExchange }}
|
||||||
color="primary"
|
<hr style="margin: 7px 0px" />
|
||||||
matTooltip="요율확인
|
손익{{ daily.memberProfitLoss }}
|
||||||
카지노-바카라: 0%
|
|
||||||
카지노-룰렛: 0%
|
|
||||||
카지노-드레곤타이거: 0%
|
|
||||||
카지노-그외: 0%
|
|
||||||
슬롯: 0%
|
|
||||||
카지노루징: 0%
|
|
||||||
슬롯루징: 0%"
|
|
||||||
>
|
|
||||||
요율
|
|
||||||
</button>
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<!-- 관리 -->
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
<mat-form-field>
|
|
||||||
<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-select>
|
|
||||||
</mat-form-field>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
충전{{ daily.partnerCharge }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
환전{{ daily.partnerExchange }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
손익{{ daily.partnerProfitLoss }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 매장수 -->
|
<div class="hidden sm:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.totalProfitLoss }}
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ daily.branchCount }}
|
|
||||||
</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ daily.divisionCount }}
|
|
||||||
</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ daily.officeCount }}
|
|
||||||
</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ daily.storeCount }}
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 회원수 -->
|
<div class="hidden md:block">{{ daily.passiveMoney }}</div>
|
||||||
<div class="hidden sm:block truncate">
|
<div class="hidden md:block">
|
||||||
<button mat-flat-button [color]="'primary'">
|
{{ daily.passiveComp }}
|
||||||
{{ daily.memberCount }}
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- id -->
|
<div class="hidden md:block">
|
||||||
<ng-container *ngIf="users$ | async as users">
|
배팅{{ daily.casinoBetting }}
|
||||||
<ng-container
|
<hr style="margin: 7px 0px" />
|
||||||
*ngFor="let user of users; trackBy: __trackByFn"
|
타이{{ daily.casinoTie }}
|
||||||
>
|
<hr style="margin: 7px 0px" />
|
||||||
<div
|
취소{{ daily.casinoCancel }}
|
||||||
class="hidden sm:block truncate"
|
<hr style="margin: 7px 0px" />
|
||||||
(click)="viewUserDetail(user.id!)"
|
유효{{ daily.casinoAvailable }}
|
||||||
>
|
|
||||||
{{ daily.id }}
|
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
<div class="hidden lg:block">
|
||||||
</ng-container>
|
{{ daily.casinoWinning }}
|
||||||
<!-- nickname -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ daily.nickname }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- accountHolder -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.casinoWinLoss }}
|
||||||
{{ daily.accountHolder }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 연락처 -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.casinoCommission }}
|
||||||
{{ daily.phoneNumber }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 정산 -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.casinoBetWinCalculate }}
|
||||||
{{ daily.calculateType }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 보유금 -->
|
<div class="hidden md:block">
|
||||||
<div class="hidden sm:block truncate">
|
배팅{{ daily.slotBetting }}
|
||||||
캐쉬{{ daily.ownCash }} 콤프{{ daily.ownComp }} 쿠폰{{
|
<hr style="margin: 7px 0px" />
|
||||||
daily.ownCoupon
|
취소{{ daily.slotCancel }}
|
||||||
}}
|
<hr style="margin: 7px 0px" />
|
||||||
|
유효{{ daily.slotAvailable }}
|
||||||
</div>
|
</div>
|
||||||
<!-- gameMoney -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.slotWinning }}
|
||||||
{{ daily.gameMoney }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- casinoCash -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.slotWinLoss }}
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
게임머니확인
|
|
||||||
</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
게임머니회수
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- todayComp -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.slotCommission }}
|
||||||
{{ daily.todayComp }}P
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 총입출 -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.slotBetWinCalculate }}
|
||||||
입금{{ daily.totalDeposit }} 출금{{
|
|
||||||
daily.totalWithdraw
|
|
||||||
}}
|
|
||||||
차익{{ daily.balance }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- log -->
|
<div class="hidden md:block">
|
||||||
<div class="hidden sm:block truncate">
|
배팅{{ daily.powerballBetting }}
|
||||||
가입{{ daily.registDate }} 최종{{
|
|
||||||
daily.finalSigninDate
|
|
||||||
}}
|
|
||||||
IP{{ daily.ip }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- state -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.powerballWinning }}
|
||||||
{{ daily.state }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 회원수 -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.powerballWinLoss }}
|
||||||
{{ daily.memberCount }}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 비고 -->
|
<div class="hidden lg:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ daily.powerballCommission }}
|
||||||
<button mat-flat-button [color]="'primary'">
|
</div>
|
||||||
{{ daily.note }}
|
<div class="hidden lg:block">
|
||||||
</button>
|
{{ daily.powerballBetWinCalculate }}
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
{{ daily.totalBetWinCalculate }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -345,7 +237,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 dailys!
|
There are no data!
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -42,18 +42,22 @@ import { Router } from '@angular/router';
|
||||||
/* language=SCSS */
|
/* language=SCSS */
|
||||||
`
|
`
|
||||||
.inventory-grid {
|
.inventory-grid {
|
||||||
grid-template-columns: 60px auto 40px;
|
/* 날짜 보유 회원 */
|
||||||
|
grid-template-columns: 40px auto 30px;
|
||||||
|
|
||||||
@screen sm {
|
@screen sm {
|
||||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
|
/* 날짜 보유 회원 파트너 손익 머니 콤프 카배팅 */
|
||||||
|
grid-template-columns: 40px auto 30px 30px 30px 30px 30px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen md {
|
@screen md {
|
||||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
|
/* 날짜 보유 회원 파트너 손익 머니 콤프 카배팅 카당첨 */
|
||||||
|
grid-template-columns: 40px auto 30px 30px 30px 30px 30px 30px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
|
/* 날짜 보유 회원 파트너 손익 머니 콤프 카배팅 카당첨 카윈로스 카수수료 카정산 슬배팅 슬당첨 슬윈로스 슬수수료 슬정산 파배팅 파당첨 파윈로스 파수수료 파정산 총정산 */
|
||||||
|
grid-template-columns: 40px auto 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
@ -69,6 +73,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
dailys$!: Observable<Daily[] | undefined>;
|
dailys$!: Observable<Daily[] | undefined>;
|
||||||
users$!: Observable<User[] | undefined>;
|
users$!: Observable<User[] | undefined>;
|
||||||
|
|
||||||
|
__isSearchOpened = false;
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
searchInputControl = new FormControl();
|
searchInputControl = new FormControl();
|
||||||
selectedDaily?: Daily;
|
selectedDaily?: Daily;
|
||||||
|
@ -117,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: 'lastDayHoldingMoney',
|
||||||
start: 'asc',
|
start: 'asc',
|
||||||
disableClear: true,
|
disableClear: true,
|
||||||
});
|
});
|
||||||
|
@ -186,6 +191,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,29 +1,35 @@
|
||||||
export interface Daily {
|
export interface Daily {
|
||||||
id?: string;
|
id: string;
|
||||||
totalPartnerCount?: number;
|
processDate?: Date; // 처리날짜
|
||||||
totalHoldingMoney?: number;
|
lastDayHoldingMoney?: number; // 이전일보유금
|
||||||
totalComp?: number;
|
memberCharge?: number; // 회원충전
|
||||||
total?: number;
|
memberExchange?: number; // 회원환전
|
||||||
branchCount?: number;
|
memberProfitLoss?: number; // 회원손익
|
||||||
divisionCount?: number;
|
partnerCharge?: number; // 파트너충전
|
||||||
officeCount?: number;
|
partnerExchange?: number; // 파트너환전
|
||||||
storeCount?: number;
|
partnerProfitLoss?: number; // 파트너손익
|
||||||
memberCount?: number;
|
totalProfitLoss?: number; // 전체손익
|
||||||
nickname?: string;
|
passiveMoney?: number;
|
||||||
accountHolder?: string;
|
passiveComp?: number;
|
||||||
phoneNumber?: string;
|
casinoBetting?: number; // 카지노배팅
|
||||||
calculateType?: string;
|
casinoTie?: number; // 카지노타이
|
||||||
ownCash?: number;
|
casinoCancel?: number; // 카지노취소
|
||||||
ownComp?: number;
|
casinoAvailable?: number; // 카지노유효
|
||||||
ownCoupon?: number;
|
casinoWinning?: number; // 카지노당첨
|
||||||
gameMoney?: number;
|
casinoWinLoss?: number; // 카지노윈로스(A)
|
||||||
todayComp?: number;
|
casinoCommission?: number; // 카지노수수료(B)
|
||||||
totalDeposit?: number;
|
casinoBetWinCalculate?: number; // 카지노벳윈정산 (A-B)
|
||||||
totalWithdraw?: number;
|
slotBetting?: number; // 슬롯배팅
|
||||||
balance?: number;
|
slotCancel?: number; // 슬롯취소
|
||||||
registDate?: string;
|
slotAvailable?: number; // 슬롯유효
|
||||||
finalSigninDate?: string;
|
slotWinning?: number; // 슬롯당첨
|
||||||
ip?: string;
|
slotWinLoss?: number; // 슬롯윈로스(D)
|
||||||
state?: string;
|
slotCommission?: number; // 슬롯수수료(E)
|
||||||
note?: string;
|
slotBetWinCalculate?: number; // 슬롯벳윈정산(D-E)
|
||||||
|
powerballBetting?: number; // 파워볼배팅
|
||||||
|
powerballWinning?: number; // 파워볼당첨
|
||||||
|
powerballWinLoss?: number; // 파워볼윈로스(H)
|
||||||
|
powerballCommission?: number; // 파워볼수수료(I)
|
||||||
|
powerballBetWinCalculate?: number; // 파워볼벳윈정산(H-I)
|
||||||
|
totalBetWinCalculate?: number; // 총벳윈정산
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user