Merge branch 'feature/BETERAN-BACKEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-backend-app-browser into feature/BETERAN-BACKEND-APP-BROWSER-init

This commit is contained in:
Park Byung Eun 2022-07-18 09:39:36 +00:00
commit 43a770a9d1
21 changed files with 239 additions and 684 deletions

View File

@ -2,32 +2,12 @@
export const messages = [ export const messages = [
{ {
id: 'on00', title: '입금계좌 고객문의 부탁드립니다',
totalPartnerCount: '5', writer: 'aa100에게 관리자 쪽지(답변)',
totalHoldingMoney: 303675, site: '',
totalComp: 108933, views: '1',
total: 412608, writeDate: '2022-06-12 20:52',
branchCount: 1, answer: '완료',
divisionCount: 1, state: '사용자삭제',
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: '',
}, },
]; ];

View File

@ -185,7 +185,7 @@ export class BoardNoticeMockApi {
// Update the notice // Update the notice
notices[index] = assign({}, notices[index], notice); notices[index] = assign({}, notices[index], notice);
// Store the updated notice // Store the updated Notice
updatedNotice = notices[index]; updatedNotice = notices[index];
} }
}); });

View File

@ -5,19 +5,10 @@ export const notices = [
idx: 80, idx: 80,
site: '', site: '',
title: title:
'**게임멈춤,튕기는 현상및 계좌문의시 확인및 입금전,후 확인사항 대한 공지사항**', '게임멈춤,튕기는 현상및 계좌문의시 확인및 입금전후 확인사항 대한 공지사항',
writer: '관리자', writer: '관리자',
writeDate: '2021-10-25 02:25', writeDate: '2021-10-25 02:25',
views: 135, views: 136,
state: '노출',
},
{
idx: 99,
site: 'All',
title: '-계좌등록안내-',
writer: '관리자',
writeDate: '2021-06-08 00:46',
views: 7,
state: '노출', state: '노출',
}, },
]; ];

View File

@ -2,32 +2,13 @@
export const popups = [ export const popups = [
{ {
id: 'on00', index: 10,
totalPartnerCount: '5', title: '악성배팅 제제 안내',
totalHoldingMoney: 303675, widthSize: 500,
totalComp: 108933, verticalSize: 830,
total: 412608, topMargin: 100,
branchCount: 1, leftMargin: 100,
divisionCount: 1, site: 'all',
officeCount: 1, useOrNot: 'N',
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: '',
}, },
]; ];

View File

