출금관리 수정
This commit is contained in:
parent
2006ef8f61
commit
71e4f7cff3
|
@ -33,7 +33,7 @@ export class BankWithdrawMockApi {
|
||||||
.reply(({ request }) => {
|
.reply(({ request }) => {
|
||||||
// Get available queries
|
// Get available queries
|
||||||
const search = request.params.get('search');
|
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 order = request.params.get('order') || 'asc';
|
||||||
const page = parseInt(request.params.get('page') ?? '1', 10);
|
const page = parseInt(request.params.get('page') ?? '1', 10);
|
||||||
const size = parseInt(request.params.get('size') ?? '10', 10);
|
const size = parseInt(request.params.get('size') ?? '10', 10);
|
||||||
|
@ -42,7 +42,7 @@ export class BankWithdrawMockApi {
|
||||||
let withdraws: any[] | null = cloneDeep(this._withdraws);
|
let withdraws: any[] | null = cloneDeep(this._withdraws);
|
||||||
|
|
||||||
// Sort the withdraws
|
// Sort the withdraws
|
||||||
if (sort === 'sku' || sort === 'name' || sort === 'active') {
|
if (sort === 'signinId' || sort === 'nickname' || sort === 'state') {
|
||||||
withdraws.sort((a, b) => {
|
withdraws.sort((a, b) => {
|
||||||
const fieldA = a[sort].toString().toUpperCase();
|
const fieldA = a[sort].toString().toUpperCase();
|
||||||
const fieldB = b[sort].toString().toUpperCase();
|
const fieldB = b[sort].toString().toUpperCase();
|
||||||
|
|
|
@ -5,7 +5,7 @@ export const withdraws = [
|
||||||
rank: '회원',
|
rank: '회원',
|
||||||
id: 'aa100',
|
id: 'aa100',
|
||||||
nickname: 'aa100',
|
nickname: 'aa100',
|
||||||
exchangeApplication: 14000000,
|
applicationForCurrencyExchange: 14000000,
|
||||||
calculateType: '롤링',
|
calculateType: '롤링',
|
||||||
accountHolder: '광주은행121212121212sss',
|
accountHolder: '광주은행121212121212sss',
|
||||||
note: '@',
|
note: '@',
|
||||||
|
@ -21,7 +21,7 @@ export const withdraws = [
|
||||||
rank: '회원',
|
rank: '회원',
|
||||||
id: 'aa100',
|
id: 'aa100',
|
||||||
nickname: 'aa100',
|
nickname: 'aa100',
|
||||||
exchangeApplication: 5000000,
|
applicationForCurrencyExchange: 5000000,
|
||||||
calculateType: '롤링',
|
calculateType: '롤링',
|
||||||
accountHolder: '광주은행121212121212sss',
|
accountHolder: '광주은행121212121212sss',
|
||||||
note: '@',
|
note: '@',
|
||||||
|
@ -37,7 +37,7 @@ export const withdraws = [
|
||||||
rank: '회원',
|
rank: '회원',
|
||||||
id: 'qwer12',
|
id: 'qwer12',
|
||||||
nickname: '하하하',
|
nickname: '하하하',
|
||||||
exchangeApplication: 10000,
|
applicationForCurrencyExchange: 10000,
|
||||||
calculateType: '롤링',
|
calculateType: '롤링',
|
||||||
accountHolder: '하나은행000210654151테스트',
|
accountHolder: '하나은행000210654151테스트',
|
||||||
note: '',
|
note: '',
|
||||||
|
|
|
@ -10,16 +10,39 @@
|
||||||
<mat-progress-bar [mode]="'indeterminate'"></mat-progress-bar>
|
<mat-progress-bar [mode]="'indeterminate'"></mat-progress-bar>
|
||||||
</div>
|
</div>
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<div class="text-4xl font-extrabold tracking-tight">Withdraw</div>
|
<div class="text-4xl font-extrabold tracking-tight">출금관리</div>
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||||
|
<!-- Search -->
|
||||||
|
|
||||||
|
<button mat-icon-button (click)="__onClickSearch()">
|
||||||
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Memo -->
|
<!-- Memo -->
|
||||||
<mat-form-field>
|
<div
|
||||||
<input matInput type="text" />
|
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||||
|
>
|
||||||
|
<mat-form-field
|
||||||
|
class="bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
|
<textarea matInput cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<button mat-flat-button [color]="'primary'">메모저장</button>
|
<button mat-flat-button [color]="'primary'">메모저장</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Search -->
|
||||||
|
<div
|
||||||
|
*ngIf="__isSearchOpened"
|
||||||
|
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||||
|
>
|
||||||
|
<!-- Actions -->
|
||||||
|
<div fxLayout="row wrap" class="items-center mt-6 sm:mt-0 sm:ml-0">
|
||||||
<!-- SelectBox -->
|
<!-- SelectBox -->
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="내용">
|
<mat-select placeholder="내용">
|
||||||
<mat-option value="">카지노콤프</mat-option>
|
<mat-option value="">카지노콤프</mat-option>
|
||||||
<mat-option value="">슬롯콤프</mat-option>
|
<mat-option value="">슬롯콤프</mat-option>
|
||||||
|
@ -27,8 +50,9 @@
|
||||||
<mat-option value="">첫충콤프</mat-option>
|
<mat-option value="">첫충콤프</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="아이디">
|
<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>
|
||||||
|
@ -37,7 +61,8 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
<mat-form-field
|
<mat-form-field
|
||||||
class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded min-w-64"
|
fxFlex
|
||||||
|
class="fuse-mat-rounded min-w-64 bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||||
>
|
>
|
||||||
<mat-icon
|
<mat-icon
|
||||||
class="icon-size-5"
|
class="icon-size-5"
|
||||||
|
@ -48,29 +73,39 @@
|
||||||
matInput
|
matInput
|
||||||
[formControl]="searchInputControl"
|
[formControl]="searchInputControl"
|
||||||
[autocomplete]="'off'"
|
[autocomplete]="'off'"
|
||||||
[placeholder]="'Search'"
|
[placeholder]="'Search user'"
|
||||||
/>
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Search button -->
|
<!-- Add user button -->
|
||||||
<button
|
<button
|
||||||
class="ml-4"
|
fxFlex
|
||||||
mat-flat-button
|
mat-flat-button
|
||||||
|
style="position: fixed; margin-top: 4px"
|
||||||
[color]="'primary'"
|
[color]="'primary'"
|
||||||
(click)="__createProduct()"
|
(click)="__createProduct()"
|
||||||
>
|
>
|
||||||
<!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> -->
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
<span class="ml-2 mr-1">검색하기</span>
|
<span class="ml-2 mr-1">Search</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
환전처리
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
대기처리
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'warn'">
|
||||||
|
환전취소
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<!-- Main -->
|
<!-- Main -->
|
||||||
<div class="flex flex-auto overflow-hidden">
|
<div class="flex flex-auto overflow-hidden">
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">환전 처리</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">대기 처리</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">환전 취소</button>
|
|
||||||
</div>
|
|
||||||
<!-- Products list -->
|
<!-- Products list -->
|
||||||
<div
|
<div
|
||||||
class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto"
|
class="flex flex-col flex-auto sm:mb-18 overflow-hidden sm:overflow-y-auto"
|
||||||
|
@ -81,35 +116,36 @@
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div
|
<div
|
||||||
class="inventory-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
class="inventory-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
||||||
matSort
|
|
||||||
matSortDisableClear
|
|
||||||
>
|
>
|
||||||
<div></div>
|
<div>
|
||||||
<div class="hidden sm:block">등급</div>
|
<mat-checkbox></mat-checkbox>
|
||||||
<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 md:block" [mat-sort-header]="'sku'">SKU</div>
|
|
||||||
<div [mat-sort-header]="'name'">Name</div>
|
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'price'">
|
|
||||||
Price
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden lg:block" [mat-sort-header]="'stock'">
|
<div>상부</div>
|
||||||
Stock
|
<div>
|
||||||
|
아이디
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
닉네임
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
상태
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden lg:block" [mat-sort-header]="'active'">
|
<div>
|
||||||
Active
|
등급
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
레벨
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block">Details</div> -->
|
<div class="hidden sm:block">예금주</div>
|
||||||
|
<div>정산종류</div>
|
||||||
|
<div>비고</div>
|
||||||
|
<div>환전신청금액</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
등록날짜
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
처리날짜
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">입금출금</div>
|
||||||
|
<div class="hidden lg:block">회원정보</div>
|
||||||
|
<div class="hidden lg:block">배팅정보</div>
|
||||||
|
<div class="hidden lg:block">삭제</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Rows -->
|
<!-- Rows -->
|
||||||
<ng-container *ngIf="withdraws$ | async as withdraws">
|
<ng-container *ngIf="withdraws$ | async as withdraws">
|
||||||
|
@ -119,185 +155,67 @@
|
||||||
<div
|
<div
|
||||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||||
>
|
>
|
||||||
<!-- rank -->
|
<div>
|
||||||
<div class="hidden sm:block truncate">
|
<mat-checkbox></mat-checkbox>
|
||||||
{{ withdraw.rank }}
|
|
||||||
</div>
|
</div>
|
||||||
|
<div>{{ withdraw.highRank }}</div>
|
||||||
<!-- id -->
|
<div>
|
||||||
<ng-container *ngIf="users$ | async as users">
|
{{ withdraw.signinId }}
|
||||||
<ng-container
|
<hr style="margin: 7px 0px" />
|
||||||
*ngFor="let user of users; trackBy: __trackByFn"
|
|
||||||
>
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.id }}
|
|
||||||
</div>
|
|
||||||
</ng-container>
|
|
||||||
</ng-container>
|
|
||||||
|
|
||||||
<!-- nickname -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.nickname }}
|
{{ withdraw.nickname }}
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
|
|
||||||
<!-- calculateType -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.calculateType }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- accountHolder -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.accountHolder }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- note -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.note }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- registrationDate -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.registrationDate }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- processDate -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.processDate }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- depositWithdrawal -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.deposit }}원 {{ withdraw.withdraw }}원
|
|
||||||
{{ withdraw.total }}원
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- casinoCash -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
게임머니확인
|
|
||||||
</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
게임머니회수
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- highRank -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">
|
|
||||||
{{ withdraw.highRank }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- state -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ withdraw.state }}
|
{{ withdraw.state }}
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
<!-- bettingInformation -->
|
{{ withdraw.rank }}
|
||||||
<div class="hidden sm:block truncate">
|
<hr style="margin: 7px 0px" />
|
||||||
<button mat-flat-button [color]="'primary'">
|
LV{{ withdraw.level }}
|
||||||
배팅리스트
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden sm:block">
|
||||||
<!-- delete -->
|
{{ withdraw.accountHolder }}
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">취소</button>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- Image -->
|
<div>{{ withdraw.calculateType }}</div>
|
||||||
<!-- <div class="flex items-center">
|
<div>{{ withdraw.note }}</div>
|
||||||
<div
|
<div>{{ withdraw.applicationForCurrencyExchange }}</div>
|
||||||
class="relative flex flex-0 items-center justify-center w-12 h-12 mr-6 rounded overflow-hidden border"
|
<div class="hidden md:block">
|
||||||
>
|
{{ withdraw.registrationDate }}
|
||||||
<img
|
<hr style="margin: 7px 0px" />
|
||||||
class="w-8"
|
{{ withdraw.processDate }}
|
||||||
*ngIf="user.thumbnail"
|
|
||||||
[alt]="'Product thumbnail image'"
|
|
||||||
[src]="user.thumbnail"
|
|
||||||
/>
|
|
||||||
<div
|
|
||||||
class="flex items-center justify-center w-full h-full text-xs font-semibold leading-none text-center uppercase"
|
|
||||||
*ngIf="!user.thumbnail"
|
|
||||||
>
|
|
||||||
NO THUMB
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
입금{{ withdraw.deposit }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
출금{{ withdraw.withdraw }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
계{{ withdraw.total }}
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
<div class="hidden lg:block">
|
||||||
|
|
||||||
<!-- SKU -->
|
|
||||||
<!-- <div class="hidden md:block truncate">
|
|
||||||
{{ user.sku }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Name -->
|
|
||||||
<!-- <div class="truncate">
|
|
||||||
{{ user.name }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Price -->
|
|
||||||
<!-- <div class="hidden sm:block">
|
|
||||||
{{ user.price | currency: "USD":"symbol":"1.2-2" }}
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Stock -->
|
|
||||||
<!-- <div class="hidden lg:flex items-center">
|
|
||||||
<div class="min-w-4">{{ user.stock }}</div> -->
|
|
||||||
<!-- Low stock -->
|
|
||||||
<!-- <div
|
|
||||||
class="flex items-end ml-2 w-1 h-4 bg-red-200 rounded overflow-hidden"
|
|
||||||
*ngIf="user.stock < 20"
|
|
||||||
>
|
|
||||||
<div class="flex w-full h-1/3 bg-red-600"></div>
|
|
||||||
</div> -->
|
|
||||||
<!-- Medium stock -->
|
|
||||||
<!-- <div
|
|
||||||
class="flex items-end ml-2 w-1 h-4 bg-orange-200 rounded overflow-hidden"
|
|
||||||
*ngIf="user.stock >= 20 && user.stock < 30"
|
|
||||||
>
|
|
||||||
<div class="flex w-full h-2/4 bg-orange-400"></div>
|
|
||||||
</div> -->
|
|
||||||
<!-- High stock -->
|
|
||||||
<!-- <div
|
|
||||||
class="flex items-end ml-2 w-1 h-4 bg-green-100 rounded overflow-hidden"
|
|
||||||
*ngIf="user.stock >= 30"
|
|
||||||
>
|
|
||||||
<div class="flex w-full h-full bg-green-400"></div>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Active -->
|
|
||||||
<!-- <div class="hidden lg:block">
|
|
||||||
<ng-container *ngIf="user.active">
|
|
||||||
<mat-icon
|
|
||||||
class="text-green-400 icon-size-5"
|
|
||||||
[svgIcon]="'heroicons_solid:check'"
|
|
||||||
></mat-icon>
|
|
||||||
</ng-container>
|
|
||||||
<ng-container *ngIf="!user.active">
|
|
||||||
<mat-icon
|
|
||||||
class="text-gray-400 icon-size-5"
|
|
||||||
[svgIcon]="'heroicons_solid:x'"
|
|
||||||
></mat-icon>
|
|
||||||
</ng-container>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- Details button -->
|
|
||||||
<!-- <div>
|
|
||||||
<button
|
<button
|
||||||
class="min-w-10 min-h-7 h-7 px-2 leading-6"
|
mat-flat-button
|
||||||
mat-stroked-button
|
class="bet-mat-small-8"
|
||||||
(click)="__toggleDetails(user.id)"
|
[color]="'primary'"
|
||||||
>
|
>
|
||||||
<mat-icon
|
회원정보
|
||||||
class="icon-size-5"
|
|
||||||
[svgIcon]="
|
|
||||||
selectedUser?.id === user.id
|
|
||||||
? 'heroicons_solid:chevron-up'
|
|
||||||
: 'heroicons_solid:chevron-down'
|
|
||||||
"
|
|
||||||
></mat-icon>
|
|
||||||
</button>
|
</button>
|
||||||
</div> -->
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
<button
|
||||||
|
mat-flat-button
|
||||||
|
class="bet-mat-small-8"
|
||||||
|
[color]="'primary'"
|
||||||
|
>
|
||||||
|
배팅정보
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
|
<button
|
||||||
|
mat-flat-button
|
||||||
|
class="bet-mat-small-8"
|
||||||
|
[color]="'primary'"
|
||||||
|
>
|
||||||
|
취소
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -323,10 +241,20 @@
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button mat-flat-button [color]="'primary'">환전 처리</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">대기 처리</button>
|
|
||||||
<button mat-flat-button [color]="'primary'">환전 취소</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
환전처리
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'primary'">
|
||||||
|
대기처리
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<button mat-flat-button class="bet-mat-small-8" [color]="'warn'">
|
||||||
|
환전취소
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -68,6 +68,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
withdraws$!: Observable<Withdraw[] | undefined>;
|
withdraws$!: Observable<Withdraw[] | undefined>;
|
||||||
users$!: Observable<User[] | undefined>;
|
users$!: Observable<User[] | undefined>;
|
||||||
|
|
||||||
|
__isSearchOpened = false;
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
searchInputControl = new FormControl();
|
searchInputControl = new FormControl();
|
||||||
selectedWithdraw?: Withdraw;
|
selectedWithdraw?: Withdraw;
|
||||||
|
@ -180,6 +181,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
*/
|
*/
|
||||||
__toggleDetails(productId: string): void {}
|
__toggleDetails(productId: string): void {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* toggle the search
|
||||||
|
* Used in 'bar'
|
||||||
|
*/
|
||||||
|
__onClickSearch(): void {
|
||||||
|
this.__isSearchOpened = !this.__isSearchOpened;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Track by function for ngFor loops
|
* Track by function for ngFor loops
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
export interface Withdraw {
|
export interface Withdraw {
|
||||||
|
id: string;
|
||||||
|
signinId?: string;
|
||||||
rank?: string;
|
rank?: string;
|
||||||
id?: string;
|
level?: string;
|
||||||
nickname?: string;
|
nickname?: string;
|
||||||
exchangeApplication?: number;
|
applicationForCurrencyExchange?: number; // 환전신청금액
|
||||||
calculateType?: string;
|
calculateType?: string;
|
||||||
accountHolder?: string;
|
accountHolder?: string;
|
||||||
note?: string;
|
note?: string;
|
||||||
|
|
|
@ -11,6 +11,7 @@ import { MatRippleModule } from '@angular/material/core';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatSelectModule } from '@angular/material/select';
|
import { MatSelectModule } from '@angular/material/select';
|
||||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||||
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||||
|
|
||||||
import { TranslocoModule } from '@ngneat/transloco';
|
import { TranslocoModule } from '@ngneat/transloco';
|
||||||
|
|
||||||
|
@ -37,6 +38,7 @@ import { withdrawRoutes } from './withdraw.routing';
|
||||||
MatSortModule,
|
MatSortModule,
|
||||||
MatSelectModule,
|
MatSelectModule,
|
||||||
MatTooltipModule,
|
MatTooltipModule,
|
||||||
|
MatCheckboxModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class WithdrawModule {}
|
export class WithdrawModule {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user