feat(material): 去Tab分段展示 + 总图段位标签带 + 跟踪表段列 / 移除看板与产能分析

- 移除 Tab 切换,5 段(入口/酸洗/清洗/烘干/出口)顺序堆叠
- 总图 SVG 顶部加段位色带(5 段不同色),同时跟踪表新增「段」列
- 修复横向溢出(minmax(0,1fr) + auto-fit 槽卡片 + overflow-x:hidden)
- 删除菜单与路由中的「生产看板」「产能分析」,首页重定向到 /plan

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 14:04:33 +08:00
parent 45abd3586b
commit 7e18bc5a7f
8 changed files with 126 additions and 280 deletions

View File

@@ -14,14 +14,8 @@ const routes = [
path: '/',
component: () => import('@/views/Layout.vue'),
meta: { requiresAuth: true },
redirect: '/dashboard',
redirect: '/plan',
children: [
{
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/Dashboard.vue'),
meta: { title: '生产看板', icon: 'el-icon-monitor', requiresAuth: true }
},
{
path: 'material',
name: 'Material',
@@ -70,12 +64,6 @@ const routes = [
component: () => import('@/views/Quality.vue'),
meta: { title: '质量管理', icon: 'el-icon-medal', requiresAuth: true }
},
{
path: 'capacity',
name: 'Capacity',
component: () => import('@/views/Capacity.vue'),
meta: { title: '产能分析', icon: 'el-icon-s-data', requiresAuth: true }
},
]
},
{ path: '*', redirect: '/' }