diff --git a/src/app/modules/admin/board/customer/components/list.component.html b/src/app/modules/admin/board/customer/components/list.component.html index f499d03..3e032c1 100644 --- a/src/app/modules/admin/board/customer/components/list.component.html +++ b/src/app/modules/admin/board/customer/components/list.component.html @@ -13,30 +13,23 @@
고객센터
- - + + +
+ + + +
+ +
- - - - 아이디 - 작성자 - 글제목 - 글내용 - 사이트명 - 답변내용 - - - - - - - - - +
@@ -152,29 +76,42 @@ class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto" > - +
- - - - - - - - - - - - - - - + + + + + + + + + +
@@ -194,25 +131,27 @@ - - - - - - + -
- +
- There are no customers! + There are no data!
diff --git a/src/app/modules/admin/board/customer/components/list.component.ts b/src/app/modules/admin/board/customer/components/list.component.ts index 50501a1..1b54749 100644 --- a/src/app/modules/admin/board/customer/components/list.component.ts +++ b/src/app/modules/admin/board/customer/components/list.component.ts @@ -42,18 +42,22 @@ import { Router } from '@angular/router'; /* language=SCSS */ ` .inventory-grid { - grid-template-columns: 60px auto 40px; + /* CB 번호 제목 작성자 답변 */ + grid-template-columns: 20px 40px auto 100px 100px; @screen sm { - grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px; + /* CB 번호 제목 작성자 최근충전 답변 */ + grid-template-columns: 20px 40px auto 100px 100px; } @screen md { - grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px; + /* CB 번호 제목 작성자 최근충전 답변 */ + grid-template-columns: 20px 40px auto 100px 100px; } @screen lg { - grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px; + /* CB 번호 제목 작성자 메모 최근충전 최근로그인 사이트 답변 */ + grid-template-columns: 20px 40px auto 100px 40px 140px 140px 140px 140px; } } `, @@ -73,6 +77,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { searchInputControl = new FormControl(); selectedCustomer?: Customer; pagination?: CustomerPagination; + __isSearchOpened = false; private _unsubscribeAll: Subject = new Subject(); @@ -166,7 +171,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { // @ Public methods // ----------------------------------------------------------------------------------------------------- - viewUserDetail(id: string): void { + viewUserDetail(id?: string): void { let url: string = 'member/user/' + id; this.router.navigateByUrl(url); } @@ -174,6 +179,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { // @ Private methods // ----------------------------------------------------------------------------------------------------- + /** + * toggle the search + * Used in 'bar' + */ + __onClickSearch(): void { + this.__isSearchOpened = !this.__isSearchOpened; + } + /** * Create product */