feat: wire admin workflows to real APIs

This commit is contained in:
hectorzhao
2026-07-02 13:50:09 +08:00
parent f8c9b78c21
commit ab421cf8a7
42 changed files with 2596 additions and 250 deletions
+7 -2
View File
@@ -34,6 +34,12 @@ export function AdminLayout() {
workspaceName="平台运营工作区"
userName="运营"
userRole="平台管理员"
auditNotifications={[
{ label: '企业认证审核', count: 3, to: '/admin/enterprise-audit' },
{ label: '短信审核', count: 8, to: '/admin/sms-audit' },
{ label: '短信模板审核', count: 5, to: '/admin/templates' },
{ label: '签名审核', count: 2, to: '/admin/enterprise-signatures' },
]}
navSections={[
{
title: '运营概览',
@@ -42,7 +48,6 @@ export function AdminLayout() {
{ label: '运营看板', to: '/admin', icon: Gauge },
{ label: '发送监控', to: '/admin/monitor', icon: Activity },
{ label: '数据统计', to: '/admin/analytics', icon: BarChart3 },
{ label: '客户管理', to: '/admin/customers', icon: Building2 },
],
},
{
@@ -116,7 +121,7 @@ export function AdminLayout() {
items: [
{ label: '用户管理', to: '/admin/users', icon: Users },
{ label: '手机号段库', to: '/admin/phone-segments', icon: Phone },
{ label: '引流信息字段库', to: '/admin/drainage-fields', icon: Hash },
{ label: '报备字段库', to: '/admin/drainage-fields', icon: Hash },
{ label: '系统日志', to: '/admin/system-logs', icon: FileText },
],
},