From 5cb66cf8920146adf7c983cac4487a333015015d Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Sun, 14 Aug 2022 03:47:40 +0000 Subject: [PATCH] bug fix --- .../user/components/list.component.html | 21 +++++++++++++++++-- .../member/user/components/list.component.ts | 12 +++++++++++ .../modules/admin/member/user/user.module.ts | 4 ++++ 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/src/app/modules/admin/member/user/components/list.component.html b/src/app/modules/admin/member/user/components/list.component.html index c00ca7a..f71abae 100644 --- a/src/app/modules/admin/member/user/components/list.component.html +++ b/src/app/modules/admin/member/user/components/list.component.html @@ -204,8 +204,25 @@
-
관리
-
요율
+ +
요율
{{ user.highRank }}
diff --git a/src/app/modules/admin/member/user/components/list.component.ts b/src/app/modules/admin/member/user/components/list.component.ts index 8146510..1b4c2cf 100644 --- a/src/app/modules/admin/member/user/components/list.component.ts +++ b/src/app/modules/admin/member/user/components/list.component.ts @@ -46,6 +46,10 @@ import { IdentityService } from 'app/modules/polyglot/identity/services/identity grid-template-columns: 20px 40px 40px 100px auto 40px 140px 140px 140px 140px 140px 140px; } } + + .mat-tooltip { + white-space: pre-line; + } `, ], encapsulation: ViewEncapsulation.None, @@ -194,4 +198,12 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { __trackByFn(index: number, item: any): any { return item.id || index; } + + __getRateTooltop(): string { + const tempRate = 0; + const resultTooltip = ` + 요율확인 \n 카지노-바카라: ${tempRate}% \n 카지노-룰렛: ${tempRate}% \n 카지노-드레곤타이거: ${tempRate}% \n 카지노-그외:${tempRate}% \n 슬롯:${tempRate}% \n 카지노루징: ${tempRate}% \n 슬롯루징: ${tempRate}% + `; + return resultTooltip; + } } diff --git a/src/app/modules/admin/member/user/user.module.ts b/src/app/modules/admin/member/user/user.module.ts index 656f6e7..250d043 100644 --- a/src/app/modules/admin/member/user/user.module.ts +++ b/src/app/modules/admin/member/user/user.module.ts @@ -16,6 +16,8 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatRadioModule } from '@angular/material/radio'; import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatChipsModule } from '@angular/material/chips'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatDividerModule } from '@angular/material/divider'; import { FuseCardModule } from '@fuse/components/card'; @@ -49,6 +51,8 @@ import { userRoutes } from 'app/modules/admin/member/user/user.routing'; MatRadioModule, MatCheckboxModule, MatChipsModule, + MatMenuModule, + MatDividerModule, FuseCardModule, ],