diff --git a/src/app/mock-api/apps/board/customer/api.ts b/src/app/mock-api/apps/board/customer/api.ts index 86e9fc7..3781bab 100644 --- a/src/app/mock-api/apps/board/customer/api.ts +++ b/src/app/mock-api/apps/board/customer/api.ts @@ -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(); diff --git a/src/app/mock-api/apps/board/customer/data.ts b/src/app/mock-api/apps/board/customer/data.ts index a7e425d..a1b4b04 100644 --- a/src/app/mock-api/apps/board/customer/data.ts +++ b/src/app/mock-api/apps/board/customer/data.ts @@ -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: '노출', + }, ];