Files
thebet365/apps/admin/src/views/bet-form.ts
Mars 80adc0e928 feat(admin): 管理端列表分页、控制台图表与赛事导入
- 玩家/代理/赛事/注单/审计列表分页,默认每页 10 条,无页面滚动条布局

- ECharts 控制台概览、注单管理中文化与列宽优化

- zhibo 赛事字段迁移与导入,玩家编辑可改所属代理

- 管理端 API 分页与 dashboard 统计接口

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 13:49:31 +08:00

41 lines
891 B
TypeScript

export interface BetListRow {
id: string;
betNo: string;
userId: string;
username: string;
parentUsername: string | null;
agentId: string | null;
betType: string;
stake: string;
totalOdds: string | null;
potentialReturn: string | null;
actualReturn: string;
status: string;
settlementStatus: string | null;
currency: string;
placedAt: string;
settledAt: string | null;
selectionCount: number;
}
export interface BetSelectionDetail {
id: string;
matchId: string | null;
marketType: string;
period: string | null;
selectionName: string;
handicapLine: string | null;
totalLine: string | null;
odds: string;
resultStatus: string | null;
effectiveOdds: string | null;
sortOrder: number;
}
export interface BetDetail extends BetListRow {
requestId: string;
createdAt: string;
updatedAt: string;
selections: BetSelectionDetail[];
}