feat(wms): 添加待办事项页面和导航入口

- 新增待办事项功能页面,包含标签待贴和其他待办选项卡
- 在导航栏添加待办事项快捷入口图标
- 更新仓库配置,添加罩式退火原料库选项
- 清理无用路由配置
This commit is contained in:
2026-04-22 16:30:29 +08:00
parent 19dad696a7
commit 1259a33664
5 changed files with 55 additions and 32 deletions

View File

@@ -51,6 +51,7 @@ export const constantRoutes = [
component: () => import('@/views/register'),
hidden: true
},
{
path: '/404',
component: () => import('@/views/error/404'),
@@ -102,43 +103,31 @@ export const constantRoutes = [
]
},
{
path: '/aps',
path: '/wms',
component: Layout,
hidden: true,
children: [
{
path: 'lineCapability',
component: () => import('@/views/aps/lineCapability/index'),
name: 'ApsLineCapability',
meta: { title: '产线能力' }
},
{
path: 'processManage',
component: () => import('@/views/aps/processManage/index'),
name: 'ApsProcessManage',
meta: { title: '工序管理' }
},
{
path: 'factory-calendar',
component: () => import('@/views/aps/factoryCalendar'),
name: 'ApsFactoryCalendarPage',
meta: { title: '工厂总日历' }
path: 'todo',
component: () => import('@/views/wms/todo/index'),
name: 'Task',
meta: { title: '待办任务', icon: 'checkbox' }
}
]
],
},
{
path: '/wms/seal',
component: Layout,
hidden: true,
children: [
{
path: 'sealDetail/:bizId',
component: () => import('@/views/wms/seal/sealDetail'),
name: 'WmsSealDetail',
meta: { title: '用印详情' }
}
]
}
// {
// path: '/wms/seal',
// component: Layout,
// hidden: true,
// children: [
// {
// path: 'sealDetail/:bizId',
// component: () => import('@/views/wms/seal/sealDetail'),
// name: 'WmsSealDetail',
// meta: { title: '用印详情' }
// }
// ]
// }
]
// 动态路由,基于用户权限动态去加载