feat(admin-web): expose AI point balance and usage ledger

Surfaces the new AI point quota in the workspace shell and adds a
Personal Center → AI Point Usage page that shows balance, base-char
rule, and the paginated reservation/refund history. Updates shared
types for the QuotaSummary and ledger payloads.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-28 11:34:07 +08:00
parent e307a048d1
commit bf7594ccd8
7 changed files with 536 additions and 4 deletions
+10
View File
@@ -231,6 +231,16 @@ const router = createRouter({
navKey: "/articles/templates",
},
},
{
path: "account/ai-points",
name: "account-ai-points",
component: () => import("@/views/AIPointUsageView.vue"),
meta: {
titleKey: "route.aiPoints.title",
descriptionKey: "route.aiPoints.description",
navKey: "/account/ai-points",
},
},
],
},
],