This commit is contained in:
Park Byung Eun 2022-09-07 15:23:21 +00:00
parent 114b5b9977
commit bbc896a3a9
4 changed files with 16 additions and 3 deletions

View File

@ -258,7 +258,7 @@
{{ __getCompType(info) }}
</div>
<div class="hidden lg:block">
<div *ngIf="info.getBettingType() !== 'turn_win'">
<div *ngIf="info.getBettingType() === 'turn_lose'">
본사:
{{ __getCalculateRollingRate(info, MAIN_OFFICE_ID) }}
<hr style="margin: 7px 0px" />

View File

@ -269,7 +269,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
): string {
let result: string = '';
if (info.getBettingType() === 'turn_win') {
if (
info.getBettingType() === 'turn_win' ||
info.getBettingType() === 'turn_bet'
) {
return result;
}

View File

@ -12,6 +12,16 @@
<!-- Title -->
<div class="text-4xl font-extrabold tracking-tight">
<span>{{ title }}</span>
<div>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'primary'"
(click)="__onClickRegist($event)"
>
{{ btnTitle }}
</button>
</div>
</div>
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
<!-- Search -->

View File

@ -139,7 +139,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
switch (this.router.url) {
case '/member/partner/all':
this.title = '전체목록';
this.btnTitle = '본등록';
this.btnTitle = '등록';
this.memberClassId = environment.constants.classeIds.mainOffice;
break;
case '/member/partner/main-office':