id 클릭이벤트

This commit is contained in:
이담 정 2022-08-14 15:42:20 +00:00
parent 13ef5f8280
commit 87dbf53a2f
37 changed files with 115 additions and 98 deletions

View File

@ -157,7 +157,12 @@
</div> </div>
<div>{{ deposit.highRank }}</div> <div>{{ deposit.highRank }}</div>
<div> <div>
<div
(click)="viewUserDetail(deposit.id!)"
style="cursor: pointer"
>
{{ deposit.signinId }} {{ deposit.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ deposit.nickname }} {{ deposit.nickname }}
</div> </div>

View File

@ -29,10 +29,10 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from 'app/modules/admin/member/user/models/user';
import { Deposit } from '../models/deposit'; import { Deposit } from '../models/deposit';
import { DepositPagination } from '../models/deposit-pagination'; import { DepositPagination } from '../models/deposit-pagination';
import { DepositService } from '../services/deposit.service'; import { DepositService } from '../services/deposit.service';
import { Router } from '@angular/router';
@Component({ @Component({
selector: 'deposit-list', selector: 'deposit-list',
@ -70,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
deposits$!: Observable<Deposit[] | undefined>; deposits$!: Observable<Deposit[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -87,7 +86,8 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
private _changeDetectorRef: ChangeDetectorRef, private _changeDetectorRef: ChangeDetectorRef,
private _fuseConfirmationService: FuseConfirmationService, private _fuseConfirmationService: FuseConfirmationService,
private _formBuilder: FormBuilder, private _formBuilder: FormBuilder,
private _depositService: DepositService private _depositService: DepositService,
private router: Router
) {} ) {}
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
@ -169,6 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void {
let url: string = 'member/user/' + id;
this.router.navigateByUrl(url);
}
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from 'app/modules/admin/member/user/models/user';
import { PartnerCalculate } from '../models/partner-calculate'; import { PartnerCalculate } from '../models/partner-calculate';
import { PartnerCalculatePagination } from '../models/partner-calculate-pagination'; import { PartnerCalculatePagination } from '../models/partner-calculate-pagination';
import { PartnerCalculateService } from '../services/partner-calculate.service'; import { PartnerCalculateService } from '../services/partner-calculate.service';
@ -70,7 +69,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
partnerCalculates$!: Observable<PartnerCalculate[] | undefined>; partnerCalculates$!: Observable<PartnerCalculate[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from 'app/modules/admin/member/user/models/user';
import { WebCalculate } from '../models/web-calculate'; import { WebCalculate } from '../models/web-calculate';
import { WebCalculatePagination } from '../models/web-calculate-pagination'; import { WebCalculatePagination } from '../models/web-calculate-pagination';
import { WebCalculateService } from '../services/web-calculate.service'; import { WebCalculateService } from '../services/web-calculate.service';
@ -70,7 +69,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
webCalculates$!: Observable<WebCalculate[] | undefined>; webCalculates$!: Observable<WebCalculate[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -160,7 +160,12 @@
</div> </div>
<div>{{ withdraw.highRank }}</div> <div>{{ withdraw.highRank }}</div>
<div> <div>
<div
(click)="viewUserDetail(withdraw.id!)"
style="cursor: pointer"
>
{{ withdraw.signinId }} {{ withdraw.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ withdraw.nickname }} {{ withdraw.nickname }}
</div> </div>

View File

@ -29,10 +29,10 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from 'app/modules/admin/member/user/models/user';
import { Withdraw } from '../models/withdraw'; import { Withdraw } from '../models/withdraw';
import { WithdrawPagination } from '../models/withdraw-pagination'; import { WithdrawPagination } from '../models/withdraw-pagination';
import { WithdrawService } from '../services/withdraw.service'; import { WithdrawService } from '../services/withdraw.service';
import { Router } from '@angular/router';
@Component({ @Component({
selector: 'withdraw-list', selector: 'withdraw-list',
@ -66,7 +66,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
withdraws$!: Observable<Withdraw[] | undefined>; withdraws$!: Observable<Withdraw[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -83,7 +82,8 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
private _changeDetectorRef: ChangeDetectorRef, private _changeDetectorRef: ChangeDetectorRef,
private _fuseConfirmationService: FuseConfirmationService, private _fuseConfirmationService: FuseConfirmationService,
private _formBuilder: FormBuilder, private _formBuilder: FormBuilder,
private _withdrawService: WithdrawService private _withdrawService: WithdrawService,
private router: Router
) {} ) {}
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
@ -165,6 +165,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void {
let url: string = 'member/user/' + id;
this.router.navigateByUrl(url);
}
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { CustomerTemplate } from '../models/ customer-template'; import { CustomerTemplate } from '../models/ customer-template';
import { CustomerTemplatePagination } from '../models/customer-template-pagination'; import { CustomerTemplatePagination } from '../models/customer-template-pagination';
import { CustomerTemplateService } from '../services/customer-template.service'; import { CustomerTemplateService } from '../services/customer-template.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
customerTemplates$!: Observable<CustomerTemplate[] | undefined>; customerTemplates$!: Observable<CustomerTemplate[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { Customer } from '../models/customer'; import { Customer } from '../models/customer';
import { CustomerPagination } from '../models/customer-pagination'; import { CustomerPagination } from '../models/customer-pagination';
import { CustomerService } from '../services/customer.service'; import { CustomerService } from '../services/customer.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
customers$!: Observable<Customer[] | undefined>; customers$!: Observable<Customer[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { Message } from '../models/message'; import { Message } from '../models/message';
import { MessagePagination } from '../models/message-pagination'; import { MessagePagination } from '../models/message-pagination';
import { MessageService } from '../services/message.service'; import { MessageService } from '../services/message.service';
@ -67,7 +66,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
messages$!: Observable<Message[] | undefined>; messages$!: Observable<Message[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();

View File

@ -170,7 +170,12 @@
<div>{{ powerball.idx }}</div> <div>{{ powerball.idx }}</div>
<div>{{ powerball.bettingType }}</div> <div>{{ powerball.bettingType }}</div>
<div> <div>
<div
(click)="viewUserDetail(powerball.id!)"
style="cursor: pointer"
>
{{ powerball.signinId }} {{ powerball.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ powerball.nickname }} {{ powerball.nickname }}
</div> </div>

View File

@ -29,10 +29,10 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from 'app/modules/admin/member/user/models/user';
import { Powerball } from '../models/powerball'; import { Powerball } from '../models/powerball';
import { PowerballPagination } from '../models/powerball-pagination'; import { PowerballPagination } from '../models/powerball-pagination';
import { PowerballService } from '../services/powerball.service'; import { PowerballService } from '../services/powerball.service';
import { Router } from '@angular/router';
@Component({ @Component({
selector: 'powerball-list', selector: 'powerball-list',
@ -70,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
powerballs$!: Observable<Powerball[] | undefined>; powerballs$!: Observable<Powerball[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -87,7 +86,8 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
private _changeDetectorRef: ChangeDetectorRef, private _changeDetectorRef: ChangeDetectorRef,
private _fuseConfirmationService: FuseConfirmationService, private _fuseConfirmationService: FuseConfirmationService,
private _formBuilder: FormBuilder, private _formBuilder: FormBuilder,
private _powerballService: PowerballService private _powerballService: PowerballService,
private router: Router
) {} ) {}
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
@ -169,6 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void {
let url: string = 'member/user/' + id;
this.router.navigateByUrl(url);
}
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -113,7 +113,12 @@
{{ casinoMoney.highRank }} {{ casinoMoney.highRank }}
</div> </div>
<div> <div>
<div
(click)="viewUserDetail(casinoMoney.id!)"
style="cursor: pointer"
>
{{ casinoMoney.signinId }} {{ casinoMoney.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ casinoMoney.nickname }} {{ casinoMoney.nickname }}
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { CasinoMoney } from '../models/casino-money'; import { CasinoMoney } from '../models/casino-money';
import { CasinoMoneyPagination } from '../models/casino-money-pagination'; import { CasinoMoneyPagination } from '../models/casino-money-pagination';
import { CasinoMoneyService } from '../services/casino-money.service'; import { CasinoMoneyService } from '../services/casino-money.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
casinoMoneys$!: Observable<CasinoMoney[] | undefined>; casinoMoneys$!: Observable<CasinoMoney[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { CouponLog } from '../models/coupon-log'; import { CouponLog } from '../models/coupon-log';
import { CouponLogPagination } from '../models/coupon-log-pagination'; import { CouponLogPagination } from '../models/coupon-log-pagination';
import { CouponLogService } from '../services/coupon-log.service'; import { CouponLogService } from '../services/coupon-log.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
couponLogs$!: Observable<CouponLog[] | undefined>; couponLogs$!: Observable<CouponLog[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -171,10 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { CouponMoneyLog } from '../models/coupon-money-log'; import { CouponMoneyLog } from '../models/coupon-money-log';
import { CouponMoneyLogPagination } from '../models/coupon-money-log-pagination'; import { CouponMoneyLogPagination } from '../models/coupon-money-log-pagination';
import { CouponMoneyLogService } from '../services/coupon-money-log.service'; import { CouponMoneyLogService } from '../services/coupon-money-log.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
couponMoneyLogs$!: Observable<CouponMoneyLog[] | undefined>; couponMoneyLogs$!: Observable<CouponMoneyLog[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -171,10 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { Coupon } from '../models/coupon'; import { Coupon } from '../models/coupon';
import { CouponPagination } from '../models/coupon-pagination'; import { CouponPagination } from '../models/coupon-pagination';
import { CouponService } from '../services/coupon.service'; import { CouponService } from '../services/coupon.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
coupons$!: Observable<Coupon[] | undefined>; coupons$!: Observable<Coupon[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -30,19 +30,28 @@
<td mat-cell *matCellDef="let info">{{ info.highRank }}</td> <td mat-cell *matCellDef="let info">{{ info.highRank }}</td>
</ng-container> </ng-container>
<ng-container matColumnDef="signinId"> <ng-container *ngIf="currentUsers$ | async as currentUsers">
<ng-container
matColumnDef="signinId"
*ngFor="let currentUser of currentUsers; trackBy: __trackByFn"
>
<th mat-header-cell *matHeaderCellDef> <th mat-header-cell *matHeaderCellDef>
아이디 아이디
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
닉네임 닉네임
</th> </th>
<td mat-cell *matCellDef="let info"> <td mat-cell *matCellDef="let info">
<div
(click)="viewUserDetail(currentUser.id!)"
style="cursor: pointer"
>
{{ info.signinId }} {{ info.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ info.nickname }} {{ info.nickname }}
</td> </td>
</ng-container> </ng-container>
</ng-container>
<!-- Expenses amount --> <!-- Expenses amount -->
<ng-container matColumnDef="level"> <ng-container matColumnDef="level">
<th mat-header-cell *matHeaderCellDef> <th mat-header-cell *matHeaderCellDef>

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { CurrentUser } from '../models/current-user'; import { CurrentUser } from '../models/current-user';
import { CurrentUserPagination } from '../models/current-user-pagination'; import { CurrentUserPagination } from '../models/current-user-pagination';
import { CurrentUserService } from '../services/current-user.service'; import { CurrentUserService } from '../services/current-user.service';
@ -74,7 +73,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
new MatTableDataSource(); new MatTableDataSource();
currentUsers$!: Observable<CurrentUser[] | undefined>; currentUsers$!: Observable<CurrentUser[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();

View File

@ -29,8 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { PartnerRecommendation as PartnerRecommendation } from '../models/partner-recommendation'; import { PartnerRecommendation as PartnerRecommendation } from '../models/partner-recommendation';
import { PartnerRecommendationPagination as PartnerRecommendationPagination } from '../models/partner-recommendation-pagination'; import { PartnerRecommendationPagination as PartnerRecommendationPagination } from '../models/partner-recommendation-pagination';
import { PartnerRecommendationService as PartnerRecommendationService } from '../services/partner-recommendation.service'; import { PartnerRecommendationService as PartnerRecommendationService } from '../services/partner-recommendation.service';
@ -75,7 +73,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
partnerRecommendations$!: Observable<PartnerRecommendation[] | undefined>; partnerRecommendations$!: Observable<PartnerRecommendation[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened1 = false; __isSearchOpened1 = false;
__isSearchOpened2 = false; __isSearchOpened2 = false;
@ -178,10 +175,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -205,7 +205,12 @@
{{ unconnected.memberCount }} {{ unconnected.memberCount }}
</div> </div>
<div> <div>
<div
(click)="viewUserDetail(unconnected.id!)"
style="cursor: pointer"
>
{{ unconnected.signinId }} {{ unconnected.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ unconnected.nickname }} {{ unconnected.nickname }}
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../user/models/user';
import { Unconnected } from '../models/unconnected'; import { Unconnected } from '../models/unconnected';
import { UnconnectedPagination } from '../models/unconnected-pagination'; import { UnconnectedPagination } from '../models/unconnected-pagination';
import { UnconnectedService } from '../services/unconnected.service'; import { UnconnectedService } from '../services/unconnected.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
unconnecteds$!: Observable<Unconnected[] | undefined>; unconnecteds$!: Observable<Unconnected[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -133,7 +133,12 @@
{{ compLog.idx }} {{ compLog.idx }}
</div> </div>
<div> <div>
<div
(click)="viewUserDetail(compLog.id!)"
style="cursor: pointer"
>
{{ compLog.signinId }} {{ compLog.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ compLog.nickname }} {{ compLog.nickname }}
</div> </div>

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { CompLog } from '../models/comp-log'; import { CompLog } from '../models/comp-log';
import { CompLogPagination } from '../models/comp-log-pagination'; import { CompLogPagination } from '../models/comp-log-pagination';
import { CompLogService } from '../services/comp-log.service'; import { CompLogService } from '../services/comp-log.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
compLogs$!: Observable<CompLog[] | undefined>; compLogs$!: Observable<CompLog[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -28,7 +28,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { DailyPartner } from '../models/daily-partner'; import { DailyPartner } from '../models/daily-partner';
import { DailyPartnerPagination } from '../models/daily-partner-pagination'; import { DailyPartnerPagination } from '../models/daily-partner-pagination';
import { DailyPartnerService } from '../services/daily-partner.service'; import { DailyPartnerService } from '../services/daily-partner.service';
@ -70,7 +69,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
dailyPartners$!: Observable<any | undefined>; dailyPartners$!: Observable<any | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -170,10 +168,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { Daily } from '../models/daily'; import { Daily } from '../models/daily';
import { DailyPagination } from '../models/daily-pagination'; import { DailyPagination } from '../models/daily-pagination';
import { DailyService } from '../services/daily.service'; import { DailyService } from '../services/daily.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
dailys$!: Observable<Daily[] | undefined>; dailys$!: Observable<Daily[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -171,10 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { DuplicatedSession } from '../models/duplicated-session'; import { DuplicatedSession } from '../models/duplicated-session';
import { DuplicatedSessionPagination } from '../models/duplicated-session-pagination'; import { DuplicatedSessionPagination } from '../models/duplicated-session-pagination';
import { DuplicatedSessionService } from '../services/duplicated-session.service'; import { DuplicatedSessionService } from '../services/duplicated-session.service';
@ -67,7 +66,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
duplicatedSessions$!: Observable<DuplicatedSession[] | undefined>; duplicatedSessions$!: Observable<DuplicatedSession[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();
@ -169,10 +167,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { ModificationLog } from '../models/modification-log'; import { ModificationLog } from '../models/modification-log';
import { ModificationLogPagination } from '../models/modification-log-pagination'; import { ModificationLogPagination } from '../models/modification-log-pagination';
import { ModificationLogService } from '../services/modification-log.service'; import { ModificationLogService } from '../services/modification-log.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
modificationLogs$!: Observable<ModificationLog[] | undefined>; modificationLogs$!: Observable<ModificationLog[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -171,10 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -119,7 +119,12 @@
> >
<div>{{ moneyLog.finalSigninDate }}</div> <div>{{ moneyLog.finalSigninDate }}</div>
<div> <div>
<div
(click)="viewUserDetail(moneyLog.id!)"
style="cursor: pointer"
>
{{ moneyLog.signinId }} {{ moneyLog.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ moneyLog.nickname }} {{ moneyLog.nickname }}
</div> </div>

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { MoneyLog } from '../models/money-log'; import { MoneyLog } from '../models/money-log';
import { MoneyLogPagination } from '../models/money-log-pagination'; import { MoneyLogPagination } from '../models/money-log-pagination';
import { MoneyLogService } from '../services/money-log.service'; import { MoneyLogService } from '../services/money-log.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
moneyLogs$!: Observable<MoneyLog[] | undefined>; moneyLogs$!: Observable<MoneyLog[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { Monthly } from '../models/monthly'; import { Monthly } from '../models/monthly';
import { MonthlyPagination } from '../models/monthly-pagination'; import { MonthlyPagination } from '../models/monthly-pagination';
import { MonthlyService } from '../services/monthly.service'; import { MonthlyService } from '../services/monthly.service';
@ -67,7 +66,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
monthlys$!: Observable<Monthly[] | undefined>; monthlys$!: Observable<Monthly[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();
@ -166,10 +164,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { PaymentLog } from '../models/payment-log'; import { PaymentLog } from '../models/payment-log';
import { PaymentLogPagination } from '../models/payment-log-pagination'; import { PaymentLogPagination } from '../models/payment-log-pagination';
import { PaymentLogService } from '../services/payment-log.service'; import { PaymentLogService } from '../services/payment-log.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
paymentLogs$!: Observable<PaymentLog[] | undefined>; paymentLogs$!: Observable<PaymentLog[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -171,10 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { Statistics } from '../models/statistics'; import { Statistics } from '../models/statistics';
import { StatisticsPagination } from '../models/statistics-pagination'; import { StatisticsPagination } from '../models/statistics-pagination';
import { StatisticsService } from '../services/statistics.service'; import { StatisticsService } from '../services/statistics.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
statistics$!: Observable<Statistics[] | undefined>; statistics$!: Observable<Statistics[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;
@ -171,10 +169,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods // @ Public methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
viewUserDetail(id: string): void { /* viewUserDetail(id: string): void {
let url: string = 'member/user/' + id; let url: string = 'member/user/' + id;
this.router.navigateByUrl(url); this.router.navigateByUrl(url);
} } */
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
// @ Private methods // @ Private methods
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

View File

@ -186,7 +186,12 @@
class="today-bet-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b" class="today-bet-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
> >
<div> <div>
<div
(click)="viewUserDetail(todayBet.id!)"
style="cursor: pointer"
>
{{ todayBet.signinId }} {{ todayBet.signinId }}
</div>
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ todayBet.nickname }} {{ todayBet.nickname }}
</div> </div>

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { TodayBet } from '../models/today-bet'; import { TodayBet } from '../models/today-bet';
import { TodayBetPagination } from '../models/today-bet-pagination'; import { TodayBetPagination } from '../models/today-bet-pagination';
import { TodayBetService } from '../services/today-bet.service'; import { TodayBetService } from '../services/today-bet.service';
@ -71,7 +70,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
todayBets$!: Observable<TodayBet[] | undefined>; todayBets$!: Observable<TodayBet[] | undefined>;
users$!: Observable<User[] | undefined>;
__isSearchOpened = false; __isSearchOpened = false;
isLoading = false; isLoading = false;

View File

@ -140,7 +140,12 @@
</div> </div>
<!-- 아이디 || 닉네임 || 상태 --> <!-- 아이디 || 닉네임 || 상태 -->
<div class="hidden lg:block"> <div class="hidden lg:block">
<!-- <div
(click)="viewUserDetail(info.id!)"
style="cursor: pointer"
> -->
{{ info.signinId }} {{ info.signinId }}
<!-- </div> -->
<hr style="margin: 7px 0px" /> <hr style="margin: 7px 0px" />
{{ info.nickname }} {{ info.nickname }}
</div> </div>

View File

@ -29,7 +29,6 @@ import {
import { fuseAnimations } from '@fuse/animations'; import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation'; import { FuseConfirmationService } from '@fuse/services/confirmation';
import { User } from '../../../member/user/models/user';
import { UserSession } from '../models/user-session'; import { UserSession } from '../models/user-session';
import { UserSessionPagination } from '../models/user-session-pagination'; import { UserSessionPagination } from '../models/user-session-pagination';
import { UserSessionService } from '../services/user-session.service'; import { UserSessionService } from '../services/user-session.service';
@ -67,7 +66,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
userSessions$!: Observable<UserSession[] | undefined>; userSessions$!: Observable<UserSession[] | undefined>;
users$!: Observable<User[] | undefined>;
isLoading = false; isLoading = false;
searchInputControl = new FormControl(); searchInputControl = new FormControl();

View File

@ -32,7 +32,6 @@ import { FuseConfirmationService } from '@fuse/services/confirmation';
import { BasicSetting } from '../models/basic-setting'; import { BasicSetting } from '../models/basic-setting';
import { BasicService } from '../services/basic.service'; import { BasicService } from '../services/basic.service';
import { CurrentUser } from 'app/modules/admin/member/current-user/models/current-user'; import { CurrentUser } from 'app/modules/admin/member/current-user/models/current-user';
import { User } from 'app/modules/admin/member/user/models/user';
import { MatTableDataSource } from '@angular/material/table'; import { MatTableDataSource } from '@angular/material/table';
@Component({ @Component({
@ -67,7 +66,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort; @ViewChild(MatSort) private _sort!: MatSort;
currentUsers$!: Observable<CurrentUser[] | undefined>; currentUsers$!: Observable<CurrentUser[] | undefined>;
users$!: Observable<User[] | undefined>;
siteSettingTableColumns: string[] = ['info', 'description', 'updateBtn']; siteSettingTableColumns: string[] = ['info', 'description', 'updateBtn'];