diff --git a/src/app/mock-api/apps/report/modification-log/api.ts b/src/app/mock-api/apps/report/modification-log/api.ts
index 402e0b2..b172abc 100644
--- a/src/app/mock-api/apps/report/modification-log/api.ts
+++ b/src/app/mock-api/apps/report/modification-log/api.ts
@@ -33,7 +33,7 @@ export class ReportModificationLogMockApi {
.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 ReportModificationLogMockApi {
let modificationLogs: any[] | null = cloneDeep(this._modificationLogs);
// Sort the modificationLogs
- if (sort === 'sku' || sort === 'name' || sort === 'active') {
+ if (sort === 'signinId' || sort === 'rank' || sort === 'history') {
modificationLogs.sort((a, b) => {
const fieldA = a[sort].toString().toUpperCase();
const fieldB = b[sort].toString().toUpperCase();
diff --git a/src/app/mock-api/apps/report/modification-log/data.ts b/src/app/mock-api/apps/report/modification-log/data.ts
index a7c41c1..06fb659 100644
--- a/src/app/mock-api/apps/report/modification-log/data.ts
+++ b/src/app/mock-api/apps/report/modification-log/data.ts
@@ -2,32 +2,111 @@
export const modificationLogs = [
{
- id: 'on00',
- totalPartnerCount: '5',
- totalHoldingMoney: 303675,
- totalComp: 108933,
- total: 412608,
- branchCount: 1,
- divisionCount: 1,
- officeCount: 1,
- storeCount: 1,
- memberCount: 1,
- nickname: 'on00',
- accountHolder: '11',
- phoneNumber: '010-1111-1111',
- calculateType: '롤링',
- ownCash: 50000,
- ownComp: 1711,
- ownCoupon: 50000,
- gameMoney: 0,
- todayComp: 0,
- totalDeposit: 0,
- totalWithdraw: 0,
- balance: 0,
- registDate: '2022-06-12 15:38',
- finalSigninDate: '',
- ip: '',
- state: '정상',
- note: '',
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 109,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 108,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 107,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 106,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 105,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '파워볼배팅상태변경: 사용 => 제한',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 104,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '슬롯요율변경: 3 ==> 0',
+ managementRank: '본사',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 103,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '비밀번호변경: asdf243 ==> 3350',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 102,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '첫충상태변경: 제한 ==> 사용, 매충상태변경: 제한 ==> 사용',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
+ },
+ {
+ id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
+ idx: 101,
+ rank: '회원',
+ signinId: 'aa100',
+ history: '계좌번호변경: ==> 111111111111, 예금주변경: ==> 테테',
+ managementRank: '관리자',
+ managementId: 'ADMIN',
+ ip: '27.109.115.148',
+ location: '관리자페이지',
+ modificationDate: '2022-08-21 15:23:33',
},
];
diff --git a/src/app/modules/admin/report/modification-log/components/list.component.html b/src/app/modules/admin/report/modification-log/components/list.component.html
index 10d018c..51522fc 100644
--- a/src/app/modules/admin/report/modification-log/components/list.component.html
+++ b/src/app/modules/admin/report/modification-log/components/list.component.html
@@ -13,110 +13,31 @@
-
-
-
+
+
+
+
+
+
+
+
-
-
- 40
- 60
- 80
- 100
-
-
-
-
- LV.1
- LV.2
- LV.3
- LV.4
-
-
-
-
- 정상
- 대기
- 탈퇴
- 휴면
- 블랙
- 정지
-
-
-
-
- 카지노제한
- 슬롯제한
-
-
-
-
- 계좌입금
-
-
-
-
- 카지노콤프
- 슬롯콤프
- 배팅콤프
- 첫충콤프
-
-
-
-
-
-
@@ -159,29 +78,16 @@
-
-
요율
-
상부트리
-
관리
-
매장수
-
회원수
-
아이디
-
닉네임
-
예금주
-
연락처
-
정산
-
보유금
-
게임중머니
-
카지노->캐쉬
-
금일콤프
-
총입출
-
로그
-
상태
-
회원수
-
비고
+
일련번호
+
아이디
+
등급
+
변경내역
+
관리자등급
+
관리자아이디
+
아이피
+
위치
+
수정시간
@@ -194,143 +100,28 @@
-
-
+
+ {{ modificationLog.idx }}
-
-
-
-
-
-
-
+
+ {{ modificationLog.signinId }}
-
-
-
-
-
-
+
+ {{ modificationLog.rank }}
-
-
-
+
+ {{ modificationLog.history }}
-
-
-
-
- {{ modificationLog.id }}
-
-
-
-
-
- {{ modificationLog.nickname }}
+
{{ modificationLog.managementRank }}
+
+ {{ modificationLog.managementId }}
-
-
- {{ modificationLog.accountHolder }}
+
{{ modificationLog.ip }}
+
+ {{ modificationLog.location }}
-
-
- {{ modificationLog.phoneNumber }}
-
-
-
- {{ modificationLog.calculateType }}
-
-
-
- 캐쉬{{ modificationLog.ownCash }} 콤프{{
- modificationLog.ownComp
- }}
- 쿠폰{{ modificationLog.ownCoupon }}
-
-
-
- {{ modificationLog.gameMoney }}
-
-
-
-
-
-
-
-
- {{ modificationLog.todayComp }}P
-
-
-
- 입금{{ modificationLog.totalDeposit }} 출금{{
- modificationLog.totalWithdraw
- }}
- 차익{{ modificationLog.balance }}
-
-
-
- 가입{{ modificationLog.registDate }} 최종{{
- modificationLog.finalSigninDate
- }}
- IP{{ modificationLog.ip }}
-
-
-
- {{ modificationLog.state }}
-
-
-
- {{ modificationLog.memberCount }}
-
-
-
-
+
+ {{ modificationLog.modificationDate }}
@@ -353,7 +144,7 @@
- There are no modificationLogs!
+ There are no data!
diff --git a/src/app/modules/admin/report/modification-log/components/list.component.ts b/src/app/modules/admin/report/modification-log/components/list.component.ts
index e8ed02b..ecfa97f 100644
--- a/src/app/modules/admin/report/modification-log/components/list.component.ts
+++ b/src/app/modules/admin/report/modification-log/components/list.component.ts
@@ -42,18 +42,22 @@ import { Router } from '@angular/router';
/* language=SCSS */
`
.inventory-grid {
- grid-template-columns: 60px auto 40px;
+ /* 번호 아이디 등급 변경 관리자등급 관리자아이디 */
+ grid-template-columns: 60px 60px 60px auto 60px 60px;
@screen sm {
- grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
+ /* 번호 아이디 등급 변경 관리자등급 관리자아이디 아이피 위치 수정시간 */
+ grid-template-columns: 60px 60px 60px auto 60px 60px 100px 60px 100px;
}
@screen md {
- grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
+ /* 번호 아이디 등급 변경 관리자등급 관리자아이디 아이피 위치 수정시간 */
+ grid-template-columns: 60px 60px 60px auto 60px 60px 100px 60px 100px;
}
@screen lg {
- grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
+ /* 번호 아이디 등급 변경 관리자등급 관리자아이디 아이피 위치 수정시간 */
+ grid-template-columns: 60px 60px 60px auto 60px 60px 100px 60px 100px;
}
}
`,
@@ -69,6 +73,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
modificationLogs$!: Observable
;
users$!: Observable;
+ __isSearchOpened = false;
isLoading = false;
searchInputControl = new FormControl();
selectedModificationLog?: ModificationLog;
@@ -186,6 +191,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
*/
__toggleDetails(productId: string): void {}
+ /**
+ * toggle the search
+ * Used in 'bar'
+ */
+ __onClickSearch(): void {
+ this.__isSearchOpened = !this.__isSearchOpened;
+ }
+
/**
* Track by function for ngFor loops
*
diff --git a/src/app/modules/admin/report/modification-log/models/modification-log.ts b/src/app/modules/admin/report/modification-log/models/modification-log.ts
index 5882a13..388ac5f 100644
--- a/src/app/modules/admin/report/modification-log/models/modification-log.ts
+++ b/src/app/modules/admin/report/modification-log/models/modification-log.ts
@@ -1,29 +1,12 @@
export interface ModificationLog {
- id?: string;
- totalPartnerCount?: number;
- totalHoldingMoney?: number;
- totalComp?: number;
- total?: number;
- branchCount?: number;
- divisionCount?: number;
- officeCount?: number;
- storeCount?: number;
- memberCount?: number;
- nickname?: string;
- accountHolder?: string;
- phoneNumber?: string;
- calculateType?: string;
- ownCash?: number;
- ownComp?: number;
- ownCoupon?: number;
- gameMoney?: number;
- todayComp?: number;
- totalDeposit?: number;
- totalWithdraw?: number;
- balance?: number;
- registDate?: string;
- finalSigninDate?: string;
+ id: string;
+ idx?: number; // 일련번호
+ rank?: string;
+ signinId?: string;
+ history?: string;
+ managementRank?: string; // 관리등급
+ managementId?: string; // 관리아이디
ip?: string;
- state?: string;
- note?: string;
+ location?: string; // 위치
+ modificationDate?: Date; // 수정시간
}