diff --git a/src/app/mock-api/apps/member/casino-money/api.ts b/src/app/mock-api/apps/member/casino-money/api.ts
index 76ab899..3b48ab6 100644
--- a/src/app/mock-api/apps/member/casino-money/api.ts
+++ b/src/app/mock-api/apps/member/casino-money/api.ts
@@ -42,7 +42,11 @@ export class MemberCasinoMoneyMockApi {
let casinoMoneys: any[] | null = cloneDeep(this._casinoMoneys);
// Sort the casinoMoneys
- if (sort === 'sku' || sort === 'name' || sort === 'active') {
+ if (
+ sort === 'signinId' ||
+ sort === 'nickname' ||
+ sort === 'accountHolder'
+ ) {
casinoMoneys.sort((a, b) => {
const fieldA = a[sort].toString().toUpperCase();
const fieldB = b[sort].toString().toUpperCase();
@@ -139,24 +143,21 @@ export class MemberCasinoMoneyMockApi {
// Generate a new casinoMoney
const newCasinoMoney = {
id: FuseMockApiUtils.guid(),
- category: '',
- name: 'A New User',
- description: '',
- tags: [],
- sku: '',
- barcode: '',
- brand: '',
- vendor: '',
- stock: '',
- reserved: '',
- cost: '',
- basePrice: '',
- taxPercent: '',
- price: '',
- weight: '',
- thumbnail: '',
- images: [],
- active: false,
+ signinId: '',
+ nickname: '',
+ highRank: '',
+ rank: '',
+ level: '',
+ accountHolder: '',
+ phoneNumber: '',
+ ownCash: 0,
+ ownComp: 0,
+ ownCoupon: 0,
+ gameMoney: 0,
+ todayComp: 0,
+ totalDeposit: 0,
+ totalWithdraw: 0,
+ balance: 0,
};
// Unshift the new casinoMoney
diff --git a/src/app/mock-api/apps/member/casino-money/data.ts b/src/app/mock-api/apps/member/casino-money/data.ts
index 415c649..4e7a58e 100644
--- a/src/app/mock-api/apps/member/casino-money/data.ts
+++ b/src/app/mock-api/apps/member/casino-money/data.ts
@@ -2,55 +2,363 @@
export const casinoMoneys = [
{
- id: 'dsa01233',
- category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
- name: 'Benton Mens Automatic Watch 44mm 5 ATM',
- description:
- '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',
+ id: '8fcce528-d878-4cc8-99f7-bd3451ed5402',
+ signinId: 'dsa01233',
+ nickname: '아메리카노',
+ highRank: 'xcxc2233',
rank: '회원',
level: 1,
- nickname: '아메리카노',
accountHolder: '홍길동',
- contact: '01012341234',
- cash: 0,
- comp: 60020,
- coupon: 0,
+ phoneNumber: '010-1234-1234',
+ ownCash: 0,
+ ownComp: 60020,
+ ownCoupon: 0,
gameMoney: 364750,
todayComp: 0,
- deposit: 500000,
- withdraw: 0,
- margin: 500000,
- accession: '2022-04-23 15:42',
- final: '',
- ip: '',
- state: '2022-06-07',
- top: '정상',
+ totalDeposit: 500000,
+ totalWithdraw: 0,
+ balance: 500000,
+ },
+ {
+ id: '8fcce528-d878-4cc8-99f7-bd3451ed5405',
+ signinId: 'test111',
+ 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,
},
];
diff --git a/src/app/modules/admin/member/casino-money/components/list.component.html b/src/app/modules/admin/member/casino-money/components/list.component.html
index 3a4d5e3..4937ca9 100644
--- a/src/app/modules/admin/member/casino-money/components/list.component.html
+++ b/src/app/modules/admin/member/casino-money/components/list.component.html
@@ -10,16 +10,44 @@