bug fix
This commit is contained in:
parent
6be23a1a12
commit
bf8ee8245a
|
@ -33,7 +33,7 @@ export class MemberUserMockApi {
|
||||||
.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 MemberUserMockApi {
|
||||||
let users: any[] | null = cloneDeep(this._users);
|
let users: any[] | null = cloneDeep(this._users);
|
||||||
|
|
||||||
// Sort the users
|
// Sort the users
|
||||||
if (sort === 'sku' || sort === 'name' || sort === 'active') {
|
if (sort === 'signinId' || sort === 'nickname' || sort === 'state') {
|
||||||
users.sort((a, b) => {
|
users.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();
|
||||||
|
@ -137,24 +137,27 @@ export class MemberUserMockApi {
|
||||||
// Generate a new user
|
// Generate a new user
|
||||||
const newUser = {
|
const newUser = {
|
||||||
id: FuseMockApiUtils.guid(),
|
id: FuseMockApiUtils.guid(),
|
||||||
category: '',
|
signinId: '',
|
||||||
name: 'A New User',
|
singinPw: '',
|
||||||
description: '',
|
exchangePw: '',
|
||||||
tags: [],
|
nickname: '',
|
||||||
sku: '',
|
highRank: '',
|
||||||
barcode: '',
|
rank: '',
|
||||||
brand: '',
|
level: '',
|
||||||
vendor: '',
|
accountHolder: '',
|
||||||
stock: '',
|
phoneNumber: '',
|
||||||
reserved: '',
|
ownCash: 0,
|
||||||
cost: '',
|
ownComp: 0,
|
||||||
basePrice: '',
|
ownCoupon: 0,
|
||||||
taxPercent: '',
|
gameMoney: 0,
|
||||||
price: '',
|
todayComp: 0,
|
||||||
weight: '',
|
totalDeposit: 0,
|
||||||
thumbnail: '',
|
totalWithdraw: 0,
|
||||||
images: [],
|
balance: 0,
|
||||||
active: false,
|
registDate: '2022-01-01T16:00',
|
||||||
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
|
ip: '192.168.1.9',
|
||||||
|
state: '정상',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Unshift the new user
|
// Unshift the new user
|
||||||
|
|
|
@ -3,182 +3,103 @@
|
||||||
export const users = [
|
export const users = [
|
||||||
{
|
{
|
||||||
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
signinId: 'lala1',
|
||||||
name: 'Capmia Mens Chronograph Watch 44mm 5 ATM',
|
signinPw: '1234',
|
||||||
description:
|
exchangePw: '1234',
|
||||||
'Consequat esse in culpa commodo anim. Et ullamco anim amet est. Sunt dolore ex occaecat officia anim. In sit minim laborum nostrud. Consequat ex do velit voluptate do exercitation est adipisicing quis velit.',
|
nickname: '라라1',
|
||||||
tags: [
|
highRank: '[매장]on04',
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
rank: '회원',
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
level: 'LV1',
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
accountHolder: '가가가',
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
phoneNumber: '010-2311-1233',
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
ownCash: 200000,
|
||||||
],
|
ownComp: 1000,
|
||||||
sku: 'ETV-2425',
|
ownCoupon: 1000,
|
||||||
barcode: '8346201275534',
|
gameMoney: 0,
|
||||||
brand: '61d52c2a-8947-4a2c-8c35-f36baef45b96',
|
todayComp: 0,
|
||||||
vendor: '998b0c07-abfd-4ba3-8de1-7563ef3c4d57',
|
totalDeposit: 200000,
|
||||||
stock: 30,
|
totalWithdraw: 0,
|
||||||
reserved: 5,
|
balance: 200000,
|
||||||
cost: 450.18,
|
registDate: '2022-01-01T16:00',
|
||||||
basePrice: 1036,
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
taxPercent: 30,
|
ip: '192.168.1.9',
|
||||||
price: 1346.8,
|
state: '정상',
|
||||||
weight: 0.61,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-01-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-01-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-01-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-01-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
|
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
|
||||||
category: '07986d93-d4eb-4de1-9448-2538407f7254',
|
signinId: 'onon6',
|
||||||
name: 'Zeon Ladies Chronograph Watch 40mm 10 ATM',
|
signinPw: '1234',
|
||||||
description:
|
exchangePw: '1234',
|
||||||
'Nulla duis dolor fugiat culpa proident. Duis anim est excepteur occaecat adipisicing occaecat. Labore id laborum non elit proident est veniam officia eu. Labore aliqua nisi duis sint ex consequat nostrud excepteur duis ex incididunt adipisicing.',
|
nickname: 'kakao',
|
||||||
tags: [
|
highRank: '[총판]on03',
|
||||||
'3baea410-a7d6-4916-b79a-bdce50c37f95',
|
rank: '매장',
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
level: 'LV1',
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
accountHolder: 'namver',
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
phoneNumber: '011-2312-1313',
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
ownCash: 200000,
|
||||||
],
|
ownComp: 1000,
|
||||||
sku: 'ATH-7573',
|
ownCoupon: 1000,
|
||||||
barcode: '8278968055700',
|
|
||||||
brand: '2c4d98d8-f334-4125-9596-862515f5526b',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 37,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 723.55,
|
|
||||||
basePrice: 1686,
|
|
||||||
taxPercent: 30,
|
|
||||||
price: 2191.8,
|
|
||||||
weight: 0.79,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-02-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-02-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-02-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-02-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'on04',
|
|
||||||
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: '[매장]on04',
|
|
||||||
rank: '회원',
|
|
||||||
level: 1,
|
|
||||||
nickname: '가가가',
|
|
||||||
accountHolder: '44',
|
|
||||||
contact: '010-4444-4444',
|
|
||||||
cash: 0,
|
|
||||||
comp: 1649,
|
|
||||||
coupon: 0,
|
|
||||||
gameMoney: 0,
|
gameMoney: 0,
|
||||||
todayComp: 0,
|
todayComp: 0,
|
||||||
deposit: 0,
|
totalDeposit: 200000,
|
||||||
withdraw: 0,
|
totalWithdraw: 0,
|
||||||
margin: 0,
|
balance: 200000,
|
||||||
accession: '2022-06-12 15:42',
|
registDate: '2022-02-01T16:00',
|
||||||
final: '',
|
finalSigninDate: '2022-02-01T16:00',
|
||||||
ip: '',
|
ip: '192.168.1.90',
|
||||||
|
state: '정상',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
||||||
|
signinId: 'on04',
|
||||||
|
signinPw: '1234',
|
||||||
|
exchangePw: '1231',
|
||||||
|
nickname: '라크라',
|
||||||
|
highRank: '[부본]on01',
|
||||||
|
rank: '총판',
|
||||||
|
level: 'LV2',
|
||||||
|
accountHolder: '도레도레',
|
||||||
|
phoneNumber: '010-2311-1231',
|
||||||
|
ownCash: 200000,
|
||||||
|
ownComp: 1000,
|
||||||
|
ownCoupon: 1000,
|
||||||
|
gameMoney: 0,
|
||||||
|
todayComp: 0,
|
||||||
|
totalDeposit: 200000,
|
||||||
|
totalWithdraw: 0,
|
||||||
|
balance: 200000,
|
||||||
|
registDate: '2022-01-01T16:00',
|
||||||
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
|
ip: '192.168.1.9',
|
||||||
|
state: '정상',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '8fcce528-d878-4cc8-99f7-bd3451ed5405',
|
id: '8fcce528-d878-4cc8-99f7-bd3451ed5405',
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
signinId: 'on01',
|
||||||
name: 'Capmia Mens Chronograph Watch 44mm 10 ATM',
|
signinPw: '2211',
|
||||||
description:
|
exchangePw: '2211',
|
||||||
'Velit nisi proident cupidatat exercitation occaecat et adipisicing nostrud id ex nostrud sint. Qui fugiat velit minim amet reprehenderit voluptate velit exercitation proident Lorem nisi culpa. Commodo quis officia officia eiusmod mollit aute fugiat duis quis minim culpa in. Exercitation laborum fugiat ex excepteur officia reprehenderit magna ipsum. Laboris dolore nostrud id labore sint consectetur aliqua tempor ea aute do.',
|
nickname: 'test1',
|
||||||
tags: [
|
highRank: '[본사]on00',
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
rank: '대본사',
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
level: 'LV1',
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
accountHolder: '대대본',
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
phoneNumber: '010-2312-0099',
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
ownCash: 200000,
|
||||||
],
|
ownComp: 1000,
|
||||||
sku: 'EAP-7752',
|
ownCoupon: 1000,
|
||||||
barcode: '8866355574164',
|
gameMoney: 0,
|
||||||
brand: '61d52c2a-8947-4a2c-8c35-f36baef45b96',
|
todayComp: 0,
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
totalDeposit: 200000,
|
||||||
stock: 37,
|
totalWithdraw: 0,
|
||||||
reserved: 4,
|
balance: 200000,
|
||||||
cost: 395.37,
|
registDate: '2022-01-01T16:00',
|
||||||
basePrice: 839,
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
taxPercent: 30,
|
ip: '192.168.1.19',
|
||||||
price: 1090.7,
|
state: '정상',
|
||||||
weight: 0.62,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-04-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-04-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-04-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-04-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'onon6',
|
id: '8fcce528-d878-4cc8-99f7-bd3451ed5406',
|
||||||
category: '07986d93-d4eb-4de1-9448-2538407f7254',
|
signinId: 'onon6',
|
||||||
name: 'Benton Ladies Automatic Watch 40mm 5 ATM',
|
|
||||||
description:
|
|
||||||
'Pariatur proident labore commodo consequat qui et. Ad labore fugiat consectetur ea magna dolore mollit consequat reprehenderit laborum ad mollit eiusmod. Esse laboris voluptate ullamco occaecat labore esse laboris enim ipsum aliquip ipsum. Ea ea proident eu enim anim mollit non consequat enim nulla.',
|
|
||||||
tags: [
|
|
||||||
'3baea410-a7d6-4916-b79a-bdce50c37f95',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ADP-5745',
|
|
||||||
barcode: '8390590339828',
|
|
||||||
brand: 'e1789f32-9475-43e7-9256-451d2e3a2282',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 12,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 442.61,
|
|
||||||
basePrice: 961,
|
|
||||||
taxPercent: 20,
|
|
||||||
price: 1153.2,
|
|
||||||
weight: 0.67,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-05-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-05-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-05-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-05-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
|
|
||||||
highRank: '[총판]on03',
|
highRank: '[총판]on03',
|
||||||
rank: '매장',
|
rank: '매장',
|
||||||
level: 1,
|
level: 1,
|
||||||
|
@ -193,584 +114,81 @@ export const users = [
|
||||||
deposit: 200000,
|
deposit: 200000,
|
||||||
withdraw: 0,
|
withdraw: 0,
|
||||||
margin: 200000,
|
margin: 200000,
|
||||||
accession: '2022-06-12 16:02',
|
registDate: '2022-06-12 16:02',
|
||||||
final: '2022-06-20 15:41',
|
finalSigninDate: '2022-06-20 15:41',
|
||||||
ip: '175.198.74.36',
|
ip: '175.198.74.36',
|
||||||
|
state: '정상',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
|
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
signinId: 'test12',
|
||||||
name: 'Benton Mens Chronograph Watch 44mm 10 ATM',
|
signinPw: '2233',
|
||||||
description:
|
exchangePw: '3344',
|
||||||
'Nulla enim reprehenderit proident ut Lorem laborum cillum eiusmod est ex anim. Nisi non non laboris excepteur ullamco elit do duis anim esse labore aliqua adipisicing velit. Deserunt magna exercitation cillum amet.',
|
nickname: 'test12',
|
||||||
tags: [
|
highRank: '[본사]zxod',
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
rank: '본사',
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
level: 'LV3',
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
accountHolder: '테스트',
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
phoneNumber: '010-2329-9211',
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
ownCash: 200000,
|
||||||
],
|
ownComp: 1000,
|
||||||
sku: 'ATV-2569',
|
ownCoupon: 1000,
|
||||||
barcode: '8238990048137',
|
gameMoney: 0,
|
||||||
brand: 'e1789f32-9475-43e7-9256-451d2e3a2282',
|
todayComp: 0,
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
totalDeposit: 200000,
|
||||||
stock: 36,
|
totalWithdraw: 0,
|
||||||
reserved: 2,
|
balance: 200000,
|
||||||
cost: 563.43,
|
registDate: '2022-01-01T16:00',
|
||||||
basePrice: 1370,
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
taxPercent: 30,
|
ip: '192.168.1.9',
|
||||||
price: 1781,
|
state: '정상',
|
||||||
weight: 0.62,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-06-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-06-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-06-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-06-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'ecf0b3df-38c3-45dc-972b-c509a3dc053e',
|
id: 'ecf0b3df-38c3-45dc-972b-c509a3dc053e',
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
signinId: 'kgon5',
|
||||||
name: 'Benton Mens Chronograph Watch 44mm 10 ATM',
|
signinPw: '2311',
|
||||||
description:
|
exchangePw: '3332',
|
||||||
'Esse culpa ut ullamco dolore quis adipisicing. Minim veniam quis magna officia non. In pariatur nostrud nisi eiusmod minim anim id. Commodo ex incididunt dolor ad id aliqua incididunt minim in Lorem reprehenderit. Commodo ullamco consectetur aliqua Lorem cupidatat esse veniam consectetur sint veniam duis commodo.',
|
nickname: 'kgon5',
|
||||||
tags: [
|
highRank: '[매장]kgon4',
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
rank: '회원',
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
level: 'LV1',
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
accountHolder: 'kgon5',
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
phoneNumber: '010-2329-6653',
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
ownCash: 200000,
|
||||||
],
|
ownComp: 1000,
|
||||||
sku: 'EAH-2563',
|
ownCoupon: 1000,
|
||||||
barcode: '8638426908385',
|
gameMoney: 0,
|
||||||
brand: 'e1789f32-9475-43e7-9256-451d2e3a2282',
|
todayComp: 0,
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
totalDeposit: 200000,
|
||||||
stock: 35,
|
totalWithdraw: 0,
|
||||||
reserved: 5,
|
balance: 200000,
|
||||||
cost: 705.26,
|
registDate: '2022-01-01T16:00',
|
||||||
basePrice: 1721,
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
taxPercent: 20,
|
ip: '192.168.1.9',
|
||||||
price: 2065.2,
|
state: '정상',
|
||||||
weight: 0.67,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-07-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-07-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-07-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-07-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '5765080a-aaee-40b9-86be-c18b9d79c73c',
|
id: '5765080a-aaee-40b9-86be-c18b9d79c73c',
|
||||||
category: 'ad12aa94-3863-47f8-acab-a638ef02a3e9',
|
signinId: 'test16',
|
||||||
name: 'Benton Unisex Automatic Watch 40mm 10 ATM',
|
signinPw: '1211',
|
||||||
description:
|
exchangePw: '1111',
|
||||||
'Anim duis nisi ut ex amet reprehenderit cillum consequat pariatur ipsum elit voluptate excepteur non. Anim enim proident laboris pariatur mollit quis incididunt labore. Incididunt tempor aliquip ex labore ad consequat cillum est sunt anim dolor. Dolore adipisicing non nulla cillum Lorem deserunt. Nostrud incididunt amet sint velit.',
|
nickname: 'test16',
|
||||||
tags: [
|
highRank: '[매장]kgon5',
|
||||||
'8ec8f60d-552f-4216-9f11-462b95b1d306',
|
rank: '회원',
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
level: 'LV1',
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
accountHolder: 'test16',
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
phoneNumber: '010-1122-9988',
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
ownCash: 200000,
|
||||||
],
|
ownComp: 1000,
|
||||||
sku: 'ATH-6399',
|
ownCoupon: 1000,
|
||||||
barcode: '8881883828441',
|
gameMoney: 0,
|
||||||
brand: 'e1789f32-9475-43e7-9256-451d2e3a2282',
|
todayComp: 0,
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
totalDeposit: 200000,
|
||||||
stock: 17,
|
totalWithdraw: 0,
|
||||||
reserved: 5,
|
balance: 200000,
|
||||||
cost: 624.12,
|
registDate: '2022-01-01T16:00',
|
||||||
basePrice: 1448,
|
finalSigninDate: '2022-01-01T16:00',
|
||||||
taxPercent: 10,
|
ip: '192.168.1.9',
|
||||||
price: 1592.8,
|
state: '정상',
|
||||||
weight: 0.55,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-08-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-08-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-08-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-08-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '6e71be88-b225-474c-91e5-111ced7d6220',
|
|
||||||
category: '07986d93-d4eb-4de1-9448-2538407f7254',
|
|
||||||
name: 'Premera Ladies Chronograph Watch 40mm 5 ATM',
|
|
||||||
description:
|
|
||||||
'Velit fugiat adipisicing ut quis anim deserunt ex culpa nostrud laborum. Consectetur duis velit esse commodo voluptate magna dolor in enim exercitation. Ea aliquip cupidatat aute dolor tempor magna id laboris nulla eiusmod ut amet. Veniam irure ex incididunt officia commodo eiusmod nostrud ad consequat commodo ad voluptate.',
|
|
||||||
tags: [
|
|
||||||
'3baea410-a7d6-4916-b79a-bdce50c37f95',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ELH-2495',
|
|
||||||
barcode: '8268777127281',
|
|
||||||
brand: '5913ee46-a497-41db-a118-ee506011529f',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 49,
|
|
||||||
reserved: 5,
|
|
||||||
cost: 738.91,
|
|
||||||
basePrice: 1848,
|
|
||||||
taxPercent: 30,
|
|
||||||
price: 2402.4,
|
|
||||||
weight: 0.54,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-09-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-09-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-09-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-09-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '51242500-6983-4a78-bff3-d278eb4e3a57',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Lara Mens Automatic Watch 44mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Enim laboris ut non elit dolore est consectetur. Duis irure minim elit velit anim incididunt minim ipsum ullamco ad dolore sunt. Proident aute proident velit elit ex reprehenderit ut. Lorem laborum excepteur elit proident sunt ipsum incididunt id do. Occaecat proident proident qui aute officia cupidatat aliqua aliqua nostrud proident laboris est ad qui. Magna eiusmod amet ut pariatur esse nisi aliquip deserunt minim ad et ea occaecat. Sunt enim cupidatat id eiusmod ea aute quis excepteur irure commodo dolore excepteur.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ATT-6019',
|
|
||||||
barcode: '8452763551765',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '998b0c07-abfd-4ba3-8de1-7563ef3c4d57',
|
|
||||||
stock: 24,
|
|
||||||
reserved: 4,
|
|
||||||
cost: 688.89,
|
|
||||||
basePrice: 1502,
|
|
||||||
taxPercent: 8,
|
|
||||||
price: 1622.16,
|
|
||||||
weight: 0.76,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-10-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-10-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-10-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-10-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '844a4395-233f-4ffb-85bd-7baa0e490a88',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Lara Mens Chronograph Watch 44mm 5 ATM',
|
|
||||||
description:
|
|
||||||
'Labore irure qui sunt consectetur. Elit nulla id cillum duis. Nulla nulla eu occaecat eiusmod duis irure id do esse. Ad eu incididunt voluptate amet nostrud ullamco mollit dolore occaecat cupidatat nisi reprehenderit. Proident fugiat laborum sit velit ea voluptate.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ADH-2335',
|
|
||||||
barcode: '8385907318041',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 44,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 708.41,
|
|
||||||
basePrice: 1467,
|
|
||||||
taxPercent: 18,
|
|
||||||
price: 1731.06,
|
|
||||||
weight: 0.7,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-11-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-11-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-11-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-11-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '7520f1b6-3c45-46ef-a4d5-881971212d1e',
|
|
||||||
category: 'ad12aa94-3863-47f8-acab-a638ef02a3e9',
|
|
||||||
name: 'Benton Unisex Automatic Watch 40mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Esse nisi amet occaecat culpa aliqua est ad ea velit. Consectetur in voluptate sit pariatur eiusmod exercitation eu aute occaecat in duis. Voluptate consectetur eu commodo proident id sunt labore irure.',
|
|
||||||
tags: [
|
|
||||||
'8ec8f60d-552f-4216-9f11-462b95b1d306',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ATH-3064',
|
|
||||||
barcode: '8608510561856',
|
|
||||||
brand: 'e1789f32-9475-43e7-9256-451d2e3a2282',
|
|
||||||
vendor: '998b0c07-abfd-4ba3-8de1-7563ef3c4d57',
|
|
||||||
stock: 25,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 731.94,
|
|
||||||
basePrice: 1743,
|
|
||||||
taxPercent: 10,
|
|
||||||
price: 1917.3,
|
|
||||||
weight: 0.47,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-12-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-12-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-12-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-12-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '683e41d8-6ebc-4e6a-a7c1-9189ca52ef19',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Zeon Mens Chronograph Watch 44mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Eu irure do cupidatat esse in. Aliqua laborum deserunt qui Lorem deserunt minim fugiat deserunt voluptate minim. Anim nulla tempor eiusmod ad exercitation reprehenderit officia. Nisi proident labore eu anim excepteur aliqua occaecat. Laboris nostrud ipsum commodo cupidatat.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ADV-3188',
|
|
||||||
barcode: '8334758988643',
|
|
||||||
brand: '2c4d98d8-f334-4125-9596-862515f5526b',
|
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
|
||||||
stock: 14,
|
|
||||||
reserved: 5,
|
|
||||||
cost: 375.76,
|
|
||||||
basePrice: 786,
|
|
||||||
taxPercent: 30,
|
|
||||||
price: 1021.8,
|
|
||||||
weight: 0.53,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-13-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-13-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-13-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-13-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'd4e52238-292d-462b-b9bb-1751030132e2',
|
|
||||||
category: 'ad12aa94-3863-47f8-acab-a638ef02a3e9',
|
|
||||||
name: 'Lara Unisex Chronograph Watch 40mm 5 ATM',
|
|
||||||
description:
|
|
||||||
'Nulla nostrud aliquip consequat laborum ut enim exercitation. Aute dolor duis aliquip consequat minim officia. Nisi labore et magna et sunt consectetur id anim pariatur officia et esse ut. Ullamco dolor cillum consequat velit eiusmod consectetur. Ullamco reprehenderit tempor minim dolore officia do nisi cupidatat adipisicing fugiat velit.',
|
|
||||||
tags: [
|
|
||||||
'8ec8f60d-552f-4216-9f11-462b95b1d306',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ATT-7423',
|
|
||||||
barcode: '8417153336369',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '998b0c07-abfd-4ba3-8de1-7563ef3c4d57',
|
|
||||||
stock: 33,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 743.93,
|
|
||||||
basePrice: 1793,
|
|
||||||
taxPercent: 8,
|
|
||||||
price: 1936.44,
|
|
||||||
weight: 0.86,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-14-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-14-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-14-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-14-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '98861dfc-0d21-4fd5-81aa-49785d003d95',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Premera Mens Automatic Watch 44mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Veniam sint aliquip aliquip aliquip amet Lorem irure proident laborum et eiusmod aliqua. Aliquip deserunt voluptate magna ut quis magna dolor in dolore. Commodo adipisicing excepteur occaecat aute nisi in. Est aute ad ut incididunt anim ea commodo. Sunt excepteur duis sunt est laborum magna Lorem ullamco exercitation dolore irure.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'AAT-6453',
|
|
||||||
barcode: '8501386761670',
|
|
||||||
brand: '5913ee46-a497-41db-a118-ee506011529f',
|
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
|
||||||
stock: 38,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 364.64,
|
|
||||||
basePrice: 806,
|
|
||||||
taxPercent: 18,
|
|
||||||
price: 951.08,
|
|
||||||
weight: 0.59,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-15-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-15-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-15-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-15-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'a71f9b10-e884-4aad-9810-29fe10ce6d42',
|
|
||||||
category: '07986d93-d4eb-4de1-9448-2538407f7254',
|
|
||||||
name: 'Lara Ladies Chronograph Watch 40mm 5 ATM',
|
|
||||||
description:
|
|
||||||
'Deserunt non deserunt ut do labore cupidatat duis veniam in non adipisicing officia esse id. Adipisicing Lorem sint excepteur culpa labore consequat incididunt nulla minim amet. Sint do et fugiat laborum exercitation reprehenderit ut non nostrud occaecat nisi et qui dolore. Amet eiusmod nulla est officia ad magna cillum non dolor ullamco officia incididunt.',
|
|
||||||
tags: [
|
|
||||||
'3baea410-a7d6-4916-b79a-bdce50c37f95',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'AAP-4902',
|
|
||||||
barcode: '8847387136582',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
|
||||||
stock: 40,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 525.3,
|
|
||||||
basePrice: 1303,
|
|
||||||
taxPercent: 10,
|
|
||||||
price: 1433.3,
|
|
||||||
weight: 0.69,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-16-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-16-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-16-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-16-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '149e6db5-4ecc-4021-bc56-08b27514a746',
|
|
||||||
category: '07986d93-d4eb-4de1-9448-2538407f7254',
|
|
||||||
name: 'Lara Ladies Chronograph Watch 40mm 5 ATM',
|
|
||||||
description:
|
|
||||||
'Occaecat proident fugiat consectetur ullamco est. Duis non minim eiusmod magna dolor reprehenderit ad deserunt et qui amet. Tempor cillum dolore veniam Lorem sit ad pariatur et sint. Sunt anim et cupidatat Lorem proident fugiat incididunt incididunt minim non sint. Eiusmod quis et ullamco cillum et veniam do tempor officia sint.',
|
|
||||||
tags: [
|
|
||||||
'3baea410-a7d6-4916-b79a-bdce50c37f95',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'2300ac48-f268-466a-b765-8b878b6e14a7',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ALV-194',
|
|
||||||
barcode: '8860845382207',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 20,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 670.87,
|
|
||||||
basePrice: 1537,
|
|
||||||
taxPercent: 8,
|
|
||||||
price: 1659.96,
|
|
||||||
weight: 0.66,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-17-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-17-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-17-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-17-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '655287de-2e24-41f3-a82f-8b08548ecc39',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Zeon Mens Automatic Watch 44mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Eiusmod magna tempor est est quis eu. Minim irure magna anim mollit non adipisicing aute. Nostrud aute consectetur eu in non laboris excepteur esse esse occaecat officia.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ADH-5492',
|
|
||||||
barcode: '8611606513571',
|
|
||||||
brand: '2c4d98d8-f334-4125-9596-862515f5526b',
|
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
|
||||||
stock: 47,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 645.13,
|
|
||||||
basePrice: 1581,
|
|
||||||
taxPercent: 10,
|
|
||||||
price: 1739.1,
|
|
||||||
weight: 0.54,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-18-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-18-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-18-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-18-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'c215b427-d840-4537-aea1-a9bdfa49441b',
|
|
||||||
category: 'ad12aa94-3863-47f8-acab-a638ef02a3e9',
|
|
||||||
name: 'Lara Unisex Automatic Watch 40mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Excepteur enim non qui consequat sunt exercitation laborum ipsum sunt. Sunt pariatur fugiat voluptate ipsum consectetur do magna culpa labore. Cupidatat non ex labore incididunt aliquip commodo est in. Consectetur mollit nisi aliquip cupidatat do laborum est ullamco velit aliqua fugiat qui adipisicing. Aute reprehenderit quis id sint nulla.',
|
|
||||||
tags: [
|
|
||||||
'8ec8f60d-552f-4216-9f11-462b95b1d306',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'AAT-6702',
|
|
||||||
barcode: '8330223562386',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 21,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 704.26,
|
|
||||||
basePrice: 1733,
|
|
||||||
taxPercent: 10,
|
|
||||||
price: 1906.3,
|
|
||||||
weight: 0.84,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-19-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-19-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-19-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-19-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '8b1d9366-891e-49cd-aafb-ac65ce2741e2',
|
|
||||||
category: '07986d93-d4eb-4de1-9448-2538407f7254',
|
|
||||||
name: 'Zeon Ladies Automatic Watch 40mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Reprehenderit magna reprehenderit ex mollit Lorem labore ut. Duis consectetur aliqua cillum occaecat quis ex excepteur fugiat nulla nisi dolor minim. Elit voluptate exercitation nulla et ut adipisicing esse eu nisi amet eu. Ut cillum ipsum quis fugiat proident Lorem est aute ipsum sint dolore consequat.',
|
|
||||||
tags: [
|
|
||||||
'3baea410-a7d6-4916-b79a-bdce50c37f95',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'EDH-5599',
|
|
||||||
barcode: '8309212335274',
|
|
||||||
brand: '2c4d98d8-f334-4125-9596-862515f5526b',
|
|
||||||
vendor: '05ebb527-d733-46a9-acfb-a4e4ec960024',
|
|
||||||
stock: 35,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 712.66,
|
|
||||||
basePrice: 1711,
|
|
||||||
taxPercent: 30,
|
|
||||||
price: 2224.3,
|
|
||||||
weight: 0.47,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-20-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-20-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-20-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-20-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '54e29534-518b-4006-b72a-f21fac6c4d5e',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Lara Mens Chronograph Watch 44mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Officia eu magna eu amet fugiat qui ullamco eu. Occaecat dolore minim ad tempor consequat adipisicing non Lorem consequat. In nostrud incididunt adipisicing in. Irure occaecat aliquip deserunt minim officia ad excepteur do commodo magna.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ADP-3719',
|
|
||||||
barcode: '8879167838673',
|
|
||||||
brand: 'f9987124-7ada-4b93-bef7-35280b3ddbd7',
|
|
||||||
vendor: '998b0c07-abfd-4ba3-8de1-7563ef3c4d57',
|
|
||||||
stock: 28,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 374.38,
|
|
||||||
basePrice: 749,
|
|
||||||
taxPercent: 8,
|
|
||||||
price: 808.92,
|
|
||||||
weight: 0.52,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-21-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-21-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-21-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-21-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '6a5726e8-c467-45ea-92ab-d83235a06405',
|
|
||||||
category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
|
|
||||||
name: 'Premera Mens Chronograph Watch 44mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Duis id consequat ex officia nisi. Et reprehenderit tempor sunt nostrud. Duis dolore tempor anim non duis qui aute magna officia. Ullamco proident esse enim amet nostrud occaecat veniam. Nostrud ea eiusmod laborum id laborum veniam nulla. Voluptate proident ullamco exercitation id consequat dolore id pariatur esse nulla consectetur.',
|
|
||||||
tags: [
|
|
||||||
'167190fa-51b4-45fc-a742-8ce1b33d24ea',
|
|
||||||
'7d6dd47e-7472-4f8b-93d4-46c114c44533',
|
|
||||||
'8837b93f-388b-43cc-851d-4ca8f23f3a61',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'ATH-3399',
|
|
||||||
barcode: '8356410903599',
|
|
||||||
brand: '5913ee46-a497-41db-a118-ee506011529f',
|
|
||||||
vendor: '987dd10a-43b1-49f9-bfd9-05bb2dbc7029',
|
|
||||||
stock: 20,
|
|
||||||
reserved: 2,
|
|
||||||
cost: 444.68,
|
|
||||||
basePrice: 1103,
|
|
||||||
taxPercent: 18,
|
|
||||||
price: 1301.54,
|
|
||||||
weight: 0.56,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-22-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-22-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-22-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-22-03.jpg',
|
|
||||||
],
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'd7d1d6df-e91f-4c53-982a-2720bc2b4cdd',
|
|
||||||
category: 'ad12aa94-3863-47f8-acab-a638ef02a3e9',
|
|
||||||
name: 'Capmia Unisex Automatic Watch 40mm 10 ATM',
|
|
||||||
description:
|
|
||||||
'Voluptate consectetur nisi aliquip cupidatat sunt labore. Adipisicing voluptate tempor sunt eu irure cupidatat laboris. Enim aliquip aute sit non laborum Lorem in enim duis eu deserunt. Laboris magna irure aute ut proident fugiat laborum aliquip tempor nostrud id. Et esse cupidatat sunt ullamco reprehenderit enim dolore ea in do esse esse id.',
|
|
||||||
tags: [
|
|
||||||
'8ec8f60d-552f-4216-9f11-462b95b1d306',
|
|
||||||
'0fc39efd-f640-41f8-95a5-3f1d749df200',
|
|
||||||
'8f868ddb-d4a2-461d-bc3b-d7c8668687c3',
|
|
||||||
'0b11b742-3125-4d75-9a6f-84af7fde1969',
|
|
||||||
'b1286f3a-e2d0-4237-882b-f0efc0819ec3',
|
|
||||||
],
|
|
||||||
sku: 'EAV-4030',
|
|
||||||
barcode: '8545771786193',
|
|
||||||
brand: '61d52c2a-8947-4a2c-8c35-f36baef45b96',
|
|
||||||
vendor: '998b0c07-abfd-4ba3-8de1-7563ef3c4d57',
|
|
||||||
stock: 23,
|
|
||||||
reserved: 3,
|
|
||||||
cost: 538.72,
|
|
||||||
basePrice: 1213,
|
|
||||||
taxPercent: 10,
|
|
||||||
price: 1334.3,
|
|
||||||
weight: 0.75,
|
|
||||||
thumbnail: 'assets/images/apps/ecommerce/products/watch-23-thumb.jpg',
|
|
||||||
images: [
|
|
||||||
'assets/images/apps/ecommerce/products/watch-23-01.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-23-02.jpg',
|
|
||||||
'assets/images/apps/ecommerce/products/watch-23-03.jpg',
|
|
||||||
],
|
|
||||||
active: true,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -128,18 +128,17 @@
|
||||||
matSort
|
matSort
|
||||||
matSortDisableClear
|
matSortDisableClear
|
||||||
>
|
>
|
||||||
<div></div>
|
<div class="hidden sm:block">관리</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'management'">
|
<div class="hidden sm:block" [mat-sort-header]="'signinId'">
|
||||||
관리
|
아이디
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'id'">아이디</div>
|
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'nickname'">
|
<div class="hidden sm:block" [mat-sort-header]="'nickname'">
|
||||||
닉네임
|
닉네임
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'accountHolder'">
|
<div class="hidden sm:block" [mat-sort-header]="'accountHolder'">
|
||||||
예금주
|
예금주
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'contact'">
|
<div class="hidden sm:block" [mat-sort-header]="'phoneNumber'">
|
||||||
연락처
|
연락처
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'reserve'">
|
<div class="hidden sm:block" [mat-sort-header]="'reserve'">
|
||||||
|
@ -161,18 +160,6 @@
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'state'">
|
<div class="hidden sm:block" [mat-sort-header]="'state'">
|
||||||
상태
|
상태
|
||||||
</div>
|
</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 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="users$ | async as users">
|
<ng-container *ngIf="users$ | async as users">
|
||||||
|
@ -221,7 +208,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- level -->
|
<!-- level -->
|
||||||
<div class="hidden sm:block truncate">
|
<div class="hidden sm:block truncate">
|
||||||
LV.{{ user.level }}
|
{{ user.level }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- id -->
|
<!-- id -->
|
||||||
|
@ -229,7 +216,7 @@
|
||||||
class="hidden sm:block truncate"
|
class="hidden sm:block truncate"
|
||||||
(click)="viewUserDetail(user.id)"
|
(click)="viewUserDetail(user.id)"
|
||||||
>
|
>
|
||||||
{{ user.id }}
|
{{ user.signinId }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- nickname -->
|
<!-- nickname -->
|
||||||
|
@ -244,12 +231,14 @@
|
||||||
|
|
||||||
<!-- contact -->
|
<!-- contact -->
|
||||||
<div class="hidden sm:block truncate">
|
<div class="hidden sm:block truncate">
|
||||||
{{ user.contact }}
|
{{ user.phoneNumber }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- reserve -->
|
<!-- reserve -->
|
||||||
<div class="hidden sm:block truncate">
|
<div class="hidden sm:block truncate">
|
||||||
캐쉬{{ user.cash }} 콤프{{ user.comp }} 쿠폰{{ user.coupon }}
|
캐쉬{{ user.ownCash }} 콤프{{ user.ownComp }} 쿠폰{{
|
||||||
|
user.ownCoupon
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- gameMoney -->
|
<!-- gameMoney -->
|
||||||
|
@ -274,14 +263,17 @@
|
||||||
|
|
||||||
<!-- total -->
|
<!-- total -->
|
||||||
<div class="hidden sm:block truncate">
|
<div class="hidden sm:block truncate">
|
||||||
입금{{ user.deposit }} 출금{{ user.withdraw }} 차익{{
|
입금{{ user.totalDeposit }} 출금{{
|
||||||
user.margin
|
user.totalWithdraw
|
||||||
}}
|
}}
|
||||||
|
차익{{ user.balance }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- log -->
|
<!-- log -->
|
||||||
<div class="hidden sm:block truncate">
|
<div class="hidden sm:block truncate">
|
||||||
가입{{ user.accession }} 최종{{ user.final }} IP{{ user.ip }}
|
가입{{ user.registDate }} 최종{{ user.finalSigninDate }} IP{{
|
||||||
|
user.ip
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- state -->
|
<!-- state -->
|
||||||
|
|
|
@ -115,7 +115,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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -23,19 +23,74 @@
|
||||||
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"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<span
|
<fuse-card
|
||||||
>카테고리:
|
class="flex flex-col md:flex-row justify-between max-w-80 md:max-w-160 w-full p-8 pb-4 filter-listing"
|
||||||
<p>on00</p>
|
|
||||||
<p>on01</p>
|
|
||||||
<p>on02</p>
|
|
||||||
<p>on03</p></span
|
|
||||||
>
|
>
|
||||||
<span
|
<div class="flex flex-col flex-auto order-2 md:order-1">
|
||||||
>사이트명:
|
<div class="text-2xl font-semibold leading-tight">기본정보</div>
|
||||||
<p>test.com</p></span
|
|
||||||
>
|
<div class="mt-6">
|
||||||
<span>총입금: </span>
|
<div class="flex flex-wrap items-center text-secondary my-1">
|
||||||
<span>최근30일 배팅금액: </span>
|
<span>카테고리</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<!-- <span class="whitespace-nowrap"
|
||||||
|
>on00, on01, on02</span
|
||||||
|
> -->
|
||||||
|
<mat-chip-list aria-label="Fish selection">
|
||||||
|
<mat-chip color="accent">on00</mat-chip>
|
||||||
|
<mat-chip color="accent">on01</mat-chip>
|
||||||
|
<mat-chip color="accent" selected>on02</mat-chip>
|
||||||
|
<mat-chip color="accent" selected>on03</mat-chip>
|
||||||
|
</mat-chip-list>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>사이트명</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>test.com</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>가입일자</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>{{ selectedUser?.registDate }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>하부회원수</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>0명</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>총입금</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>{{ selectedUser?.totalDeposit }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>총출금</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>{{ selectedUser?.totalWithdraw }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>총입금-총출금</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>{{ selectedUser?.balance }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>최근30일 배팅금액</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>200,000</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>당첨금액</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>200,000</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center text-secondary my-1">
|
||||||
|
<span>수수료</span>
|
||||||
|
<span class="mx-2">•</span>
|
||||||
|
<span>0</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fuse-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -56,15 +111,27 @@
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>아이디</mat-label>
|
<mat-label>아이디</mat-label>
|
||||||
<input matInput [formControlName]="'signinId'" />
|
<input
|
||||||
|
id="signinId"
|
||||||
|
matInput
|
||||||
|
[formControlName]="'signinId'"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>비밀번호</mat-label>
|
<mat-label>비밀번호</mat-label>
|
||||||
<input matInput [formControlName]="'signinPw'" />
|
<input
|
||||||
|
id="signinPw"
|
||||||
|
matInput
|
||||||
|
[formControlName]="'signinPw'"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>환전비밀번호</mat-label>
|
<mat-label>환전비밀번호</mat-label>
|
||||||
<input matInput [formControlName]="'exchangePw'" />
|
<input
|
||||||
|
id="exchangePw"
|
||||||
|
matInput
|
||||||
|
[formControlName]="'exchangePw'"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -72,15 +139,27 @@
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>닉네임</mat-label>
|
<mat-label>닉네임</mat-label>
|
||||||
<input matInput [formControlName]="'nickname'" />
|
<input
|
||||||
|
id="nickname"
|
||||||
|
matInput
|
||||||
|
[formControlName]="'nickname'"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>보유머니</mat-label>
|
<mat-label>보유머니</mat-label>
|
||||||
<input matInput [formControlName]="'holdingMoney'" />
|
<input
|
||||||
|
id="ownCash"
|
||||||
|
matInput
|
||||||
|
[formControlName]="'ownCash'"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>핸드폰</mat-label>
|
<mat-label>핸드폰</mat-label>
|
||||||
<input matInput [formControlName]="'phonNumber'" />
|
<input
|
||||||
|
id="phoneNumber"
|
||||||
|
matInput
|
||||||
|
[formControlName]="'phoneNumber'"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -88,7 +167,7 @@
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>레벨</mat-label>
|
<mat-label>레벨</mat-label>
|
||||||
<mat-select [formControlName]="'level'">
|
<mat-select id="level" [formControlName]="'level'">
|
||||||
<!-- <ng-container *ngFor="let category of categories"> -->
|
<!-- <ng-container *ngFor="let category of categories"> -->
|
||||||
<mat-option value="level">
|
<mat-option value="level">
|
||||||
cartegory option
|
cartegory option
|
||||||
|
@ -98,7 +177,7 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>상태</mat-label>
|
<mat-label>상태</mat-label>
|
||||||
<mat-select [formControlName]="'status'">
|
<mat-select id="state" [formControlName]="'status'">
|
||||||
<!-- <ng-container *ngFor="let brand of brands"> -->
|
<!-- <ng-container *ngFor="let brand of brands"> -->
|
||||||
<mat-option value="brand.id">
|
<mat-option value="brand.id">
|
||||||
brand option
|
brand option
|
||||||
|
@ -141,6 +220,7 @@
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>예금주</mat-label>
|
<mat-label>예금주</mat-label>
|
||||||
<input
|
<input
|
||||||
|
id="accountHolder"
|
||||||
type="text"
|
type="text"
|
||||||
matInput
|
matInput
|
||||||
[formControlName]="'accountHolder'"
|
[formControlName]="'accountHolder'"
|
||||||
|
@ -151,6 +231,7 @@
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>콤프</mat-label>
|
<mat-label>콤프</mat-label>
|
||||||
<input
|
<input
|
||||||
|
id="ownComp"
|
||||||
type="text"
|
type="text"
|
||||||
matInput
|
matInput
|
||||||
[formControlName]="'comp'"
|
[formControlName]="'comp'"
|
||||||
|
@ -159,6 +240,7 @@
|
||||||
<mat-form-field class="w-1/3 pr-2">
|
<mat-form-field class="w-1/3 pr-2">
|
||||||
<mat-label>쿠폰</mat-label>
|
<mat-label>쿠폰</mat-label>
|
||||||
<input
|
<input
|
||||||
|
id="ownCoupon"
|
||||||
type="text"
|
type="text"
|
||||||
matInput
|
matInput
|
||||||
[formControlName]="'coupon'"
|
[formControlName]="'coupon'"
|
||||||
|
@ -322,7 +404,7 @@
|
||||||
|
|
||||||
<!-- Cost, Base price, Tax & Price -->
|
<!-- Cost, Base price, Tax & Price -->
|
||||||
<div class="flex flex-col w-full lg:w-1/4 sm:pl-8">
|
<div class="flex flex-col w-full lg:w-1/4 sm:pl-8">
|
||||||
<mat-form-field class="w-full">
|
<mat-form-field class="w-full fuse-mat-textarea">
|
||||||
<mat-label>메모</mat-label>
|
<mat-label>메모</mat-label>
|
||||||
<textarea matInput name="memo" row="5"></textarea>
|
<textarea matInput name="memo" row="5"></textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
@ -413,3 +495,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- <deposit-list></deposit-list> -->
|
||||||
|
|
|
@ -30,16 +30,8 @@ import { fuseAnimations } from '@fuse/animations';
|
||||||
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
||||||
|
|
||||||
import { User } from '../models/user';
|
import { User } from '../models/user';
|
||||||
import { UserPagination } from '../models/user-pagination';
|
|
||||||
import { UserService } from '../services/user.service';
|
import { UserService } from '../services/user.service';
|
||||||
|
|
||||||
export interface Tile {
|
|
||||||
color: string;
|
|
||||||
cols: number;
|
|
||||||
rows: number;
|
|
||||||
text: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'user-view',
|
selector: 'user-view',
|
||||||
templateUrl: './view.component.html',
|
templateUrl: './view.component.html',
|
||||||
|
@ -68,27 +60,13 @@ export interface Tile {
|
||||||
animations: fuseAnimations,
|
animations: fuseAnimations,
|
||||||
})
|
})
|
||||||
export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
tiles: Tile[] = [
|
|
||||||
{ text: 'One', cols: 1, rows: 1, color: 'lightblue' },
|
|
||||||
{ text: 'Two', cols: 1, rows: 1, color: 'lightgreen' },
|
|
||||||
{ text: 'Three', cols: 1, rows: 1, color: 'lightpink' },
|
|
||||||
{ text: 'Four', cols: 1, rows: 1, color: '#DDBDF1' },
|
|
||||||
{ text: 'five', cols: 1, rows: 1, color: 'lightblue' },
|
|
||||||
{ text: 'six', cols: 1, rows: 1, color: 'lightgreen' },
|
|
||||||
{ text: 'seven', cols: 1, rows: 1, color: 'lightpink' },
|
|
||||||
{ text: 'eight', cols: 1, rows: 1, color: '#DDBDF1' },
|
|
||||||
];
|
|
||||||
|
|
||||||
@ViewChild(MatPaginator) private _paginator!: MatPaginator;
|
@ViewChild(MatPaginator) private _paginator!: MatPaginator;
|
||||||
@ViewChild(MatSort) private _sort!: MatSort;
|
@ViewChild(MatSort) private _sort!: MatSort;
|
||||||
|
|
||||||
users$!: Observable<User[] | undefined>;
|
|
||||||
|
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
searchInputControl = new FormControl();
|
searchInputControl = new FormControl();
|
||||||
selectedProductForm!: FormGroup;
|
selectedProductForm!: FormGroup;
|
||||||
selectedUser?: User;
|
selectedUser?: User;
|
||||||
pagination?: UserPagination;
|
|
||||||
|
|
||||||
private _unsubscribeAll: Subject<any> = new Subject<any>();
|
private _unsubscribeAll: Subject<any> = new Subject<any>();
|
||||||
|
|
||||||
|
@ -112,14 +90,14 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.selectedProductForm = this._formBuilder.group({
|
this.selectedProductForm = this._formBuilder.group({
|
||||||
id: [''],
|
id: [''],
|
||||||
signinId: [{ value: 'test1', disabled: true }],
|
signinId: [{ value: '', disabled: true }],
|
||||||
signinPw: [''],
|
signinPw: [{ value: '' }],
|
||||||
exchangePw: [''],
|
exchangePw: [''],
|
||||||
description: [''],
|
description: [''],
|
||||||
tags: [[]],
|
tags: [[]],
|
||||||
nickname: [{ value: 'nickname1', disabled: true }],
|
nickname: [{ value: '', disabled: true }],
|
||||||
holdingMoney: [''],
|
ownCash: [''],
|
||||||
phonNumber: ['010-1111-1111'],
|
phoneNumber: [''],
|
||||||
level: [''],
|
level: [''],
|
||||||
status: [''],
|
status: [''],
|
||||||
isExcahngeMoney: [''],
|
isExcahngeMoney: [''],
|
||||||
|
@ -128,7 +106,7 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
accountHolder: [''],
|
accountHolder: [''],
|
||||||
comp: [''],
|
comp: [''],
|
||||||
coupon: [''],
|
coupon: [''],
|
||||||
recommender: [{ value: 'test2', disabled: true }],
|
recommender: [{ value: '', disabled: true }],
|
||||||
changeSite: [''],
|
changeSite: [''],
|
||||||
recommendCount: [''],
|
recommendCount: [''],
|
||||||
hodingGameMoney: [{ value: '0', disabled: true }],
|
hodingGameMoney: [{ value: '0', disabled: true }],
|
||||||
|
@ -142,63 +120,27 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
slotRusingRate: [],
|
slotRusingRate: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get the pagination
|
// Get the User
|
||||||
this._userService.pagination$
|
this._userService.user$
|
||||||
.pipe(takeUntil(this._unsubscribeAll))
|
.pipe(takeUntil(this._unsubscribeAll))
|
||||||
.subscribe((pagination: UserPagination | undefined) => {
|
.subscribe((user: User | undefined) => {
|
||||||
// Update the pagination
|
if (!user) {
|
||||||
this.pagination = pagination;
|
return;
|
||||||
|
}
|
||||||
|
this.selectedUser = user;
|
||||||
|
|
||||||
|
this.selectedProductForm.patchValue(user);
|
||||||
// Mark for check
|
// Mark for check
|
||||||
this._changeDetectorRef.markForCheck();
|
this._changeDetectorRef.markForCheck();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get the products
|
/* this.user$ = this._userService.user$; */
|
||||||
this.users$ = this._userService.users$;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* After view init
|
* After view init
|
||||||
*/
|
*/
|
||||||
ngAfterViewInit(): void {
|
ngAfterViewInit(): void {}
|
||||||
if (this._sort && this._paginator) {
|
|
||||||
// Set the initial sort
|
|
||||||
this._sort.sort({
|
|
||||||
id: 'name',
|
|
||||||
start: 'asc',
|
|
||||||
disableClear: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
// Mark for check
|
|
||||||
this._changeDetectorRef.markForCheck();
|
|
||||||
|
|
||||||
// If the user changes the sort order...
|
|
||||||
this._sort.sortChange
|
|
||||||
.pipe(takeUntil(this._unsubscribeAll))
|
|
||||||
.subscribe(() => {
|
|
||||||
// Reset back to the first page
|
|
||||||
this._paginator.pageIndex = 0;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Get products if sort or page changes
|
|
||||||
merge(this._sort.sortChange, this._paginator.page)
|
|
||||||
.pipe(
|
|
||||||
switchMap(() => {
|
|
||||||
this.isLoading = true;
|
|
||||||
return this._userService.getUsers(
|
|
||||||
this._paginator.pageIndex,
|
|
||||||
this._paginator.pageSize,
|
|
||||||
this._sort.active,
|
|
||||||
this._sort.direction
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
map(() => {
|
|
||||||
this.isLoading = false;
|
|
||||||
})
|
|
||||||
)
|
|
||||||
.subscribe();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* On destroy
|
* On destroy
|
||||||
|
|
|
@ -1,40 +1,24 @@
|
||||||
export interface User {
|
export interface User {
|
||||||
id: string;
|
id: string;
|
||||||
category?: string;
|
signinId: string;
|
||||||
name: string;
|
signinPw: string;
|
||||||
description?: string;
|
exchangePw: string;
|
||||||
tags?: string[];
|
nickname?: string; // 사용자 닉네임
|
||||||
sku?: string | null;
|
highRank?: string; // 상위
|
||||||
barcode?: string | null;
|
rank?: string; // 매장/총판/부본/대본/본사/
|
||||||
brand?: string | null;
|
level?: string; // LV1, LV2, LV3, LV4
|
||||||
vendor: string | null;
|
accountHolder?: string; // 예금주
|
||||||
stock: number;
|
phoneNumber?: string; // 연락처
|
||||||
reserved: number;
|
ownCash?: number; // 현금 금액
|
||||||
cost: number;
|
ownComp?: number; // 콤프 금액
|
||||||
basePrice: number;
|
ownCoupon?: number; // 쿠폰 금액
|
||||||
taxPercent: number;
|
gameMoney?: number; // 게임중인 머니
|
||||||
price: number;
|
todayComp?: number; // 오늘 받은 콤프 포인트
|
||||||
weight: number;
|
totalDeposit?: number; // 총 입금액
|
||||||
thumbnail: string;
|
totalWithdraw?: number; // 총 출금액
|
||||||
images: string[];
|
balance?: number; // 차익
|
||||||
active: boolean;
|
registDate?: string; // 가입날짜
|
||||||
|
finalSigninDate?: string; // 마지막 로그인 날짜
|
||||||
nickname: string;
|
ip?: string; // 아이피
|
||||||
highRank: string;
|
state?: string; // 사용자 상태
|
||||||
rank: string;
|
|
||||||
level: string;
|
|
||||||
accountHolder: string;
|
|
||||||
contact: string;
|
|
||||||
cash: number;
|
|
||||||
comp: number;
|
|
||||||
coupon: number;
|
|
||||||
gameMoney: number;
|
|
||||||
todayComp: number;
|
|
||||||
deposit: number;
|
|
||||||
withdraw: number;
|
|
||||||
margin: number;
|
|
||||||
accession: string;
|
|
||||||
final: string;
|
|
||||||
ip: string;
|
|
||||||
state: string;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,9 @@ import { MatGridListModule } from '@angular/material/grid-list';
|
||||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||||
import { MatRadioModule } from '@angular/material/radio';
|
import { MatRadioModule } from '@angular/material/radio';
|
||||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||||
|
import { MatChipsModule } from '@angular/material/chips';
|
||||||
|
|
||||||
|
import { FuseCardModule } from '@fuse/components/card';
|
||||||
|
|
||||||
import { TranslocoModule } from '@ngneat/transloco';
|
import { TranslocoModule } from '@ngneat/transloco';
|
||||||
|
|
||||||
|
@ -45,6 +48,9 @@ import { userRoutes } from 'app/modules/admin/member/user/user.routing';
|
||||||
MatSlideToggleModule,
|
MatSlideToggleModule,
|
||||||
MatRadioModule,
|
MatRadioModule,
|
||||||
MatCheckboxModule,
|
MatCheckboxModule,
|
||||||
|
MatChipsModule,
|
||||||
|
|
||||||
|
FuseCardModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class UserModule {}
|
export class UserModule {}
|
||||||
|
|
|
@ -17,7 +17,7 @@ export const userRoutes: Route[] = [
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: ViewComponent,
|
component: ViewComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
users: UserResolver,
|
user: UserResolver,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user