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

View File

@ -55,14 +55,17 @@ import { Site } from 'app/modules/protobuf/models/domain/site_pb';
@screen md { @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 { @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, encapsulation: ViewEncapsulation.None,
@ -221,4 +224,12 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
console.log('Compose dialog was closed!'); 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;
}
} }