diff --git a/src/app/mock-api/apps/bank/deposit/api.ts b/src/app/mock-api/apps/bank/deposit/api.ts index ce81376..bc8543e 100644 --- a/src/app/mock-api/apps/bank/deposit/api.ts +++ b/src/app/mock-api/apps/bank/deposit/api.ts @@ -33,7 +33,7 @@ export class BankDepositMockApi { .reply(({ request }) => { // Get available queries 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 page = parseInt(request.params.get('page') ?? '1', 10); const size = parseInt(request.params.get('size') ?? '10', 10); @@ -42,7 +42,7 @@ export class BankDepositMockApi { let deposits: any[] | null = cloneDeep(this._deposits); // Sort the deposits - if (sort === 'sku' || sort === 'name' || sort === 'active') { + if (sort === 'signinId' || sort === 'nickname' || sort === 'state') { deposits.sort((a, b) => { const fieldA = a[sort].toString().toUpperCase(); const fieldB = b[sort].toString().toUpperCase(); diff --git a/src/app/mock-api/apps/bank/deposit/data.ts b/src/app/mock-api/apps/bank/deposit/data.ts index a19b987..53697dc 100644 --- a/src/app/mock-api/apps/bank/deposit/data.ts +++ b/src/app/mock-api/apps/bank/deposit/data.ts @@ -2,11 +2,12 @@ export const deposits = [ { + id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c', rank: '회원', level: 4, - id: 'aa100', + signinId: 'aa100', nickname: 'aa100', - paymentDue: 50000, + depositAmount: 50000, calculateType: '롤링', accountHolder: '광주은행2sss', note: '@', @@ -20,11 +21,12 @@ export const deposits = [ state: '신청', }, { + id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d', rank: '회원', level: 1, - id: 'onon6', + signinId: 'onon6', nickname: '가가가', - paymentDue: 100000, + depositAmount: 100000, calculateType: '롤링', accountHolder: '가가가', note: '', @@ -38,11 +40,12 @@ export const deposits = [ state: '완료', }, { + id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de', rank: '회원', level: 1, - id: 'onon6', + signinId: 'onon6', nickname: '가가가', - paymentDue: 100000, + depositAmount: 100000, calculateType: '롤링', accountHolder: '가가가', note: '', diff --git a/src/app/modules/admin/bank/deposit/components/list.component.html b/src/app/modules/admin/bank/deposit/components/list.component.html index c2b0fec..327e835 100644 --- a/src/app/modules/admin/bank/deposit/components/list.component.html +++ b/src/app/modules/admin/bank/deposit/components/list.component.html @@ -10,16 +10,39 @@ -
Deposit
+
입금관리
- - - - - + + + +
+ + + + + + +
+ +
- + 카지노콤프 슬롯콤프 @@ -27,7 +50,7 @@ 첫충콤프 - + 아이디 닉네임 @@ -38,7 +61,8 @@ - +
- + +
-
-
- - - - - - - - - - - - - - - - - - + +
정산종류
+
비고
+
입금예정금액
+ + + + + + +
@@ -123,198 +152,87 @@
- -