@ -36,7 +36,7 @@
</mat-form-field> --> </mat-form-field> -->
<!-- SelectBox --> <!-- SelectBox -->
<mat-form-field> <!-- <mat-form-field>
<mat-select placeholder="리스트수"> <mat-select placeholder="리스트수">
<mat-option value="40">40</mat-option> <mat-option value="40">40</mat-option>
<mat-option value="60">60</mat-option> <mat-option value="60">60</mat-option>
@ -72,13 +72,14 @@
<mat-select placeholder="입금"> <mat-select placeholder="입금">
<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>
<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> <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>
@ -140,8 +141,6 @@
<!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> --> <!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> -->
<span class="ml-2 mr-1">검색하기</span> <span class="ml-2 mr-1">검색하기</span>
</button> </button>
<button>엑셀저장</button>
<button>카지노머니확인</button>
</div> </div>
</div> </div>
@ -161,25 +160,15 @@
matSortDisableClear matSortDisableClear
> >
<div class="hidden sm:block"><mat-checkbox></mat-checkbox></div> <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> </div>
<!-- Rows --> <!-- Rows -->
<ng-container *ngIf="messages$ | async as messages"> <ng-container *ngIf="messages$ | async as messages">
@ -192,144 +181,51 @@
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<mat-checkbox></mat-checkbox> <mat-checkbox></mat-checkbox>
</div> </div>
<!-- rate --> <!-- 제목 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button {{ message.title }}
mat-button </div>
color="primary" <!-- 작성자 -->
matTooltip="요율확인
카지노-바카라: 0%
카지노-룰렛: 0%
카지노-드레곤타이거: 0%
카지노-그외: 0%
슬롯: 0%
카지노루징: 0%
슬롯루징: 0%"
>
요율
</button>
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<!-- 관리 --> {{ message.writer }}
<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> </div>
<!-- 회원정보 -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'warn'">회원정보</button>
</div> </div>
<!-- 매장수 --> <!-- 배팅내역 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'"> <button mat-flat-button [color]="'primary'">
{{ message.branchCount }} 배팅리스트
</button>
<button mat-flat-button [color]="'primary'">
{{ message.divisionCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ message.officeCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ message.storeCount }}
</button> </button>
</div> </div>
<!-- 회원수 --> <!-- 사이트 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'"> {{ message.site }}
{{ message.memberCount }}
</button>
</div> </div>
<!-- id --> <!-- 조회수 -->
<ng-container *ngIf="users$ | async as users">
<ng-container
*ngFor="let user of users; trackBy: __trackByFn"
>
<div
class="hidden sm:block truncate"
(click)="viewUserDetail(user.id!)"
>
{{ message.id }}
</div>
</ng-container>
</ng-container>
<!-- nickname -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ message.nickname }} {{ message.views }}
</div> </div>
<!-- accountHolder --> <!-- 작성일 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ message.accountHolder }} {{ message.writeDate }}
</div> </div>
<!-- 연락처 --> <!-- 답변 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ message.phoneNumber }} {{ message.answer }}
</div> </div>
<!-- 정산 --> <!-- 상태 -->
<div class="hidden sm:block truncate">
{{ message.calculateType }}
</div>
<!-- 보유금 -->
<div class="hidden sm:block truncate">
캐쉬{{ message.ownCash }} 콤프{{ message.ownComp }} 쿠폰{{
message.ownCoupon
}}
</div>
<!-- gameMoney -->
<div class="hidden sm:block truncate">
{{ message.gameMoney }}
</div>
<!-- casinoCash -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
게임머니확인
</button>
<button mat-flat-button [color]="'primary'">
게임머니회수
</button>
</div>
<!-- todayComp -->
<div class="hidden sm:block truncate">
{{ message.todayComp }}P
</div>
<!-- 총입출 -->
<div class="hidden sm:block truncate">
입금{{ message.totalDeposit }} 출금{{
message.totalWithdraw
}}
차익{{ message.balance }}
</div>
<!-- log -->
<div class="hidden sm:block truncate">
가입{{ message.registDate }} 최종{{
message.finalSigninDate
}}
IP{{ message.ip }}
</div>
<!-- state -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ message.state }} {{ message.state }}
</div> </div>
<!-- 회원수 -->
<div class="hidden sm:block truncate">
{{ message.memberCount }}
</div> </div>
<!-- 비고 --> </ng-container>
<div class="hidden sm:block truncate"> </ng-container>
<button mat-flat-button [color]="'primary'"> <button mat-flat-button [color]="'primary'">
{{ message.note }} 디비에서 완전 삭제
</button> </button>
</div> </div>
</div>
</ng-container>
</ng-container>
</div>
<mat-paginator <mat-paginator
class="sm:absolute sm:inset-x-0 sm:bottom-0 border-b sm:border-t sm:border-b-0 z-10 bg-gray-50 dark:bg-transparent" class="sm:absolute sm:inset-x-0 sm:bottom-0 border-b sm:border-t sm:border-b-0 z-10 bg-gray-50 dark:bg-transparent"

View File

@ -1,29 +1,10 @@
export interface Message { export interface Message {
id?: string; id?: string;
totalPartnerCount?: number; title?: string;
totalHoldingMoney?: number; writer?: string;
totalComp?: number; site?: string;
total?: number; views?: number;
branchCount?: number; writeDate?: Date;
divisionCount?: number; answer?: string;
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;
state?: string; state?: string;
note?: string;
} }

View File

