|
@@ -47,7 +47,7 @@ export const asyncRouterMap = [{
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/shop',
|
|
path: '/shop',
|
|
- redirect: '/shop/order',
|
|
|
|
|
|
+ redirect: '/shop/goods',
|
|
component: PageView,
|
|
component: PageView,
|
|
meta: {
|
|
meta: {
|
|
title: '商品',
|
|
title: '商品',
|
|
@@ -125,36 +125,50 @@ export const asyncRouterMap = [{
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/order',
|
|
path: '/order',
|
|
- redirect: '/order/list',
|
|
|
|
- name: 'shopOrder',
|
|
|
|
|
|
+ redirect: '/order/orderManage',
|
|
component: PageView,
|
|
component: PageView,
|
|
meta: {
|
|
meta: {
|
|
title: '订单',
|
|
title: '订单',
|
|
icon: 'profile'
|
|
icon: 'profile'
|
|
// permission: 'M_tenants_list'
|
|
// permission: 'M_tenants_list'
|
|
},
|
|
},
|
|
- hideChildrenInMenu: true,
|
|
|
|
|
|
+ // hideChildrenInMenu: true,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- path: '/order/list',
|
|
|
|
- name: 'shopOrderList',
|
|
|
|
- component: () => import(/* webpackChunkName: "order" */ '@/views/shop/shopOrder.vue'),
|
|
|
|
|
|
+ path: '/order/orderManage',
|
|
|
|
+ redirect: '/order/orderManage/list',
|
|
|
|
+ name: 'orderManage',
|
|
|
|
+ component: RouteView,
|
|
meta: {
|
|
meta: {
|
|
title: '订单管理',
|
|
title: '订单管理',
|
|
icon: 'profile'
|
|
icon: 'profile'
|
|
// permission: 'M_tenants_list'
|
|
// permission: 'M_tenants_list'
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/order/detail/:id',
|
|
|
|
- name: 'shopOrderDetail',
|
|
|
|
- component: () => import(/* webpackChunkName: "order" */ '@/views/shop/orderDetail.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '订单详情',
|
|
|
|
- icon: 'profile',
|
|
|
|
- hidden: true
|
|
|
|
- // permission: 'M_tenants_list'
|
|
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: '/order/orderManage/list',
|
|
|
|
+ name: 'orderManageList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "order" */ '@/views/shop/shopOrder.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '订单列表',
|
|
|
|
+ icon: 'shopping',
|
|
|
|
+ hidden: true
|
|
|
|
+ // permission: 'M_goodsManage_list'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/order/orderManage/detail/:id',
|
|
|
|
+ name: 'orderManageDetail',
|
|
|
|
+ component: () => import(/* webpackChunkName: "order" */ '@/views/shop/orderDetail.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '订单详情',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true
|
|
|
|
+ // permission: 'M_tenants_list'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|