feat(admin): 上线报表中心页面并接入九类报表查询导出
新增报表控制台、汇总 API 客户端与中英尼文案,九类报表均可筛选预览并导出 CSV/Excel。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,7 @@ const EXACT_ROUTES: Record<string, PageTitleSpec> = {
|
||||
"/admin/tickets": { ns: "tickets", key: "title" },
|
||||
"/admin/settlement-batches": { ns: "settlement", key: "batchList" },
|
||||
"/admin/reconcile": { ns: "reconcile", key: "title" },
|
||||
"/admin/reports": { ns: "reports", key: "title" },
|
||||
"/admin/audit-logs": { ns: "audit", key: "title" },
|
||||
"/admin/admin-users": { ns: "adminUsers", key: "title" },
|
||||
"/admin/admin-roles": { ns: "adminRoles", key: "title" },
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
import enAdminRoles from "@/i18n/locales/en/adminRoles.json";
|
||||
import enAdminUsers from "@/i18n/locales/en/adminUsers.json";
|
||||
import enAudit from "@/i18n/locales/en/audit.json";
|
||||
import enAuth from "@/i18n/locales/en/auth.json";
|
||||
@@ -10,6 +9,7 @@ import enDraws from "@/i18n/locales/en/draws.json";
|
||||
import enJackpot from "@/i18n/locales/en/jackpot.json";
|
||||
import enPlayers from "@/i18n/locales/en/players.json";
|
||||
import enReconcile from "@/i18n/locales/en/reconcile.json";
|
||||
import enReports from "@/i18n/locales/en/reports.json";
|
||||
import enRisk from "@/i18n/locales/en/risk.json";
|
||||
import enSettlement from "@/i18n/locales/en/settlement.json";
|
||||
import enCommon from "@/i18n/locales/en/common.json";
|
||||
@@ -23,9 +23,10 @@ const EN_FLAT: Record<string, Record<string, unknown>> = {
|
||||
tickets: enTickets,
|
||||
settlement: enSettlement,
|
||||
reconcile: enReconcile,
|
||||
reports: enReports,
|
||||
audit: enAudit,
|
||||
adminUsers: enAdminUsers,
|
||||
adminRoles: enAdminRoles,
|
||||
adminRoles: enAdminUsers,
|
||||
wallet: enWallet,
|
||||
risk: enRisk,
|
||||
jackpot: enJackpot,
|
||||
|
||||
Reference in New Issue
Block a user