@ -36,6 +36,43 @@
</mat-form-field> --> </mat-form-field> -->
<!-- SelectBox --> <!-- SelectBox -->
<!-- <mat-form-field>
<mat-select placeholder="리스트수">
<mat-option value="40">40</mat-option>
<mat-option value="60">60</mat-option>
<mat-option value="80">80</mat-option>
<mat-option value="100">100</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-select placeholder="레벨">
<mat-option value="level1">LV.1</mat-option>
<mat-option value="level2">LV.2</mat-option>
<mat-option value="level3">LV.3</mat-option>
<mat-option value="level4">LV.4</mat-option>
</mat-select>
</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-option value="">블랙</mat-option>
<mat-option value="">정지</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-select placeholder="제한">
<mat-option value="">카지노제한</mat-option>
<mat-option value="">슬롯제한</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-select placeholder="입금">
<mat-option value="">계좌입금</mat-option>
</mat-select>
</mat-form-field> -->
<mat-form-field> <mat-form-field>
<mat-select placeholder="검색어"> <mat-select placeholder="검색어">
<mat-option value="">작성자</mat-option> <mat-option value="">작성자</mat-option>
@ -139,7 +176,7 @@
> >
<!-- 선택 --> <!-- 선택 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<mat-checkbox [color]="'primary'"></mat-checkbox> <mat-checkbox></mat-checkbox>
</div> </div>
<!-- 번호 --> <!-- 번호 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
@ -170,18 +207,11 @@
{{ notice.state }} {{ notice.state }}
</div> </div>
</div> </div>
<!-- 등록 --> </ng-container>
</ng-container>
<button mat-flat-button [color]="'primary'">등록</button> <button mat-flat-button [color]="'primary'">등록</button>
<!-- 숨김 -->
<button mat-flat-button [color]="'primary'">숨김</button> <button mat-flat-button [color]="'primary'">숨김</button>
<button mat-flat-button [color]="'warn'">완전삭제</button>
<!-- 완전삭제 -->
<button class="-ml-4" mat-button [color]="'warn'">
완전삭제
</button>
</ng-container>
</ng-container>
</div> </div>
<mat-paginator <mat-paginator

View File

