diff --git a/src/router/index.ts b/src/router/index.ts index 4c011fd..b36eacd 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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',