feat(agents, config, dashboard, i18n): add agent line provision wizard, site deletion, and site dashboard with multi-language support

Added agent line provision wizard page with permission gating, replacing redirect placeholder. Introduced site deletion API and UI with confirmation dialog in integration sites management. Added new site-scoped dashboard panel showing bet metrics, P/L trends, active players, and quick links. Enhanced chart tooltip to support custom formatters and fix indicator color
This commit is contained in:
2026-06-12 20:47:53 +08:00
parent 24fd7c10bd
commit 6ea0a6feec
48 changed files with 1573 additions and 629 deletions

View File

@@ -159,7 +159,6 @@
"paid": "已收付",
"unpaid": "未结",
"status": "状态",
"billId": "账单 ID",
"payer": "付款方",
"payee": "收款方",
"amount": "金额",
@@ -282,7 +281,8 @@
"player": "玩家账单",
"agent": "代理账单",
"pendingConfirm": "待确认",
"awaitingPayment": "待收付"
"awaitingPayment": "待收付",
"all": "全部"
},
"quickFilter": {
"title": "当前想看哪一层结算",
@@ -318,22 +318,49 @@
},
"hierarchyHint": "同一账期会生成多笔账单:玩家先与直属代理结,代理扣除本级占成后再向上级缴纳。因此「输赢」可能相同,但「结算金额」会逐级减少。",
"emptyFiltered": "当前筛选下暂无账单,请改为「全部状态」或重置筛选。",
"emptyClosed": "本期已关账但暂无账单。常见原因:账期内无信用盘玩家的已结算注单,或占成流水不在本账期时间范围内。"
"emptyClosed": "本期已关账但暂无账单。常见原因:账期内无信用盘玩家的已结算注单,或占成流水不在本账期时间范围内。",
"intro": "关账后生成的占成账单。可按类型或状态筛选,详情内确认或登记收付。"
},
"panels": {
"workbench": { "title": "工作台" },
"overview": { "title": "结算概览" },
"ledger": { "title": "账务流水" },
"bills": { "title": "全部账单" },
"creditLedger": { "title": "信用流水" },
"playerBills": { "title": "玩家账单" },
"agentBills": { "title": "代理账单" },
"pendingConfirm": { "title": "待确认账单" },
"awaiting": { "title": "待收付账单" },
"payments": { "title": "收付记录" },
"adjustments": { "title": "调账 / 冲正" },
"reports": { "title": "账期报表" },
"badDebt": { "title": "坏账核销" }
"workbench": {
"title": "工作台"
},
"overview": {
"title": "结算概览"
},
"ledger": {
"title": "账务流水"
},
"bills": {
"title": "全部账单"
},
"creditLedger": {
"title": "信用流水"
},
"playerBills": {
"title": "玩家账单"
},
"agentBills": {
"title": "代理账单"
},
"pendingConfirm": {
"title": "待确认账单"
},
"awaiting": {
"title": "待收付账单"
},
"payments": {
"title": "收付记录"
},
"adjustments": {
"title": "调账 / 冲正"
},
"reports": {
"title": "账期报表"
},
"badDebt": {
"title": "坏账核销"
}
},
"empty": {
"noSite": "请选择站点。",
@@ -356,5 +383,20 @@
"loadAdjustments": "调账记录加载失败",
"loadBadDebt": "坏账记录加载失败",
"loadCreditLedger": "信用流水加载失败"
},
"header": {
"subtitle": "信用盘结算",
"statusRunning": "账期进行中",
"statusIdle": "无进行中账期",
"statusCompleted": "账期已结清"
},
"subnav": {
"label": "结算中心导航"
},
"workbench": {
"viewPeriod": "账期",
"closePreset": "关账 · {{label}}",
"closeNoData": "关账失败:账期内无占成流水,请先完成信用盘开奖结算。",
"openPeriodPipeline": "开账 {{range}} · 占成流水 {{share}} 笔"
}
}