feat(看板): 隐藏周期复盘与深度分析页签
页签栏只保留「数据概览 / 需求预测」;DASHBOARD_MODULE.tabChildren 摘除 review/analysis,两个子路由不再注册(直达 URL 落全局兜底 * -> 回默认首页)。 清理不再使用的 Target/Activity 图标导入;全景图 data.js 与产物同步。
This commit is contained in:
@@ -286,7 +286,7 @@ export const DASHBOARD_MODULE: BusinessModuleDef = {
|
||||
path: 'dashboard',
|
||||
page: 'Dashboard',
|
||||
roles: ['admin'],
|
||||
tabChildren: ['', 'ai', 'review', 'analysis'],
|
||||
tabChildren: ['', 'ai'],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -20,13 +20,11 @@ import {
|
||||
ArrowDownRight,
|
||||
Sparkles,
|
||||
Brain,
|
||||
Target,
|
||||
BarChart3,
|
||||
Clock,
|
||||
CheckCircle,
|
||||
AlertTriangle,
|
||||
RefreshCw,
|
||||
Activity,
|
||||
UserCircle,
|
||||
Wallet,
|
||||
CircleDollarSign,
|
||||
@@ -1344,8 +1342,6 @@ export const Dashboard: React.FC = () => {
|
||||
tabs={[
|
||||
{ to: `/dashboard${search}`, end: true, label: t('dashboard.tab.overview'), icon: BarChart3 },
|
||||
{ to: `/dashboard/ai${search}`, label: t('dashboard.tab.ai'), icon: Brain },
|
||||
{ to: `/dashboard/review${search}`, label: t('dashboard.tab.review'), icon: Target },
|
||||
{ to: `/dashboard/analysis${search}`, label: t('dashboard.tab.analysis'), icon: Activity },
|
||||
]}
|
||||
/>
|
||||
|
||||
|
||||
@@ -467,7 +467,7 @@ const MODULES = [
|
||||
groups: [
|
||||
{ name: '数据看板', features: [
|
||||
{ name: '首页 KPI 与趋势', status: 'done', carrier: 'dashboardService / /dashboard/summary', evidence: '菜单 roles:[admin] 不含超管(后端放行含超管);禁止把超管落地改回 /dashboard(会自环)' },
|
||||
{ name: '看板 Tab(ai / review / analysis)', status: 'done', carrier: 'src/pages/Dashboard.tsx', evidence: '子集路由' },
|
||||
{ name: '看板 Tab(概览 / 需求预测)', status: 'done', carrier: 'src/pages/Dashboard.tsx', evidence: '子集路由;「周期复盘 / 深度分析」两个 Tab 已于 2026-10-12 隐藏并摘除子路由(直达 URL 回落首页)' },
|
||||
{ name: '损耗分析', status: 'partial', carrier: 'dashboardLossAnalysis', evidence: '损耗只认 processing_tasks.loss_qty;归因只有一维' },
|
||||
{ name: '需求预测预警', status: 'partial', carrier: '20260914-dashboard-demand-forecast-alert', evidence: '默认不自动请求' },
|
||||
{ name: '账本聚合性能', status: 'risk', carrier: '实测 1,681 ms / 542,229 shared hit', evidence: 'recentOrders 无 LIMIT;随 cost_details 增长会恶化' },
|
||||
|
||||
@@ -460,7 +460,7 @@ export const MODULES = [
|
||||
groups: [
|
||||
{ name: '数据看板', features: [
|
||||
{ name: '首页 KPI 与趋势', status: 'done', carrier: 'dashboardService / /dashboard/summary', evidence: '菜单 roles:[admin] 不含超管(后端放行含超管);禁止把超管落地改回 /dashboard(会自环)' },
|
||||
{ name: '看板 Tab(ai / review / analysis)', status: 'done', carrier: 'src/pages/Dashboard.tsx', evidence: '子集路由' },
|
||||
{ name: '看板 Tab(概览 / 需求预测)', status: 'done', carrier: 'src/pages/Dashboard.tsx', evidence: '子集路由;「周期复盘 / 深度分析」两个 Tab 已于 2026-10-12 隐藏并摘除子路由(直达 URL 回落首页)' },
|
||||
{ name: '损耗分析', status: 'partial', carrier: 'dashboardLossAnalysis', evidence: '损耗只认 processing_tasks.loss_qty;归因只有一维' },
|
||||
{ name: '需求预测预警', status: 'partial', carrier: '20260914-dashboard-demand-forecast-alert', evidence: '默认不自动请求' },
|
||||
{ name: '账本聚合性能', status: 'risk', carrier: '实测 1,681 ms / 542,229 shared hit', evidence: 'recentOrders 无 LIMIT;随 cost_details 增长会恶化' },
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user