diff --git a/src/app/(main)/coupon-data/page.tsx b/src/app/(main)/coupon-data/page.tsx index f20fbb6..8f4ed8f 100644 --- a/src/app/(main)/coupon-data/page.tsx +++ b/src/app/(main)/coupon-data/page.tsx @@ -149,6 +149,9 @@ function PointScorePopover({ row }: { row: CouponDataRow }) { return -; } const score = `${row.point_success_count}/${row.point_total_count}`; + const scoreWithRate = `${score}(${( + row.point_success_count / row.point_total_count * 100 + ).toFixed(1)}%)`; const scoreColor = row.point_success_count === row.point_total_count ? STATUS_TAG.completed.color @@ -220,7 +223,7 @@ function PointScorePopover({ row }: { row: CouponDataRow }) { )} > ); @@ -602,9 +605,9 @@ export default function CouponDataPage() { render: (v: number | null) => fmtSec(v), }, { - title: '百分比', + title: '单券成功率', key: 'point_success_rate', - width: 110, + width: 150, render: (_: unknown, r: CouponDataRow) => , }, {