diff --git a/src/router/index.js b/src/router/index.js index 8a03bea..40796de 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -45,12 +45,20 @@ export const constantRoutes = [ { path: '/system/productionPlan', component: () => import('@/views/system/productionPlan') - }, + } + ] + }, + { + path: '/system/operationPlanningMain', + component: Layout, + hidden: false, + redirect: to => ({ path: '/system/operationPlanningMain/index', query: to.query }), + children: [ { - path: '/system/operationPlanningMain', + path: 'index', component: () => import('@/views/system/operationPlanningMain'), - name: 'OperationPlanningMainPublic', - meta: { title: '生产计划' } + name: 'OperationPlanningMain', + meta: { title: '生产计划', icon: 'table' } } ] }, diff --git a/src/views/system/operationPlanningMain/index.vue b/src/views/system/operationPlanningMain/index.vue index 0421bf5..194a9a1 100644 --- a/src/views/system/operationPlanningMain/index.vue +++ b/src/views/system/operationPlanningMain/index.vue @@ -10,7 +10,7 @@ @keyup.enter.native="handleQuery" /> - + + + +