@ -32,7 +32,7 @@ import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user'; import { User } from '../../../member/user/models/user';
import { Notice } from '../models/notice'; import { Notice } from '../models/notice';
import { NoticePagination } from '../models/notice-pagination'; import { NoticePagination } from '../models/notice-pagination';
import { NoticeService } from '../service/notice.service'; import { NoticeService } from '../services/notice.service';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
@Component({ @Component({

View File

@ -1,2 +0,0 @@
<!-- Title -->
<div class="text-4xl font-extrabold tracking-tight">공지사항 등록</div>

View File

@ -1,183 +0,0 @@
import {
AfterViewInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
OnDestroy,
OnInit,
ViewChild,
ViewEncapsulation,
} from '@angular/core';
import {
FormBuilder,
FormControl,
FormGroup,
Validators,
} from '@angular/forms';
import { MatCheckboxChange } from '@angular/material/checkbox';
import { MatPaginator } from '@angular/material/paginator';
import { MatSort } from '@angular/material/sort';
import {
debounceTime,
map,
merge,
Observable,
Subject,
switchMap,
takeUntil,
} from 'rxjs';
import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from 'app/modules/admin/member/user/models/user';
import { UserService } from 'app/modules/admin/member/user/services/user.service';
@Component({
selector: 'notice-registration',
templateUrl: './registration.component.html',
styles: [
/* language=SCSS */
`
.inventory-grid {
grid-template-columns: 48px auto 40px;
@screen sm {
grid-template-columns: 48px auto 112px 72px;
}
@screen md {
grid-template-columns: 48px 112px auto 112px 72px;
}
@screen lg {
grid-template-columns: 48px 112px auto 112px 96px 96px 72px;
}
}
`,
],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
animations: fuseAnimations,
})
export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatPaginator) private _paginator!: MatPaginator;
@ViewChild(MatSort) private _sort!: MatSort;
isLoading = false;
searchInputControl = new FormControl();
selectedProductForm!: FormGroup;
selectedUser?: User;
private _unsubscribeAll: Subject<any> = new Subject<any>();
/**
* Constructor
*/
constructor(
private _changeDetectorRef: ChangeDetectorRef,
private _fuseConfirmationService: FuseConfirmationService,
private _formBuilder: FormBuilder,
private _userService: UserService
) {}
// -----------------------------------------------------------------------------------------------------
// @ Lifecycle hooks
// -----------------------------------------------------------------------------------------------------
/**
* On init
*/
ngOnInit(): void {
this.selectedProductForm = this._formBuilder.group({
id: [''],
signinId: [{ value: '', disabled: true }],
signinPw: [{ value: '' }],
exchangePw: [''],
description: [''],
tags: [[]],
nickname: [{ value: '', disabled: true }],
ownCash: [''],
phoneNumber: [''],
level: [''],
status: [''],
isExcahngeMoney: [''],
bankname: [''],
accountNumber: [''],
accountHolder: [''],
comp: [''],
coupon: [''],
recommender: [{ value: '', disabled: true }],
changeSite: [''],
recommendCount: [''],
hodingGameMoney: [{ value: '0', disabled: true }],
memo: [''],
bacaraRate: [],
rulletRate: [],
dragonRate: [],
etcRate: [],
slotRate: [],
casinoRusingRate: [],
slotRusingRate: [],
});
// Get the User
this._userService.user$
.pipe(takeUntil(this._unsubscribeAll))
.subscribe((user: User | undefined) => {
if (!user) {
return;
}
this.selectedUser = user;
this.selectedProductForm.patchValue(user);
// Mark for check
this._changeDetectorRef.markForCheck();
});
/* this.user$ = this._userService.user$; */
}
/**
* After view init
*/
ngAfterViewInit(): void {}
/**
* On destroy
*/
ngOnDestroy(): void {
// Unsubscribe from all subscriptions
this._unsubscribeAll.next(null);
this._unsubscribeAll.complete();
}
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------
// @ Private methods
// -----------------------------------------------------------------------------------------------------
/**
* Create product
*/
__createProduct(): void {}
/**
* Toggle product details
*
* @param productId
*/
__toggleDetails(productId: string): void {}
/**
* Track by function for ngFor loops
*
* @param index
* @param item
*/
__trackByFn(index: number, item: any): any {
return item.id || index;
}
}

View File

@ -1,2 +1,2 @@
<!-- Title --> <!-- Title -->
<div class="text-4xl font-extrabold tracking-tight">팝업-상세page</div> <div class="text-4xl font-extrabold tracking-tight">고객센터-상세page</div>

View File

@ -1,4 +1,5 @@
export interface Notice { export interface Notice {
id?: string;
idx?: number; idx?: number;
site?: string; site?: string;
title?: string; title?: string;

View File

@ -9,7 +9,7 @@ import { catchError, Observable, throwError } from 'rxjs';
import { Notice } from '../models/notice'; import { Notice } from '../models/notice';
import { NoticePagination } from '../models/notice-pagination'; import { NoticePagination } from '../models/notice-pagination';
import { NoticeService } from '../service/notice.service'; import { NoticeService } from '../services/notice.service';
@Injectable({ @Injectable({
providedIn: 'root', providedIn: 'root',
@ -34,7 +34,7 @@ export class NoticeResolver implements Resolve<any> {
route: ActivatedRouteSnapshot, route: ActivatedRouteSnapshot,
state: RouterStateSnapshot state: RouterStateSnapshot
): Observable<Notice | undefined> { ): Observable<Notice | undefined> {
return this._noticeService.getNoticeById(route.paramMap.get('title')).pipe( return this._noticeService.getNoticeById(route.paramMap.get('id')).pipe(
// Error here means the requested product is not available // Error here means the requested product is not available
catchError((error) => { catchError((error) => {
// Log the error // Log the error

View File

@ -104,14 +104,12 @@ export class NoticeService {
/** /**
* Get product by id * Get product by id
*/ */
getNoticeById(title: string | null): Observable<Notice> { getNoticeById(id: string | null): Observable<Notice> {
return this.__notices.pipe( return this.__notices.pipe(
take(1), take(1),
map((notices) => { map((notices) => {
// Find the product // Find the product
const notice = const notice = notices?.find((item) => item.id === id) || undefined;
notices?.find((item) => !!item && !!item.title === !!title) ||
undefined;
// Update the product // Update the product
this.__notice.next(notice); this.__notice.next(notice);
@ -121,9 +119,7 @@ export class NoticeService {
}), }),
switchMap((product) => { switchMap((product) => {
if (!product) { if (!product) {
return throwError( return throwError('Could not found product with id of ' + id + '!');
'Could not found product with id of ' + title + '!'
);
} }
return of(product); return of(product);

View File

@ -15,19 +15,19 @@
<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">
<!-- Memo --> <!-- Memo -->
<!-- <mat-form-field> <!-- <mat-form-field>
<ng-container *ngIf="dailys$ | async as dailys"> <ng-container *ngIf="popups$ | async as popups">
<ng-container <ng-container
*ngFor="let daily of dailys; trackBy: __trackByFn" *ngFor="let popup of popups; trackBy: __trackByFn"
> >
<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"
> >
<fieldset> <fieldset>
총 파트너수:{{ daily.totalPartnerCount }} 총 보유머니:{{ 총 파트너수:{{ popup.totalPartnerCount }} 총 보유머니:{{
daily.totalHoldingMoney popup.totalHoldingMoney
}} }}
총 콤프:{{ daily.totalComp }} 총 합계:{{ 총 콤프:{{ popup.totalComp }} 총 합계:{{
daily.total popup.total
}} }}
</fieldset> </fieldset>
</div> </div>
@ -36,7 +36,7 @@
</mat-form-field> --> </mat-form-field> -->
<!-- SelectBox --> <!-- SelectBox -->
<mat-form-field> <!-- <mat-form-field>
<mat-select placeholder="리스트수"> <mat-select placeholder="리스트수">
<mat-option value="40">40</mat-option> <mat-option value="40">40</mat-option>
<mat-option value="60">60</mat-option> <mat-option value="60">60</mat-option>
@ -80,7 +80,7 @@
<mat-option value="">배팅콤프</mat-option> <mat-option value="">배팅콤프</mat-option>
<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>
<mat-select placeholder="입금"> <mat-select placeholder="입금">
<mat-option value="">계좌입금</mat-option> <mat-option value="">계좌입금</mat-option>
@ -115,7 +115,7 @@
</mat-select> </mat-select>
</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" class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded min-w-64"
> >
<mat-icon <mat-icon
@ -129,21 +129,21 @@
[autocomplete]="'off'" [autocomplete]="'off'"
[placeholder]="'Search'" [placeholder]="'Search'"
/> />
</mat-form-field> </mat-form-field> -->
<!-- Add user button --> <!-- Add user button -->
<button <!-- <button
class="ml-4" class="ml-4"
mat-flat-button mat-flat-button
[color]="'primary'" [color]="'primary'"
(click)="__createProduct()" (click)="__createProduct()"
> > -->
<!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> --> <!-- <mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon> -->
<span class="ml-2 mr-1">검색하기</span> <!-- <span class="ml-2 mr-1">검색하기</span>
</button> </button>
<button>엑셀저장</button> <button>엑셀저장</button>
<button>카지노머니확인</button> <button>카지노머니확인</button>
</div> </div>
</div> </div> -->
<!-- Main --> <!-- Main -->
<div class="flex flex-auto overflow-hidden"> <div class="flex flex-auto overflow-hidden">
@ -160,173 +160,69 @@
matSort matSort
matSortDisableClear 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> </div>
<!-- Rows --> <!-- Rows -->
<ng-container *ngIf="popups$ | async as popups"> <ng-container *ngIf="popups$ | async as popups">
<ng-container *ngFor="let popup of popups; trackBy: __trackByFn"> <ng-container
*ngFor="let popup of popups; trackBy: __trackByFn"
>
<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"
> >
<!-- 번호 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<mat-checkbox></mat-checkbox> {{ popup.index }}
</div> </div>
<!-- rate --> <!-- 제목 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button {{ popup.title }}
mat-button </div>
color="primary" <!-- 가로 -->
matTooltip="요율확인
카지노-바카라: 0%
카지노-룰렛: 0%
카지노-드레곤타이거: 0%
카지노-그외: 0%
슬롯: 0%
카지노루징: 0%
슬롯루징: 0%"
>
요율
</button>
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<!-- 관리 --> {{ popup.widthSize }}
<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> </div>
</div> <!-- 세로 -->
<!-- 매장수 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'"> {{ popup.verticalSize }}
{{ popup.branchCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ popup.divisionCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ popup.officeCount }}
</button>
<button mat-flat-button [color]="'primary'">
{{ popup.storeCount }}
</button>
</div> </div>
<!-- 회원수 --> <!-- 위에서부터 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'"> {{ popup.topMargin }}
{{ popup.memberCount }}
</button>
</div> </div>
<!-- id --> <!-- 왼쪽에서부터 -->
<ng-container *ngIf="users$ | async as users">
<ng-container
*ngFor="let user of users; trackBy: __trackByFn"
>
<div
class="hidden sm:block truncate"
(click)="viewUserDetail(user.id!)"
>
{{ popup.id }}
</div>
</ng-container>
</ng-container>
<!-- nickname -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ popup.nickname }} {{ popup.leftMargin }}
</div> </div>
<!-- accountHolder --> <!-- 사이트 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ popup.accountHolder }} {{ popup.Site }}
</div> </div>
<!-- 연락처 --> <!-- 사용여부 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ popup.phoneNumber }} {{ popup.useOrNot }}
</div>
<!-- 정산 -->
<div class="hidden sm:block truncate">
{{ popup.calculateType }}
</div>
<!-- 보유금 -->
<div class="hidden sm:block truncate">
캐쉬{{ popup.ownCash }} 콤프{{ popup.ownComp }} 쿠폰{{
popup.ownCoupon
}}
</div>
<!-- gameMoney -->
<div class="hidden sm:block truncate">
{{ popup.gameMoney }}
</div>
<!-- casinoCash -->
<div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">
게임머니확인
</button>
<button mat-flat-button [color]="'primary'">
게임머니회수
</button>
</div>
<!-- todayComp -->
<div class="hidden sm:block truncate">
{{ popup.todayComp }}P
</div>
<!-- 총입출 -->
<div class="hidden sm:block truncate">
입금{{ popup.totalDeposit }} 출금{{
popup.totalWithdraw
}}
차익{{ popup.balance }}
</div>
<!-- log -->
<div class="hidden sm:block truncate">
가입{{ popup.registDate }} 최종{{
popup.finalSigninDate
}}
IP{{ popup.ip }}
</div>
<!-- state -->
<div class="hidden sm:block truncate">
{{ popup.state }}
</div>
<!-- 회원수 -->
<div class="hidden sm:block truncate">
{{ popup.memberCount }}
</div> </div>
<!-- 비고 --> <!-- 비고 -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'"> <button mat-flat-button [color]="'primary'">
{{ popup.note }} 수정
</button> </button>
<button mat-flat-button [color]="'warn'">삭제</button>
</div> </div>
</div> </div>
</ng-container> </ng-container>
</ng-container> </ng-container>
<button mat-flat-button [color]="'primary'">
팝업창만들기
</button>
</div> </div>
<mat-paginator <mat-paginator
@ -351,3 +247,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>

View File

@ -1,2 +1,2 @@
<!-- Title --> <!-- Title -->
<div class="text-4xl font-extrabold tracking-tight">공지사항-상세page</div> <div class="text-4xl font-extrabold tracking-tight">팝업-상세page</div>

View File

@ -1,29 +1,11 @@
export interface Popup { export interface Popup {
id?: string; id?: string;
totalPartnerCount?: number; index?: number;
totalHoldingMoney?: number; title?: string;
totalComp?: number; widthSize?: number;
total?: number; verticalSize?: number;
branchCount?: number; topMargin?: number;
divisionCount?: number; leftMargin?: number;
officeCount?: number; Site?: string;
storeCount?: number; useOrNot?: string;
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;
state?: string;
note?: string;
} }

View File

@ -331,6 +331,7 @@
[color]="'primary'" [color]="'primary'"
(click)="__onClickRegist($event)" (click)="__onClickRegist($event)"
> >
부본등록
{{ partnerBranch.note }} {{ partnerBranch.note }}
</button> </button>
</div> </div>

View File

@ -333,6 +333,7 @@
[color]="'primary'" [color]="'primary'"
(click)="__onClickRegist($event)" (click)="__onClickRegist($event)"
> >
총판등록
{{ partnerDivision.note }} {{ partnerDivision.note }}
</button> </button>
</div> </div>

View File

@ -331,6 +331,7 @@
[color]="'primary'" [color]="'primary'"
(click)="__onClickRegist($event)" (click)="__onClickRegist($event)"
> >
매장등록
{{ partnerOffice.note }} {{ partnerOffice.note }}
</button> </button>
</div> </div>

View File

@ -328,6 +328,7 @@
[color]="'primary'" [color]="'primary'"
(click)="__onClickRegist($event)" (click)="__onClickRegist($event)"
> >
회원등록
{{ partnerStore.note }} {{ partnerStore.note }}
</button> </button>
</div> </div>