feat(ops-web/kol): add KOL subscription review console

New /kol-subscriptions page lists pending and active subscriptions, lets
operators approve / revoke / manually bind packages to tenants, and links
into the AppShell nav under 订阅包审批. Register Alert globally so the
view's status banners render.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-29 22:07:41 +08:00
parent 9bb7144593
commit 73fd7db21a
4 changed files with 634 additions and 0 deletions
+7
View File
@@ -48,6 +48,7 @@
<script setup lang="ts">
import {
AuditOutlined,
CrownOutlined,
GlobalOutlined,
SafetyCertificateOutlined,
SettingOutlined,
@@ -73,6 +74,7 @@ const collapsed = ref(false);
const menuLeaves: MenuLeaf[] = [
{ key: "/admin-users", label: "用户管理", path: "/admin-users" },
{ key: "/kol-subscriptions", label: "订阅包审批", path: "/kol-subscriptions" },
{ key: "/site-domain-mappings", label: "站点映射", path: "/site-domain-mappings" },
{ key: "/accounts", label: "操作员管理", path: "/accounts" },
{ key: "/audits", label: "审计日志", path: "/audits" },
@@ -84,6 +86,11 @@ const menuItems = computed<ItemType[]>(() => [
label: "用户管理",
icon: () => h(TeamOutlined),
},
{
key: "/kol-subscriptions",
label: "订阅包审批",
icon: () => h(CrownOutlined),
},
{
key: "/site-domain-mappings",
label: "站点映射",