update 路由优化

master
yinq 4 months ago
parent 789f090cfc
commit 44ecadd990

@ -329,34 +329,34 @@ export const dynamicRoutes: RouteRecordRaw[] = [
}
]
},
{
path: '/mes/product-order',
component: Layout,
hidden: true,
permissions: ['mes:orderInfo:edit'],
children: [
{
path: 'index/:productOrderId(\\d+)',
component: () => import('@/views/mes/orderInfo/editProductOrder.vue'),
name: 'productOrderEdit',
meta: { title: '生产任务', activeMenu: '/mes/orderInfo', noCache: true }
}
]
},
{
path: '/mes/product-order',
component: Layout,
hidden: true,
permissions: ['mes:orderInfo:edit'],
children: [
{
path: 'index',
component: () => import('@/views/mes/orderInfo/batchAddOrder.vue'),
name: 'batchAddOrder',
meta: { title: '生产任务', activeMenu: '/mes/orderInfo', noCache: true }
}
]
},
// {
// path: '/mes/product-order',
// component: Layout,
// hidden: true,
// permissions: ['mes:orderInfo:edit'],
// children: [
// {
// path: 'index/:productOrderId(\\d+)',
// component: () => import('@/views/mes/orderInfo/editProductOrder.vue'),
// name: 'productOrderEdit',
// meta: { title: '生产任务', activeMenu: '/mes/orderInfo', noCache: true }
// }
// ]
// },
// {
// path: '/mes/product-order',
// component: Layout,
// hidden: true,
// permissions: ['mes:orderInfo:edit'],
// children: [
// {
// path: 'index',
// component: () => import('@/views/mes/orderInfo/batchAddOrder.vue'),
// name: 'batchAddOrder',
// meta: { title: '生产任务', activeMenu: '/mes/orderInfo', noCache: true }
// }
// ]
// },
{
path: '/dms/deviceMode/mode-edit',
component: Layout,
@ -518,35 +518,35 @@ export const dynamicRoutes: RouteRecordRaw[] = [
]
},
{
path: '/ai/skill/knowledgeBaseDocs',
component: Layout,
hidden: true,
permissions: ['ai:aiKnowledgeBaseDocs:list'],
children: [
{
path: 'index',
component: () => import('@/views/ai/skill/aiKnowledge/knowledgeBaseDocs.vue'),
name: 'KnowledgeBaseDocs',
meta: { title: '知识库详情', activeMenu: '/ai/skill/aiKnowledge', noCache: true }
}
]
},
{
path: '/ai/skill/knowledgeBaseQA',
component: Layout,
hidden: true,
permissions: ['ai:aiKnowledgeBaseDocs:qa'],
children: [
{
path: 'index',
component: () => import('@/views/ai/skill/aiChat/index.vue'),
name: 'KnowledgeBaseQA',
meta: { title: '知识库问答', activeMenu: '/ai/skill/aiKnowledge', noCache: true }
}
]
},
// {
// path: '/ai/skill/knowledgeBaseDocs',
// component: Layout,
// hidden: true,
// permissions: ['ai:aiKnowledgeBaseDocs:list'],
// children: [
// {
// path: 'index',
// component: () => import('@/views/ai/skill/aiKnowledge/knowledgeBaseDocs.vue'),
// name: 'KnowledgeBaseDocs',
// meta: { title: '知识库详情', activeMenu: '/ai/skill/aiKnowledge', noCache: true }
// }
// ]
// },
//
// {
// path: '/ai/skill/knowledgeBaseQA',
// component: Layout,
// hidden: true,
// permissions: ['ai:aiKnowledgeBaseDocs:qa'],
// children: [
// {
// path: 'index',
// component: () => import('@/views/ai/skill/aiChat/index.vue'),
// name: 'KnowledgeBaseQA',
// meta: { title: '知识库问答', activeMenu: '/ai/skill/aiKnowledge', noCache: true }
// }
// ]
// },
// {
// path: '/knowledge-base-preview',

Loading…
Cancel
Save