list item is refined
This commit is contained in:
parent
6778e3e8eb
commit
7a94cecb1d
|
@ -42,7 +42,11 @@ export class MemberCasinoMoneyMockApi {
|
||||||
let casinoMoneys: any[] | null = cloneDeep(this._casinoMoneys);
|
let casinoMoneys: any[] | null = cloneDeep(this._casinoMoneys);
|
||||||
|
|
||||||
// Sort the casinoMoneys
|
// Sort the casinoMoneys
|
||||||
if (sort === 'sku' || sort === 'name' || sort === 'active') {
|
if (
|
||||||
|
sort === 'signinId' ||
|
||||||
|
sort === 'nickname' ||
|
||||||
|
sort === 'accountHolder'
|
||||||
|
) {
|
||||||
casinoMoneys.sort((a, b) => {
|
casinoMoneys.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();
|
||||||
|
@ -139,24 +143,21 @@ export class MemberCasinoMoneyMockApi {
|
||||||
// Generate a new casinoMoney
|
// Generate a new casinoMoney
|
||||||
const newCasinoMoney = {
|
const newCasinoMoney = {
|
||||||
id: FuseMockApiUtils.guid(),
|
id: FuseMockApiUtils.guid(),
|
||||||
category: '',
|
signinId: '',
|
||||||
name: 'A New User',
|
nickname: '',
|
||||||
description: '',
|
highRank: '',
|
||||||
tags: [],
|
rank: '',
|
||||||
sku: '',
|
level: '',
|
||||||
barcode: '',
|
accountHolder: '',
|
||||||
brand: '',
|
phoneNumber: '',
|
||||||
vendor: '',
|
ownCash: 0,
|
||||||
stock: '',
|
ownComp: 0,
|
||||||
reserved: '',
|
ownCoupon: 0,
|
||||||
cost: '',
|
gameMoney: 0,
|
||||||
basePrice: '',
|
todayComp: 0,
|
||||||
taxPercent: '',
|
totalDeposit: 0,
|
||||||
price: '',
|
totalWithdraw: 0,
|
||||||
weight: '',
|
balance: 0,
|
||||||
thumbnail: '',
|
|
||||||
images: [],
|
|
||||||
active: false,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Unshift the new casinoMoney
|
// Unshift the new casinoMoney
|
||||||
|
|
|
@ -2,55 +2,363 @@
|
||||||
|
|
||||||
export const casinoMoneys = [
|
export const casinoMoneys = [
|
||||||
{
|
{
|
||||||
id: 'dsa01233',
|
id: '8fcce528-d878-4cc8-99f7-bd3451ed5402',
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
signinId: 'dsa01233',
|
||||||
name: 'Benton Mens Automatic Watch 44mm 5 ATM',
|
nickname: '아메리카노',
|
||||||
description:
|
highRank: 'xcxc2233',
|
||||||
'Velit irure deserunt aliqua officia. Eiusmod quis sunt magna laboris aliquip non dolor consequat cupidatat dolore esse. Consectetur mollit officia laborum fugiat nulla duis ad excepteur do aliqua fugiat. Fugiat non laboris exercitation ipsum in incididunt.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ADH-1921',
|
|
||||||
barcode: '8808746892183',
|
|
||||||
brand: 'e1789f32-9475-43e7-9256-451d2e3a2282',
|
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
|
||||||
stock: 30,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 390.63,
|
|
||||||
basePrice: 950,
|
|
||||||
taxPercent: 10,
|
|
||||||
price: 1045,
|
|
||||||
weight: 0.76,
|
|
||||||
thumbnail: null,
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-03-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-03-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-03-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
|
|
||||||
highRank: '[매장]xcxc2233',
|
|
||||||
rank: '회원',
|
rank: '회원',
|
||||||
level: 1,
|
level: 1,
|
||||||
nickname: '아메리카노',
|
|
||||||
accountHolder: '홍길동',
|
accountHolder: '홍길동',
|
||||||
contact: '01012341234',
|
phoneNumber: '010-1234-1234',
|
||||||
cash: 0,
|
ownCash: 0,
|
||||||
comp: 60020,
|
ownComp: 60020,
|
||||||
coupon: 0,
|
ownCoupon: 0,
|
||||||
gameMoney: 364750,
|
gameMoney: 364750,
|
||||||
todayComp: 0,
|
todayComp: 0,
|
||||||
deposit: 500000,
|
totalDeposit: 500000,
|
||||||
withdraw: 0,
|
totalWithdraw: 0,
|
||||||
margin: 500000,
|
balance: 500000,
|
||||||
accession: '2022-04-23 15:42',
|
},
|
||||||
final: '',
|
{
|
||||||
ip: '',
|
id: '8fcce528-d878-4cc8-99f7-bd3451ed5405',
|
||||||
state: '2022-06-07',
|
signinId: 'test111',
|
||||||
top: '정상',
|
nickname: '테스트111',
|
||||||
|
highRank: 'kgon5',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '테스트일',
|
||||||
|
phoneNumber: '',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 0,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 186930,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 1250000,
|
||||||
|
totalWithdraw: 500000,
|
||||||
|
balance: 750000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
|
||||||
|
signinId: 'kgon4',
|
||||||
|
nickname: '총판',
|
||||||
|
highRank: 'kgon3',
|
||||||
|
rank: '총판',
|
||||||
|
level: 4,
|
||||||
|
accountHolder: '총판',
|
||||||
|
phoneNumber: '010-0000-0000',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 32927,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 400000,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 100000,
|
||||||
|
balance: 400000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'ecf0b3df-38c3-45dc-972b-c509a3dc053e',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '5765080a-aaee-40b9-86be-c18b9d79c73c',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '6e71be88-b225-474c-91e5-111ced7d6220',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '51242500-6983-4a78-bff3-d278eb4e3a57',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '844a4395-233f-4ffb-85bd-7baa0e490a88',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '7520f1b6-3c45-46ef-a4d5-881971212d1e',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '683e41d8-6ebc-4e6a-a7c1-9189ca52ef19',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'd4e52238-292d-462b-b9bb-1751030132e2',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '98861dfc-0d21-4fd5-81aa-49785d003d95',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'a71f9b10-e884-4aad-9810-29fe10ce6d42',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '149e6db5-4ecc-4021-bc56-08b27514a746',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '655287de-2e24-41f3-a82f-8b08548ecc39',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'c215b427-d840-4537-aea1-a9bdfa49441b',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '8b1d9366-891e-49cd-aafb-ac65ce2741e2',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '54e29534-518b-4006-b72a-f21fac6c4d5e',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '6a5726e8-c467-45ea-92ab-d83235a06405',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'd7d1d6df-e91f-4c53-982a-2720bc2b4cdd',
|
||||||
|
signinId: 'dsa01233',
|
||||||
|
nickname: '아메리카노',
|
||||||
|
highRank: 'xcxc2233',
|
||||||
|
rank: '회원',
|
||||||
|
level: 1,
|
||||||
|
accountHolder: '홍길동',
|
||||||
|
phoneNumber: '010-1234-1234',
|
||||||
|
ownCash: 0,
|
||||||
|
ownComp: 60020,
|
||||||
|
ownCoupon: 0,
|
||||||
|
gameMoney: 364750,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 500000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 500000,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,16 +10,44 @@
|
||||||
<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">Casino 머니파악</div>
|
<div class="text-4xl font-extrabold tracking-tight">CASINO 머니파악</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 -->
|
||||||
|
<button mat-icon-button (click)="__onClickSearch()">
|
||||||
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Memo -->
|
<!-- Memo -->
|
||||||
<!-- <mat-form-field>
|
<!-- <div
|
||||||
<input matInput type="text" />
|
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>
|
</mat-form-field>
|
||||||
<button mat-flat-button [color]="'primary'">메모저장</button> -->
|
<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-option value="">아이디</mat-option>
|
||||||
|
<mat-option value="">닉네임</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</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="40">40</mat-option>
|
||||||
<mat-option value="60">60</mat-option>
|
<mat-option value="60">60</mat-option>
|
||||||
|
@ -27,7 +55,7 @@
|
||||||
<mat-option value="100">100</mat-option>
|
<mat-option value="100">100</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="level1">LV.1</mat-option>
|
<mat-option value="level1">LV.1</mat-option>
|
||||||
<mat-option value="level2">LV.2</mat-option>
|
<mat-option value="level2">LV.2</mat-option>
|
||||||
|
@ -35,7 +63,7 @@
|
||||||
<mat-option value="level4">LV.4</mat-option>
|
<mat-option value="level4">LV.4</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>
|
||||||
|
@ -44,19 +72,19 @@
|
||||||
<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-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-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>
|
||||||
|
@ -65,7 +93,7 @@
|
||||||
<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>
|
||||||
|
@ -78,7 +106,7 @@
|
||||||
<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>
|
||||||
|
@ -86,7 +114,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,13 +131,13 @@
|
||||||
</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">Add</span>
|
<span class="ml-2 mr-1">Search</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,23 +154,35 @@
|
||||||
<!-- 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">요율</div>
|
<div>요율</div>
|
||||||
<div class="hidden sm:block">관리</div>
|
<div>
|
||||||
<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 sm:block">연락처</div>
|
<!-- <hr style="margin: 7px 0px" />
|
||||||
<div class="hidden sm:block">보유금</div>
|
상태 -->
|
||||||
<div class="hidden sm:block">게임중머니</div>
|
</div>
|
||||||
<div class="hidden sm:block">카지노->캐쉬</div>
|
<div>
|
||||||
<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 sm:block">상태</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden sm:block">상부</div>
|
레벨
|
||||||
|
</div>
|
||||||
|
<div class="hidden sm:block">
|
||||||
|
예금주
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
연락처
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">보유금</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
게임중머니
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
금일콤프
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">총입출</div>
|
||||||
|
<div class="hidden lg:block">카지노->캐쉬</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Rows -->
|
<!-- Rows -->
|
||||||
<ng-container *ngIf="casinoMoneys$ | async as casinoMoneys">
|
<ng-container *ngIf="casinoMoneys$ | async as casinoMoneys">
|
||||||
|
@ -151,141 +192,63 @@
|
||||||
<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"
|
||||||
>
|
>
|
||||||
<!-- management -->
|
<div>요율</div>
|
||||||
<!-- rate -->
|
<div>
|
||||||
<div class="hidden sm:block truncate">
|
{{ casinoMoney.signinId }}
|
||||||
<button
|
<hr style="margin: 7px 0px" />
|
||||||
mat-button
|
|
||||||
color="primary"
|
|
||||||
matTooltip="요율확인
|
|
||||||
카지노-바카라: 0%
|
|
||||||
카지노-룰렛: 0%
|
|
||||||
카지노-드레곤타이거: 0%
|
|
||||||
카지노-그외: 0%
|
|
||||||
슬롯: 0%
|
|
||||||
카지노루징: 0%
|
|
||||||
슬롯루징: 0%"
|
|
||||||
>
|
|
||||||
요율
|
|
||||||
</button>
|
|
||||||
<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>
|
|
||||||
<!-- highRank -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button
|
|
||||||
mat-button
|
|
||||||
color="primary"
|
|
||||||
matTooltip="상부트리
|
|
||||||
[본사]
|
|
||||||
[대본]
|
|
||||||
[부본]
|
|
||||||
[총판]
|
|
||||||
[매장]"
|
|
||||||
>
|
|
||||||
{{ casinoMoney.highRank }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<!-- rank -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ casinoMoney.rank }}
|
|
||||||
</div>
|
|
||||||
<!-- level -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
LV.{{ casinoMoney.level }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- id -->
|
|
||||||
<ng-container *ngIf="users$ | async as users">
|
|
||||||
<ng-container
|
|
||||||
*ngFor="let user of users; trackBy: __trackByFn"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="hidden sm:block truncate"
|
|
||||||
(click)="viewUserDetail(user.id!)"
|
|
||||||
>
|
|
||||||
{{ casinoMoney.id }}
|
|
||||||
</div>
|
|
||||||
</ng-container>
|
|
||||||
</ng-container>
|
|
||||||
<!-- nickname -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ casinoMoney.nickname }}
|
{{ casinoMoney.nickname }}
|
||||||
|
<!-- <hr style="margin: 7px 0px" />
|
||||||
|
{{ casinoMoney.state }} -->
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
<!-- accountHolder -->
|
{{ casinoMoney.highRank }}
|
||||||
<div class="hidden sm:block truncate">
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ casinoMoney.rank }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
LV{{ casinoMoney.level }}
|
||||||
|
</div>
|
||||||
|
<div class="hidden sm:block">
|
||||||
{{ casinoMoney.accountHolder }}
|
{{ casinoMoney.accountHolder }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ casinoMoney.phoneNumber }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
<!-- contact -->
|
캐쉬{{ casinoMoney.ownCash }}
|
||||||
<div class="hidden sm:block truncate">
|
<hr style="margin: 7px 0px" />
|
||||||
{{ casinoMoney.contact }}
|
콤프{{ casinoMoney.ownComp }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
쿠폰{{ casinoMoney.ownCoupon }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
<!-- reserve -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
캐쉬{{ casinoMoney.cash }} 콤프{{ casinoMoney.comp }} 쿠폰{{
|
|
||||||
casinoMoney.coupon
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- gameMoney -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ casinoMoney.gameMoney }}
|
{{ casinoMoney.gameMoney }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ casinoMoney.todayComp }}P
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
<!-- casinoCash -->
|
입금{{ casinoMoney.totalDeposit }}
|
||||||
<div class="hidden sm:block truncate">
|
<hr style="margin: 7px 0px" />
|
||||||
<button mat-flat-button [color]="'primary'">
|
출금{{ casinoMoney.totalWithdraw }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
차익{{ casinoMoney.balance }}
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
<button
|
||||||
|
mat-flat-button
|
||||||
|
class="bet-mat-small-8"
|
||||||
|
[color]="'primary'"
|
||||||
|
>
|
||||||
게임머니확인
|
게임머니확인
|
||||||
</button>
|
</button>
|
||||||
<button mat-flat-button [color]="'primary'">
|
<hr style="margin: 7px 0px" />
|
||||||
|
<button
|
||||||
|
mat-flat-button
|
||||||
|
class="bet-mat-small-8"
|
||||||
|
[color]="'primary'"
|
||||||
|
>
|
||||||
게임머니회수
|
게임머니회수
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- management -->
|
||||||
<!-- todayComp -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ casinoMoney.todayComp }}P
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- total -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
입금{{ casinoMoney.deposit }} 출금{{
|
|
||||||
casinoMoney.withdraw
|
|
||||||
}}
|
|
||||||
차익{{ casinoMoney.margin }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- log -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
가입{{ casinoMoney.accession }} 최종{{
|
|
||||||
casinoMoney.final
|
|
||||||
}}
|
|
||||||
IP{{ casinoMoney.ip }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- state -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ casinoMoney.state }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- top -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">상부</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -307,7 +270,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 casino moneys!
|
There are no casino money 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 140px 100px auto 140px;
|
||||||
|
|
||||||
@screen sm {
|
@screen sm {
|
||||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
|
/* 요율 아이디 상위 예금주 보유금 게임중머니 */
|
||||||
|
grid-template-columns: 40px 140px 100px auto 140px 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen md {
|
@screen md {
|
||||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
|
/* 요율 아이디 상위 예금주 보유금 게임중머니 총입출 카지노 */
|
||||||
|
grid-template-columns: 40px 140px 100px auto 140px 140px 140px 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen lg {
|
@screen lg {
|
||||||
grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
|
/* 요율 아이디 상위 예금주 보유금 게임중머니 총입출 카지노 */
|
||||||
|
grid-template-columns: 40px 140px 100px auto 140px 140px 140px 140px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
@ -69,6 +73,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
casinoMoneys$!: Observable<CasinoMoney[] | undefined>;
|
casinoMoneys$!: Observable<CasinoMoney[] | undefined>;
|
||||||
users$!: Observable<User[] | undefined>;
|
users$!: Observable<User[] | undefined>;
|
||||||
|
|
||||||
|
__isSearchOpened = false;
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
searchInputControl = new FormControl();
|
searchInputControl = new FormControl();
|
||||||
selectedCasinoMoney?: CasinoMoney;
|
selectedCasinoMoney?: CasinoMoney;
|
||||||
|
@ -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,21 +1,18 @@
|
||||||
export interface CasinoMoney {
|
export interface CasinoMoney {
|
||||||
id?: string;
|
id: string;
|
||||||
|
signinId?: string;
|
||||||
nickname?: string;
|
nickname?: string;
|
||||||
highRank?: string;
|
highRank?: string;
|
||||||
rank?: string;
|
rank?: string;
|
||||||
level?: string;
|
level?: string;
|
||||||
accountHolder?: string;
|
accountHolder?: string;
|
||||||
contact?: string;
|
phoneNumber?: string;
|
||||||
cash?: number;
|
ownCash?: number;
|
||||||
comp?: number;
|
ownComp?: number;
|
||||||
coupon?: number;
|
ownCoupon?: number;
|
||||||
gameMoney?: number;
|
gameMoney?: number;
|
||||||
todayComp?: number;
|
todayComp?: number;
|
||||||
deposit?: number;
|
totalDeposit?: number;
|
||||||
withdraw?: number;
|
totalWithdraw?: number;
|
||||||
margin?: number;
|
balance?: number;
|
||||||
accession?: string;
|
|
||||||
final?: string;
|
|
||||||
ip?: string;
|
|
||||||
state?: string;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user