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

@@ -156,9 +156,35 @@
"riskMonitor": "Risk monitor",
"systemSettings": "System settings"
},
"site": {
"title": "Site overview",
"subtitle": "{{name}} · this site",
"todayBet": "Today's bets",
"todayProfit": "Today's P/L",
"sevenDayTitle": "Last 7 days",
"sevenDayProfit": "7-day P/L",
"profitScopeHint": "Site scope: bets minus payouts",
"activePlayersToday": "Active players today",
"betOrdersTodayHint": "{{count}} orders today",
"pendingBills": "Pending bills",
"pendingUnpaid": "Unpaid {{amount}}",
"latestBetAt": "Latest bet {{time}}",
"noBetToday": "No bets yet today",
"scaleTitle": "Site scale",
"agentCount": "Agent nodes",
"playerCount": "Players",
"topAgentToday": "Top agent today: {{name}} ({{amount}})",
"quickLinks": {
"tickets": "Tickets",
"players": "Players",
"reports": "Reports",
"agents": "Agents",
"bills": "Settlement"
}
},
"agent": {
"title": "Operations overview",
"subtitle": "Your line scope · {{name}}",
"subtitle": "{{name}} · your line",
"heroEyebrow": "Today's line cockpit",
"heroTitle": "{{name}} live operations",
"creditTitle": "Credit limit",
@@ -176,6 +202,7 @@
"teamPlayers": "Players in line",
"activePlayersToday": "Active players today",
"betOrdersToday": "Bet orders today",
"betOrdersTodayHint": "{{count}} orders today",
"todayBet": "Today's bet",
"todayPayout": "Today's payout",
"todayProfit": "Today's profit",
@@ -202,6 +229,7 @@
"yes": "Yes",
"no": "No",
"viewBills": "View bills",
"lineMeta": "Depth {{depth}} · child agents {{childAgent}} · players {{player}}",
"viewLine": "Agent line",
"quickLinks": {
"tickets": "Tickets",