From 81cc61a6c647d3c5e9bfc4831be75c520719157e Mon Sep 17 00:00:00 2001 From: tzy Date: Tue, 14 Apr 2026 19:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E8=9D=B6=E5=B7=A5=E5=BA=8F=E8=AE=A1?= =?UTF-8?q?=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 16 +++-- .../system/operationPlanningMain/index.vue | 63 ++++++++++++++++--- 2 files changed, 65 insertions(+), 14 deletions(-) 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" /> - + + + +