This commit is contained in:
Park Byung Eun 2022-07-18 09:53:53 +00:00
parent 01cd0cdb8f
commit 0b95f6f6e8
2 changed files with 69 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export class BoardCustomerMockApi {
let customers: any[] | null = cloneDeep(this._customers);
// Sort the customers
if (sort === 'sku' || sort === 'name' || sort === 'active') {
if (sort === 'signinId' || sort === 'nickname' || sort === 'level') {
customers.sort((a, b) => {
const fieldA = a[sort].toString().toUpperCase();
const fieldB = b[sort].toString().toUpperCase();

View File

@ -18,4 +18,72 @@ export const customers = [
answer: '미해결',
state: '노출',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3q',
signinId: 'aa100',
nickname: 'aa100',
idx: 73,
title: '입금계좌문의',
level: '4',
memo: '@',
finalOwnCharge: 10000000,
finalSigninDate: '2022-06-21T17:16',
highRank: '[매장]kgon5',
site: 'web5nova114.com',
views: 0,
writeDate: '2022-06-21T13:34',
answer: '미해결',
state: '노출',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'aa100',
nickname: 'aa100',
idx: 73,
title: '입금계좌문의',
level: '4',
memo: '@',
finalOwnCharge: 10000000,
finalSigninDate: '2022-06-21T17:16',
highRank: '[매장]kgon5',
site: 'web5nova114.com',
views: 0,
writeDate: '2022-06-21T13:34',
answer: '미해결',
state: '노출',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3a',
signinId: 'aa100',
nickname: 'aa100',
idx: 73,
title: '입금계좌문의',
level: '4',
memo: '@',
finalOwnCharge: 10000000,
finalSigninDate: '2022-06-21T17:16',
highRank: '[매장]kgon5',
site: 'web5nova114.com',
views: 0,
writeDate: '2022-06-21T13:34',
answer: '미해결',
state: '노출',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3z',
signinId: 'aa100',
nickname: 'aa100',
idx: 73,
title: '입금계좌문의',
level: '4',
memo: '@',
finalOwnCharge: 10000000,
finalSigninDate: '2022-06-21T17:16',
highRank: '[매장]kgon5',
site: 'web5nova114.com',
views: 0,
writeDate: '2022-06-21T13:34',
answer: '미해결',
state: '노출',
},
];