fix: 列表显示、分页优化

This commit is contained in:
ZhuRui
2026-08-06 11:39:51 +08:00
parent 92a6a06bbc
commit 15a6d81851
32 changed files with 157 additions and 139 deletions
+17 -4
View File
@@ -8,7 +8,7 @@ export interface TournamentAdminOrderPageVO {
/** 订单编号 */
orderNo: string;
/** 选手ID */
uniqueId: number;
uniqueId: string;
/** 赛事名称 */
name: string;
/** 选手名称 */
@@ -36,9 +36,9 @@ export interface TournamentAdminOrderPageVO {
/** 支付时间;yyyy.MM.dd HH:mm:ss */
payTime: string;
/** 订单状态;1=已支付,2=部分退款,3=全部退款,4=已关闭,-1=其他 */
orderStatus: number;
orderStatus: string;
/** 退款状态;1=无退款,2=退款成功,3=退款失败,-1=其他 */
refundStatus: number;
refundStatus: string;
}
/** 订单列表查询参数 */
@@ -62,11 +62,24 @@ export interface OrderListQueryParams {
status?: string;
/**
* 退款状态
* 不传=全部、0=退款失败,1=退款成功
* 不传=全部、2=退款成功,3=退款失败
*/
refundStatus?: string;
}
/** 订单分页数据(含列表统计字段) */
export interface OrderPageData extends PageData<TournamentAdminOrderPageVO> {
/** 扩展数据 */
exData: {
/** 总订单金额(已支付) */
totalOrderAmount: string;
/** 总实付金额 */
totalActualAmount: string;
/** 总退款金额 */
totalRefundAmount: string;
};
}
/** 分页数据 */
export interface PageData<T> {
total: number;