|
@@ -67,6 +67,13 @@ export const constantRoutes = [
|
|
|
component: () => import('@/views/index'),
|
|
|
name: 'Index',
|
|
|
meta: { title: '首页', icon: 'dashboard', affix: true }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/order-details',
|
|
|
+ component: () => import('@/views/order/details/index'),
|
|
|
+ name: 'orderDetails',
|
|
|
+ hidden: true,
|
|
|
+ meta: { title: '订单详情', activeMenu: '/order/order-manage' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -158,20 +165,20 @@ export const dynamicRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/order/order-details',
|
|
|
- component: Layout,
|
|
|
- hidden: true,
|
|
|
- permissions: ['order:manage:list'],
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index/:orderId(\\d+)',
|
|
|
- component: () => import('@/views/order/details/index'),
|
|
|
- name: 'Data',
|
|
|
- meta: { title: '订单详情', activeMenu: '/order/order-manage' }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
+ // {
|
|
|
+ // path: '/order/order-details',
|
|
|
+ // component: Layout,
|
|
|
+ // hidden: true,
|
|
|
+ // permissions: ['*'],
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index/:orderId(\\d+)',
|
|
|
+ // component: () => import('@/views/order/details/index'),
|
|
|
+ // name: 'Data',
|
|
|
+ // meta: { title: '订单详情', activeMenu: '/order/order-manage' }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
]
|
|
|
|
|
|
const router = createRouter({
|