|
@@ -943,6 +943,50 @@ export let constantRoutes = [{
|
|
},
|
|
},
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ id: 0,
|
|
|
|
+ path: '/merchantManage/index',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/merchantManage/index',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '商户管理',
|
|
|
|
+ icon: 'el-icon-s-shop'
|
|
|
|
+ },
|
|
|
|
+ children: [{
|
|
|
|
+ id: 1,
|
|
|
|
+ path: '/merchantManage/index',
|
|
|
|
+ name: '/merchantManage/index',
|
|
|
|
+ component: () => import('@/views/merchantManage/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '商户列表',
|
|
|
|
+ icon: ''
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id: 1,
|
|
|
|
+ path: '/merchantManage/shopDetail',
|
|
|
|
+ name: '/merchantManage/shopDetail',
|
|
|
|
+ component: () => import('@/views/merchantManage/shopDetail.vue'),
|
|
|
|
+ hidden:true,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '商户详情',
|
|
|
|
+ icon: '',
|
|
|
|
+ activeMenu:'/merchantManage/index'
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id: 1,
|
|
|
|
+ path: '/merchantManage/addUser',
|
|
|
|
+ name: '/merchantManage/addUser',
|
|
|
|
+ component: () => import('@/views/merchantManage/addUser.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '添加商户',
|
|
|
|
+ icon: ''
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
// 用户管理
|
|
// 用户管理
|
|
{
|
|
{
|
|
id: 0,
|
|
id: 0,
|
|
@@ -985,47 +1029,7 @@ export let constantRoutes = [{
|
|
// },
|
|
// },
|
|
// ]
|
|
// ]
|
|
// },
|
|
// },
|
|
- {
|
|
|
|
- id: 0,
|
|
|
|
- path: '/userManage/shopManage',
|
|
|
|
- component: operationLayout,
|
|
|
|
- redirect: '/userManage/shopManage',
|
|
|
|
- meta: {
|
|
|
|
- title: '商户管理',
|
|
|
|
- icon: ''
|
|
|
|
- },
|
|
|
|
- children: [{
|
|
|
|
- id: 1,
|
|
|
|
- path: '/userManage/shopManage/index',
|
|
|
|
- name: '/userManage/shopManage/index',
|
|
|
|
- component: () => import('@/views/userManage/shopManage/index.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '商户列表',
|
|
|
|
- icon: ''
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- id: 1,
|
|
|
|
- path: '/userManage/shopManage/shopDetail',
|
|
|
|
- name: '/userManage/shopManage/shopDetail',
|
|
|
|
- component: () => import('@/views/userManage/shopManage/shopDetail.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '商户详情',
|
|
|
|
- icon: ''
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- id: 1,
|
|
|
|
- path: '/userManage/shopManage/addUser',
|
|
|
|
- name: '/userManage/shopManage/addUser',
|
|
|
|
- component: () => import('@/views/userManage/shopManage/addUser.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '添加商户',
|
|
|
|
- icon: ''
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
{
|
|
{
|
|
id: 0,
|
|
id: 0,
|
|
path: '/userManage/agentManage',
|
|
path: '/userManage/agentManage',
|
|
@@ -1152,7 +1156,27 @@ export let constantRoutes = [{
|
|
},
|
|
},
|
|
},
|
|
},
|
|
]
|
|
]
|
|
-}
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id: 0,
|
|
|
|
+ path: '/setting/setting',
|
|
|
|
+ component: operationLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '账号设置',
|
|
|
|
+ icon: ''
|
|
|
|
+ },
|
|
|
|
+ children: [{
|
|
|
|
+ id: 1,
|
|
|
|
+ path: '/setting/setting',
|
|
|
|
+ name: '/setting/setting',
|
|
|
|
+ component: () => import('@/views//setting/setting.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '账号设置',
|
|
|
|
+ icon: ''
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
]
|
|
]
|
|
}
|
|
}
|
|
|
|
|