bug fixed

This commit is contained in:
Park Byung Eun 2022-08-10 08:05:53 +00:00
parent a9fc35301d
commit 0b37894772
2 changed files with 64 additions and 43 deletions

View File

@ -39,26 +39,33 @@
matSortDisableClear
class="partner-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"
>
<div>관리</div>
<div>요율</div>
<div>매장수</div>
<div [mat-sort-header]="'signinId'">
아이디
<div class="hidden lg:block">
관리
<hr style="margin: 7px 0px" />
요율
<hr style="margin: 7px 0px" />
매장수
</div>
<!-- <div>요율</div>
<div>매장수</div> -->
<div class="hidden lg:block">
<div [mat-sort-header]="'signinId'">아이디</div>
<hr style="margin: 7px 0px" />
닉네임
<hr style="margin: 7px 0px" />
연락처
</div>
<div>
<div class="hidden lg:block">
등급
<hr style="margin: 7px 0px" />
레벨
<hr style="margin: 7px 0px" />
상태
</div>
<div class="hidden sm:block">예금주</div>
<div class="hidden md:block">정산종류</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 class="hidden lg:block">충전금</div>
<div class="hidden lg:block">환전금</div>
<div class="hidden lg:block">수익금</div>
@ -73,36 +80,39 @@
<div
class="partner-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
>
<div>
<button mat-button [matMenuTriggerFor]="menu">관리</button>
<mat-menu #menu="matMenu">
<button mat-menu-item>보유금지급/회수</button>
<button mat-menu-item>수수료설정</button>
<button mat-menu-item>콤프지급/회수</button>
<button mat-menu-item>쿠폰머니지급/회수</button>
<button mat-menu-item>쪽지보내기</button>
<button mat-menu-item>배팅리스트</button>
</mat-menu>
</div>
<div
matTooltip="요율확인
카지노-바카라:0%&nbsp;&nbsp;&nbsp;&nbsp;
카지노-룰렛:0%&nbsp;&nbsp;&nbsp;&nbsp;
카지노-드레곤타이거:0%&nbsp;&nbsp;&nbsp;&nbsp;
카지노-그외:0%&nbsp;&nbsp;&nbsp;&nbsp;
슬롯:0%&nbsp;&nbsp;&nbsp;&nbsp;
카지노루징:0%&nbsp;&nbsp;&nbsp;&nbsp;
슬롯루징:0%"
>
요율
</div>
<div>
{{ partner.branchCount }}{{ partner.divisionCount
}}{{ partner.officeCount }}{{ partner.storeCount
}}{{ partner.memberCount }}
<div class="hidden lg:block">
<div>
<div
mat-button
[matMenuTriggerFor]="menu"
style="cursor: pointer"
>
관리
</div>
<mat-menu #menu="matMenu">
<button mat-menu-item>보유금지급/회수</button>
<button mat-menu-item>수수료설정</button>
<button mat-menu-item>콤프지급/회수</button>
<button mat-menu-item>쿠폰머니지급/회수</button>
<button mat-menu-item>쪽지보내기</button>
<button mat-menu-item>배팅리스트</button>
</mat-menu>
</div>
<hr style="margin: 7px 0px" />
<div [matTooltip]="__getRateTooltop()">요율</div>
<hr style="margin: 7px 0px" />
<div>
<div>
{{ partner.branchCount }}{{ partner.divisionCount }}
{{ partner.officeCount }}{{ partner.storeCount
}}{{ partner.memberCount }}
</div>
</div>
</div>
<!-- 아이디/닉네임/연락처 -->
<div
class="hidden lg:block"
(click)="viewUserDetail(partner.id)"
style="cursor: pointer"
>
@ -113,7 +123,7 @@
{{ partner.phoneNumber }}
</div>
<!-- 등급/레벨/상태 -->
<div>
<div class="hidden lg:block">
{{ partner.rank }}
<hr style="margin: 7px 0px" />
LV{{ partner.level }}
@ -121,15 +131,15 @@
{{ partner.state }}
</div>
<!-- 예금주 -->
<div class="hidden sm:block">
<div class="hidden lg:block">
{{ partner.accountHolder }}
</div>
<!-- 정산종류 -->
<div class="hidden md:block">
<div class="hidden lg:block">
{{ partner.calculateType }}
</div>
<!-- 보유금 -->
<div class="hidden md:block">
<div class="hidden lg:block">
캐쉬{{ partner.ownCash }}
<hr style="margin: 7px 0px" />
콤프{{ partner.ownComp }}P

View File

@ -55,14 +55,17 @@ import { Site } from 'app/modules/protobuf/models/domain/site_pb';
@screen md {
/* 관리 요율 매장 아이디 등급 예금주 정산 보유금 */
grid-template-columns: 40px 40px 100px auto 40px 140px 20px 140px;
grid-template-columns: 80px auto 80px 40px 40px 120px 120px 120px 120px 120px 100px;
}
@screen lg {
/* 관리 요율 매장 아이디 등급 예금주 정산 보유금 충전 환전금 수익금 가입 비고 */
grid-template-columns: 40px 40px 100px auto 40px 140px 20px 140px 140px 140px 140px 140px 140px;
/* 관리 아이디 등급 예금주 정산 보유금 충전 환전금 수익금 가입 비고 */
grid-template-columns: 60px auto 60px 40px 40px 100px 100px 100px 100px 120px 100px;
}
}
.mat-tooltip {
white-space: pre-line;
}
`,
],
encapsulation: ViewEncapsulation.None,
@ -221,4 +224,12 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
console.log('Compose dialog was closed!');
});
}
__getRateTooltop(): string {
const tempRate = 0;
const resultTooltip = `
\n -바카라: ${tempRate}% \n -룰렛: ${tempRate}% \n -드레곤타이거: ${tempRate}% \n -그외:${tempRate}% \n 슬롯:${tempRate}% \n 카지노루징: ${tempRate}% \n 슬롯루징: ${tempRate}%
`;
return resultTooltip;
}
}