feat(admin): 更新登录表单样式,添加图标并优化用户体验;增强代理线路详情面板,支持直接玩家计数功能
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
This commit is contained in:
@@ -34,6 +34,8 @@ export type AgentLineDetailPanelProps = {
|
||||
profileError?: string | null;
|
||||
childAgents: AgentNodeRow[];
|
||||
childCountById: Map<number, number>;
|
||||
directPlayerCount?: number;
|
||||
onDirectPlayerCountChange?: (count: number) => void;
|
||||
siteCode: string;
|
||||
parentName: string | null;
|
||||
detailTab: AgentDetailTab;
|
||||
@@ -64,6 +66,8 @@ export function AgentLineDetailPanel({
|
||||
profileError = null,
|
||||
childAgents,
|
||||
childCountById,
|
||||
directPlayerCount,
|
||||
onDirectPlayerCountChange,
|
||||
siteCode,
|
||||
parentName,
|
||||
detailTab,
|
||||
@@ -116,6 +120,7 @@ export function AgentLineDetailPanel({
|
||||
{
|
||||
key: "players",
|
||||
label: t("lineUi.tabPlayers", { defaultValue: "直属玩家" }),
|
||||
count: directPlayerCount,
|
||||
visible: canViewPlayersTab,
|
||||
},
|
||||
];
|
||||
@@ -224,6 +229,7 @@ export function AgentLineDetailPanel({
|
||||
agentNodeId={node.id}
|
||||
allowCreatePlayer={canCreatePlayerAction}
|
||||
embedded
|
||||
onTotalChange={onDirectPlayerCountChange}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user