From 5dcb5e05482c0148e47e40772510cfb508cbb3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 16 Feb 2023 00:57:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes_xm.js | 45 +++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/src/router/routes_xm.js b/src/router/routes_xm.js index 07573c18..1e13889b 100644 --- a/src/router/routes_xm.js +++ b/src/router/routes_xm.js @@ -8,6 +8,28 @@ const _import = require('./_import_' + process.env.NODE_ENV) export default { routes: [ + { + path: '/xm/core', + component: Layout, + name: '产品管理', + iconCls: 'fa el-icon-menu', + meta: { + title: '产品管理', + icon: 'international' + }, + // leaf: true,//只有一个节点 + children: [ + { path: 'product/mng', component: _import('xm/core/xmProduct/XmProductMng'), name: 'XmProductMng', meta: { title: '产品管理',roles:["user"] }}, + { path: 'product/recycle', component: _import('xm/core/xmProduct/XmProductRecycle'), name: 'XmProductRecycle', meta: { title: '产品回收站',roles:["user"] }}, + + { path: 'product/tpl', component: _import('xm/core/xmProduct/XmProductTplMng'), name: 'XmProductTplMng', meta: { title: '产品模板',roles:["user"] }}, + { path: 'menu/detail', component: _import('xm/core/xmMenu/XmMenuDetailRoute'), name: 'XmMenuDetailRoute', meta: { title: '需求明细',roles:["user"] },hidden:true}, + + { path: 'menu/mng', component: _import('xm/core/xmMenu/XmMenuMngRoute'), name: 'XmMenuMng', meta: { title: '需求管理',roles:["user"] }}, + { path: 'iteration/mng', component: _import('xm/core/xmIteration/XmIterationMng'), name: 'XmIterationMng', meta: { title: '迭代管理',roles:["user"] }}, + + ] + }, { path: '/xm/core', component: Layout, @@ -446,28 +468,7 @@ export default { ] }, - { - path: '/xm/core', - component: Layout, - name: '产品管理', - iconCls: 'fa el-icon-menu', - meta: { - title: '产品管理', - icon: 'international' - }, - // leaf: true,//只有一个节点 - children: [ - { path: 'product/mng', component: _import('xm/core/xmProduct/XmProductMng'), name: 'XmProductMng', meta: { title: '产品管理',roles:["user"] }}, - { path: 'product/recycle', component: _import('xm/core/xmProduct/XmProductRecycle'), name: 'XmProductRecycle', meta: { title: '产品回收站',roles:["user"] }}, - - { path: 'product/tpl', component: _import('xm/core/xmProduct/XmProductTplMng'), name: 'XmProductTplMng', meta: { title: '产品模板',roles:["user"] }}, - { path: 'menu/detail', component: _import('xm/core/xmMenu/XmMenuDetailRoute'), name: 'XmMenuDetailRoute', meta: { title: '需求明细',roles:["user"] },hidden:true}, - - { path: 'menu/mng', component: _import('xm/core/xmMenu/XmMenuMngRoute'), name: 'XmMenuMng', meta: { title: '需求管理',roles:["user"] }}, - { path: 'iteration/mng', component: _import('xm/core/xmIteration/XmIterationMng'), name: 'XmIterationMng', meta: { title: '迭代管理',roles:["user"] }}, - - ] - }, + { path: '/xm/core/iteration', component: XmIterationLayout,