From 80c2091baf61ffe36b115fc4f045639eb1300cff Mon Sep 17 00:00:00 2001 From: john Date: Mon, 24 Aug 2026 11:36:13 +0800 Subject: [PATCH] feat(billing): add all/A/B tabs for formula user filter Replace the formula assignment dropdown with tab buttons so admins can quickly view all users or filter by billing formula A or B. Co-authored-by: Cursor --- src/admin/pages/BillingPage.tsx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/admin/pages/BillingPage.tsx b/src/admin/pages/BillingPage.tsx index f454682..f313159 100644 --- a/src/admin/pages/BillingPage.tsx +++ b/src/admin/pages/BillingPage.tsx @@ -390,6 +390,20 @@ function FormulaAssignmentSection() {

勾选用户后分配到公式 A 或 B。未分配用户默认使用公式 A。

{error &&

{error}

} {message &&

{message}

} +
+ {(['all', 'A', 'B'] as const).map((key) => ( + + ))} +
setSearch(event.target.value)} /> -