고객센터리스트 page 수정

This commit is contained in:
이담 정 2022-07-18 09:43:53 +00:00
parent 8e2f048db0
commit f8067b610e
5 changed files with 98 additions and 192 deletions

View File

@ -139,24 +139,20 @@ export class BoardCustomerMockApi {
// Generate a new customer
const newCustomer = {
id: FuseMockApiUtils.guid(),
category: '',
name: 'A New User',
description: '',
tags: [],
sku: '',
barcode: '',
brand: '',
vendor: '',
stock: '',
reserved: '',
cost: '',
basePrice: '',
taxPercent: '',
price: '',
weight: '',
thumbnail: '',
images: [],
active: false,
signinId: '',
nickname: '',
idx: 0,
title: '',
level: '',
memo: '',
finalOwnCharge: 0,
finalSigninDate: '2022-06-21T17:16',
highRank: '',
site: '',
views: 0,
writeDate: '2022-06-21T13:34',
answer: '미해결',
state: '노출',
};
// Unshift the new customer

View File

@ -2,32 +2,20 @@
export const customers = [
{
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',
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: '노출',
},
];

View File

@ -36,7 +36,7 @@
</mat-form-field> -->
<!-- SelectBox -->
<mat-form-field>
<!-- <mat-form-field>
<mat-select placeholder="리스트수">
<mat-option value="40">40</mat-option>
<mat-option value="60">60</mat-option>
@ -72,13 +72,15 @@
<mat-select placeholder="입금">
<mat-option value="">계좌입금</mat-option>
</mat-select>
</mat-form-field>
</mat-form-field> -->
<mat-form-field>
<mat-select placeholder="내용">
<mat-option value="">카지노콤프</mat-option>
<mat-option value="">슬롯콤프</mat-option>
<mat-option value="">배팅콤프</mat-option>
<mat-option value="">첫충콤프</mat-option>
<mat-select placeholder="아이디">
<mat-option value="">아이디</mat-option>
<mat-option value="">작성자</mat-option>
<mat-option value="">글제목</mat-option>
<mat-option value="">글내용</mat-option>
<mat-option value="">사이트명</mat-option>
<mat-option value="">답변내용</mat-option>
</mat-select>
</mat-form-field>
<!-- <mat-form-field>
@ -140,8 +142,6 @@
<!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> -->
<span class="ml-2 mr-1">검색하기</span>
</button>
<button>엑셀저장</button>
<button>카지노머니확인</button>
</div>
</div>
@ -160,26 +160,21 @@
matSort
matSortDisableClear
>
<div class="hidden sm:block"><mat-checkbox></mat-checkbox></div>
<div class="hidden sm:block">요율</div>
<div class="hidden sm:block">상부트리</div>
<div class="hidden sm:block">관리</div>
<div class="hidden sm:block">매장수</div>
<div class="hidden sm:block">회원수</div>
<div class="hidden sm:block">아이디</div>
<div class="hidden sm:block">닉네임</div>
<div class="hidden sm:block">예금주</div>
<div class="hidden sm:block">연락처</div>
<div class="hidden sm:block">정산</div>
<div class="hidden sm:block">보유금</div>
<div class="hidden sm:block">게임중머니</div>
<div class="hidden sm:block">카지노->캐쉬</div>
<div class="hidden sm:block">금일콤프</div>
<div class="hidden sm:block">총입출</div>
<div class="hidden sm:block">로그</div>
<div class="hidden sm:block">선택</div>
<div class="hidden sm:block">일련번호</div>
<div class="hidden sm:block">제목</div>
<div class="hidden sm:block">작성자</div>
<div class="hidden sm:block">등급</div>
<div class="hidden sm:block">메모</div>
<div class="hidden sm:block">최근충전</div>
<div class="hidden sm:block">최근로그인</div>
<div class="hidden sm:block">상위</div>
<div class="hidden sm:block">사이트</div>
<div class="hidden sm:block">조회수</div>
<div class="hidden sm:block">작성일</div>
<div class="hidden sm:block">답변</div>
<div class="hidden sm:block">상태</div>
<div class="hidden sm:block">회원수</div>
<div class="hidden sm:block">비고</div>
<div class="hidden sm:block">로그인</div>
</div>
<!-- Rows -->
<ng-container *ngIf="customers$ | async as customers">
@ -192,60 +187,15 @@
<div class="hidden sm:block truncate">
<mat-checkbox></mat-checkbox>
</div>
<!-- rate -->
<!-- 일련번호 -->
<div class="hidden sm:block truncate">
<button
mat-button
color="primary"
matTooltip="요율확인
카지노-바카라: 0%
카지노-룰렛: 0%
카지노-드레곤타이거: 0%
카지노-그외: 0%
슬롯: 0%
카지노루징: 0%
슬롯루징: 0%"
>
요율
</button>
<div class="hidden sm:block truncate">
<!-- 관리 -->
<button mat-flat-button [color]="'primary'">
<mat-form-field>
<mat-select placeholder="관리">
<mat-option value="">보유금지급/회수</mat-option>
<mat-option value="">수수료설정</mat-option>
<mat-option value="">콤프지급/회수</mat-option>
<mat-option value="">쿠폰머니지급/회수</mat-option>
<mat-option value="">쪽지보내기</mat-option>
<mat-option value="">베팅리스트</mat-option>
<mat-option value="">강제로그아웃</mat-option>
</mat-select>
</mat-form-field>
</button>
</div>
{{ customer.idx }}
</div>
<!-- 매장수 -->
<!-- 제목 -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
{{ customer.branchCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ customer.divisionCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ customer.officeCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ customer.storeCount }}
</button>
</div>
<!-- 회원수 -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
{{ customer.memberCount }}
</button>
{{ customer.title }}
</div>
<!-- 작성자 (닉네임)-->
<!-- id -->
<ng-container *ngIf="users$ | async as users">
<ng-container
@ -255,80 +205,64 @@
class="hidden sm:block truncate"
(click)="viewUserDetail(user.id!)"
>
{{ customer.id }}
{{ customer.signinId }}({{ customer.nickname }})
</div>
</ng-container>
</ng-container>
<!-- nickname -->
<!-- 등급 -->
<div class="hidden sm:block truncate">
{{ customer.nickname }}
LV.{{ customer.level }}
</div>
<!-- accountHolder -->
<!-- 메모 -->
<div class="hidden sm:block truncate">
{{ customer.accountHolder }}
{{ customer.memo }}
</div>
<!-- 연락처 -->
<!-- 최근충전 -->
<div class="hidden sm:block truncate">
{{ customer.phoneNumber }}
{{ customer.finalOwnCharge }}
</div>
<!-- 정산 -->
<!-- 최근로그인 -->
<div class="hidden sm:block truncate">
{{ customer.calculateType }}
{{ customer.finalSigninDate }}
</div>
<!-- 보유금 -->
<!-- 상위 -->
<div class="hidden sm:block truncate">
캐쉬{{ customer.ownCash }} 콤프{{ customer.ownComp }} 쿠폰{{
customer.ownCoupon
}}
{{ customer.highRank }}
</div>
<!-- gameMoney -->
<!-- 사이트 -->
<div class="hidden sm:block truncate">
{{ customer.gameMoney }}
{{ customer.site }}
</div>
<!-- casinoCash -->
<!-- 조회수 -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
게임머니확인
</button>
<button mat-flat-button [color]="'primary'">
게임머니회수
</button>
{{ customer.views }}
</div>
<!-- todayComp -->
<!-- 작성일 -->
<div class="hidden sm:block truncate">
{{ customer.todayComp }}P
{{ customer.writeDate }}
</div>
<!-- 총입출 -->
<!-- 답변 -->
<div class="hidden sm:block truncate">
입금{{ customer.totalDeposit }} 출금{{
customer.totalWithdraw
}}
차익{{ customer.balance }}
{{ customer.answer }}
</div>
<!-- log -->
<div class="hidden sm:block truncate">
가입{{ customer.registDate }} 최종{{
customer.finalSigninDate
}}
IP{{ customer.ip }}
</div>
<!-- state -->
<!-- 상태 -->
<div class="hidden sm:block truncate">
{{ customer.state }}
</div>
<!-- 회원수 -->
<div class="hidden sm:block truncate">
{{ customer.memberCount }}
</div>
<!-- 비고 -->
<!-- 로그인 -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
{{ customer.note }}
중복로그인
</button>
</div>
</div>
</ng-container>
</ng-container>
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
디비에서 완전삭제
</button>
</div>
</div>
<mat-paginator

View File

@ -117,7 +117,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
if (this._sort && this._paginator) {
// Set the initial sort
this._sort.sort({
id: 'name',
id: 'signinId',
start: 'asc',
disableClear: true,
});

View File

@ -1,29 +1,17 @@
export interface Customer {
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;
ip?: string;
signinId?: string;
nickname?: String;
idx?: number;
title?: string;
level?: string;
memo?: string;
finalOwnCharge?: number;
finalSigninDate?: Date;
highRank?: string;
site?: string;
views?: number;
writeDate?: Date;
answer?: string;
state?: string;
note?: string;
}