|
@@ -46,6 +46,40 @@ export const asyncRouterMap = [{
|
|
|
icon: 'home'
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/map',
|
|
|
+ name: 'map',
|
|
|
+ redirect: '/map',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '网点地图',
|
|
|
+ icon: 'global',
|
|
|
+ permission: 'M_map'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [{
|
|
|
+ path: '/map',
|
|
|
+ name: 'map',
|
|
|
+ redirect: '/map/NodeMap',
|
|
|
+ component: RouteView,
|
|
|
+ meta: {
|
|
|
+ title: '网点地图',
|
|
|
+ icon: 'global',
|
|
|
+ permission: 'M_map'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [{
|
|
|
+ path: '/map/NodeMap',
|
|
|
+ name: 'NodeMap',
|
|
|
+ component: () => import(/* webpackChunkName: "map" */ '@/views/map/NodeMap.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '网点地图',
|
|
|
+ icon: 'global',
|
|
|
+ hidden: true
|
|
|
+ }
|
|
|
+ }]
|
|
|
+ }]
|
|
|
+ },
|
|
|
{
|
|
|
path: '/shop',
|
|
|
redirect: '/shop/goods',
|
|
@@ -55,73 +89,72 @@ export const asyncRouterMap = [{
|
|
|
icon: 'shop',
|
|
|
permission: 'M_shop'
|
|
|
},
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/shop/goods',
|
|
|
- redirect: '/shop/goods/list',
|
|
|
- name: 'goodsList',
|
|
|
- component: RouteView,
|
|
|
+ children: [{
|
|
|
+ path: '/shop/goods',
|
|
|
+ redirect: '/shop/goods/list',
|
|
|
+ name: 'goodsList',
|
|
|
+ component: RouteView,
|
|
|
+ meta: {
|
|
|
+ title: '商品管理',
|
|
|
+ icon: 'shopping',
|
|
|
+ permission: 'M_goodsManage_list'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [{
|
|
|
+ path: '/shop/goods/list',
|
|
|
+ name: 'goodsListList',
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsList.vue'),
|
|
|
meta: {
|
|
|
- title: '商品管理',
|
|
|
+ title: '商品列表',
|
|
|
icon: 'shopping',
|
|
|
+ hidden: true,
|
|
|
permission: 'M_goodsManage_list'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [{
|
|
|
- path: '/shop/goods/list',
|
|
|
- name: 'goodsListList',
|
|
|
- component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsList.vue'),
|
|
|
- meta: {
|
|
|
- title: '商品列表',
|
|
|
- icon: 'shopping',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_goodsManage_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/shop/goods/add',
|
|
|
- name: 'goodsListAdd',
|
|
|
- component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsEdit.vue'),
|
|
|
- meta: {
|
|
|
- title: '新增商品',
|
|
|
- icon: 'shopping',
|
|
|
- hidden: true,
|
|
|
- permission: 'B_goodsManage_add'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/shop/goods/edit/:id',
|
|
|
- name: 'goodsListEdit',
|
|
|
- component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsEdit.vue'),
|
|
|
- meta: {
|
|
|
- title: '编辑商品',
|
|
|
- icon: 'shopping',
|
|
|
- hidden: true,
|
|
|
- permission: 'B_goodsManage_edit'
|
|
|
- }
|
|
|
}
|
|
|
- ]
|
|
|
},
|
|
|
{
|
|
|
- path: '/shop/goodsShelves',
|
|
|
- name: 'goodsShelves',
|
|
|
- component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsShelves.vue'),
|
|
|
+ path: '/shop/goods/add',
|
|
|
+ name: 'goodsListAdd',
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsEdit.vue'),
|
|
|
meta: {
|
|
|
- title: '商品排序',
|
|
|
- icon: 'flag',
|
|
|
- permission: 'M_goodsShelves_0'
|
|
|
+ title: '新增商品',
|
|
|
+ icon: 'shopping',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'B_goodsManage_add'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: '/shopSetting/goodsClass',
|
|
|
- name: 'goodsClass',
|
|
|
- component: () => import(/* webpackChunkName: "shop" */ '@/views/shopSetting/goodsClass.vue'),
|
|
|
+ path: '/shop/goods/edit/:id',
|
|
|
+ name: 'goodsListEdit',
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsEdit.vue'),
|
|
|
meta: {
|
|
|
- title: '商品分类管理',
|
|
|
- icon: 'folder',
|
|
|
- permission: 'M_goodsClass_list'
|
|
|
+ title: '编辑商品',
|
|
|
+ icon: 'shopping',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'B_goodsManage_edit'
|
|
|
}
|
|
|
}
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/shop/goodsShelves',
|
|
|
+ name: 'goodsShelves',
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/shop/goodsShelves.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '商品排序',
|
|
|
+ icon: 'flag',
|
|
|
+ permission: 'M_goodsShelves_0'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/shopSetting/goodsClass',
|
|
|
+ name: 'goodsClass',
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/shopSetting/goodsClass.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '商品分类管理',
|
|
|
+ icon: 'folder',
|
|
|
+ permission: 'M_goodsClass_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -133,44 +166,41 @@ export const asyncRouterMap = [{
|
|
|
icon: 'profile',
|
|
|
permission: 'M_orderManage_list'
|
|
|
},
|
|
|
- children: [
|
|
|
+ children: [{
|
|
|
+ path: '/order/orderManage',
|
|
|
+ redirect: '/order/orderManage/list',
|
|
|
+ name: 'orderManage',
|
|
|
+ component: RouteView,
|
|
|
+ meta: {
|
|
|
+ title: '订单管理',
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_orderManage_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_orderManage_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
- path: '/order/orderManage',
|
|
|
- redirect: '/order/orderManage/list',
|
|
|
- name: 'orderManage',
|
|
|
- component: RouteView,
|
|
|
+ path: '/order/orderManage/detail/:id',
|
|
|
+ name: 'orderManageDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "order" */ '@/views/shop/orderDetail.vue'),
|
|
|
meta: {
|
|
|
- title: '订单管理',
|
|
|
+ title: '订单详情',
|
|
|
icon: 'profile',
|
|
|
- permission: 'M_orderManage_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_orderManage_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/order/orderManage/detail/:id',
|
|
|
- name: 'orderManageDetail',
|
|
|
- component: () => import(/* webpackChunkName: "order" */ '@/views/shop/orderDetail.vue'),
|
|
|
- meta: {
|
|
|
- title: '订单详情',
|
|
|
- icon: 'profile',
|
|
|
- hidden: true,
|
|
|
- permission: 'B_orderManage_detail'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
+ hidden: true,
|
|
|
+ permission: 'B_orderManage_detail'
|
|
|
+ }
|
|
|
}
|
|
|
- ]
|
|
|
+ ]
|
|
|
+ }]
|
|
|
},
|
|
|
// 用户
|
|
|
{
|
|
@@ -182,63 +212,95 @@ export const asyncRouterMap = [{
|
|
|
icon: 'user',
|
|
|
permission: 'M_user'
|
|
|
},
|
|
|
- children: [
|
|
|
+ children: [{
|
|
|
+ path: '/userInfo/userManage',
|
|
|
+ redirect: '/userInfo/userManageList/list',
|
|
|
+ name: 'userManageS',
|
|
|
+ component: RouteView,
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_user_userManage_list'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [{
|
|
|
+ path: '/userInfo/userManageList/list',
|
|
|
+ name: 'userManageList',
|
|
|
+ component: () => import(/* webpackChunkName: "userManageList" */ '@/views/userInfo/userManageList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户列表',
|
|
|
+ icon: 'team',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_user_userManage_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
- path: '/userInfo/userManage',
|
|
|
- redirect: '/userInfo/userManageList/list',
|
|
|
- name: 'userManageS',
|
|
|
- component: RouteView,
|
|
|
+ path: '/userInfo/userManageList_user/detail/:id',
|
|
|
+ name: 'userManageDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "userManageDetail" */ '@/views/userInfo/userDetails.vue'),
|
|
|
meta: {
|
|
|
- title: '用户管理',
|
|
|
+ title: '用户详情',
|
|
|
icon: 'profile',
|
|
|
- permission: 'M_user_userManage_list'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [{
|
|
|
- path: '/userInfo/userManageList/list',
|
|
|
- name: 'userManageList',
|
|
|
- component: () => import(/* webpackChunkName: "userManageList" */ '@/views/userInfo/userManageList.vue'),
|
|
|
- meta: {
|
|
|
- title: '用户列表',
|
|
|
- icon: 'team',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_user_userManage_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/userInfo/userManageList_user/detail/:id',
|
|
|
- name: 'userManageDetail',
|
|
|
- component: () => import(/* webpackChunkName: "userManageDetail" */ '@/views/userInfo/userDetails.vue'),
|
|
|
- meta: {
|
|
|
- title: '用户详情',
|
|
|
- icon: 'profile',
|
|
|
- hidden: true,
|
|
|
- permission: 'B_user_userManage_userDetails'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/userInfo/userManageList_Ld/detail',
|
|
|
- name: 'ledouDetail',
|
|
|
- component: () => import(/* webpackChunkName: "LdDetails" */ '@/views/userInfo/LdDetails.vue'),
|
|
|
- meta: {
|
|
|
- title: '乐豆明细',
|
|
|
- icon: 'profile',
|
|
|
- hidden: true,
|
|
|
- permission: 'B_user_userManage_LdDetails'
|
|
|
- }
|
|
|
+ hidden: true,
|
|
|
+ permission: 'B_user_userManage_userDetails'
|
|
|
}
|
|
|
- ]
|
|
|
},
|
|
|
{
|
|
|
- path: '/userInfo/releaseRecord/list',
|
|
|
- name: 'releaseRecordList',
|
|
|
- component: () => import(/* webpackChunkName: "releaseRecord" */ '@/views/releaseRecord/releaseRecordList.vue'),
|
|
|
+ path: '/userInfo/userManageList_Ld/detail',
|
|
|
+ name: 'ledouDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "LdDetails" */ '@/views/userInfo/LdDetails.vue'),
|
|
|
meta: {
|
|
|
- title: '投放记录',
|
|
|
- icon: 'container',
|
|
|
- permission: 'M_user_releaseRecord'
|
|
|
+ title: '乐豆明细',
|
|
|
+ icon: 'profile',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'B_user_userManage_LdDetails'
|
|
|
}
|
|
|
}
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/userInfo/releaseRecord/list',
|
|
|
+ name: 'releaseRecordList',
|
|
|
+ component: () => import(/* webpackChunkName: "releaseRecord" */ '@/views/releaseRecord/releaseRecordList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '投放记录',
|
|
|
+ icon: 'container',
|
|
|
+ permission: 'M_user_releaseRecord'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // 报表
|
|
|
+ {
|
|
|
+ path: '/reportForm',
|
|
|
+ redirect: '/reportForm/rubbishDeliverySearchTime',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '报表',
|
|
|
+ icon: 'line-chart',
|
|
|
+ permission: 'M_reportForm'
|
|
|
+ },
|
|
|
+ children: [{
|
|
|
+ path: '/reportForm/rubbishDeliverySearchTime',
|
|
|
+ name: 'rubbishDeliverySearchTime',
|
|
|
+ component: () => import(/* webpackChunkName: "reportForm" */
|
|
|
+ '@/views/reportForm/rubbishDeliverySearchTime.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '垃圾投递分时查询表',
|
|
|
+ icon: 'file-done',
|
|
|
+ permission: 'M_rubbishSearchTime_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/reportForm/rubbishDeliveryTotal',
|
|
|
+ name: 'rubbishDeliveryTotal',
|
|
|
+ component: () => import(/* webpackChunkName: "reportForm" */ '@/views/reportForm/rubbishDeliveryTotal.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '垃圾投递汇总表',
|
|
|
+ icon: 'snippets',
|
|
|
+ permission: 'M_rubbishTotal_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -250,27 +312,26 @@ export const asyncRouterMap = [{
|
|
|
icon: 'gift',
|
|
|
permission: 'M_market'
|
|
|
},
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/market/winingRecord',
|
|
|
- name: 'winingRecord',
|
|
|
- component: () => import(/* webpackChunkName: "market" */ '@/views/market/winingRecord.vue'),
|
|
|
- meta: {
|
|
|
- title: '中奖记录',
|
|
|
- icon: 'file-done',
|
|
|
- permission: 'M_winingRecord'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/market/lotterySettings',
|
|
|
- name: 'lotterySettings',
|
|
|
- component: () => import(/* webpackChunkName: "market" */ '@/views/market/lotterySettings.vue'),
|
|
|
- meta: {
|
|
|
- title: '大转盘设置',
|
|
|
- icon: 'edit',
|
|
|
- permission: 'M_lottery_list'
|
|
|
- }
|
|
|
+ children: [{
|
|
|
+ path: '/market/winingRecord',
|
|
|
+ name: 'winingRecord',
|
|
|
+ component: () => import(/* webpackChunkName: "market" */ '@/views/market/winingRecord.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '中奖记录',
|
|
|
+ icon: 'file-done',
|
|
|
+ permission: 'M_winingRecord'
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/market/lotterySettings',
|
|
|
+ name: 'lotterySettings',
|
|
|
+ component: () => import(/* webpackChunkName: "market" */ '@/views/market/lotterySettings.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '大转盘设置',
|
|
|
+ icon: 'edit',
|
|
|
+ permission: 'M_lottery_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -282,18 +343,16 @@ export const asyncRouterMap = [{
|
|
|
icon: 'appstore',
|
|
|
permission: 'M_AdBanner_list'
|
|
|
},
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/shopSetting/bannerSetting',
|
|
|
- name: 'bannerSetting',
|
|
|
- component: () => import(/* webpackChunkName: "shopSetting" */ '@/views/shop/bannerSetting.vue'),
|
|
|
- meta: {
|
|
|
- title: '推广位设置',
|
|
|
- icon: 'picture',
|
|
|
- permission: 'M_AdBanner_list'
|
|
|
- }
|
|
|
+ children: [{
|
|
|
+ path: '/shopSetting/bannerSetting',
|
|
|
+ name: 'bannerSetting',
|
|
|
+ component: () => import(/* webpackChunkName: "shopSetting" */ '@/views/shop/bannerSetting.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '推广位设置',
|
|
|
+ icon: 'picture',
|
|
|
+ permission: 'M_AdBanner_list'
|
|
|
}
|
|
|
- ]
|
|
|
+ }]
|
|
|
},
|
|
|
{
|
|
|
path: '/equipmentManage',
|
|
@@ -307,7 +366,8 @@ export const asyncRouterMap = [{
|
|
|
children: [{
|
|
|
path: '/equipmentManage/network',
|
|
|
name: 'network',
|
|
|
- component: () => import(/* webpackChunkName: "equipmentManage" */ '@/views/equipmentManage/network/network.vue'),
|
|
|
+ component: () => import(/* webpackChunkName: "equipmentManage" */
|
|
|
+ '@/views/equipmentManage/network/network.vue'),
|
|
|
meta: {
|
|
|
title: '网点管理',
|
|
|
icon: 'cluster',
|
|
@@ -317,7 +377,8 @@ export const asyncRouterMap = [{
|
|
|
{
|
|
|
path: '/equipmentManage/equipment',
|
|
|
name: 'equipment',
|
|
|
- component: () => import(/* webpackChunkName: "equipmentManage" */ '@/views/equipmentManage/equipment/equipment.vue'),
|
|
|
+ component: () => import(/* webpackChunkName: "equipmentManage" */
|
|
|
+ '@/views/equipmentManage/equipment/equipment.vue'),
|
|
|
meta: {
|
|
|
title: '设备管理',
|
|
|
icon: 'usb',
|
|
@@ -327,7 +388,8 @@ export const asyncRouterMap = [{
|
|
|
{
|
|
|
path: '/equipmentManage/boxSetting',
|
|
|
name: 'boxSetting',
|
|
|
- component: () => import(/* webpackChunkName: "equipmentManage" */ '@/views/equipmentManage/boxSetting/boxSetting.vue'),
|
|
|
+ component: () => import(/* webpackChunkName: "equipmentManage" */
|
|
|
+ '@/views/equipmentManage/boxSetting/boxSetting.vue'),
|
|
|
meta: {
|
|
|
title: '箱体类型设置',
|
|
|
icon: 'block',
|
|
@@ -348,7 +410,8 @@ export const asyncRouterMap = [{
|
|
|
{
|
|
|
path: '/equipmentManage/openTimeSetting',
|
|
|
name: 'openTimeSetting',
|
|
|
- component: () => import(/* webpackChunkName: "equipmentManage" */ '@/views/equipmentManage/openTimeSetting/OpenTimeSetting.vue'),
|
|
|
+ component: () => import(/* webpackChunkName: "equipmentManage" */
|
|
|
+ '@/views/equipmentManage/openTimeSetting/OpenTimeSetting.vue'),
|
|
|
meta: {
|
|
|
title: '投放时间设置',
|
|
|
icon: 'dashboard',
|
|
@@ -366,37 +429,39 @@ export const asyncRouterMap = [{
|
|
|
icon: 'bank',
|
|
|
permission: 'M_businessManage'
|
|
|
},
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/businessManage/partnerManage',
|
|
|
- name: 'partnerManage',
|
|
|
- component: () => import(/* webpackChunkName: "businessManage" */ '@/views/businessManage/partnerManage/partnerManage.vue'),
|
|
|
- meta: {
|
|
|
- title: '商户管理',
|
|
|
- icon: 'solution',
|
|
|
- permission: 'M_partnerManage_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/businessManage/userManage',
|
|
|
- name: 'userManage',
|
|
|
- component: () => import(/* webpackChunkName: "businessManage" */ '@/views/businessManage/userManage/userManage.vue'),
|
|
|
- meta: {
|
|
|
- title: '用户管理',
|
|
|
- icon: 'folder',
|
|
|
- permission: 'M_userManage_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/businessManage/leduQuery',
|
|
|
- name: 'leduQuery',
|
|
|
- component: () => import(/* webpackChunkName: "businessManage" */ '@/views/businessManage/leduQuery/leduQuery.vue'),
|
|
|
- meta: {
|
|
|
- title: '商户乐豆统计',
|
|
|
- icon: 'search',
|
|
|
- permission: 'M_ledouTjList'
|
|
|
- }
|
|
|
+ children: [{
|
|
|
+ path: '/businessManage/partnerManage',
|
|
|
+ name: 'partnerManage',
|
|
|
+ component: () => import(/* webpackChunkName: "businessManage" */
|
|
|
+ '@/views/businessManage/partnerManage/partnerManage.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '商户管理',
|
|
|
+ icon: 'solution',
|
|
|
+ permission: 'M_partnerManage_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/businessManage/userManage',
|
|
|
+ name: 'userManage',
|
|
|
+ component: () => import(/* webpackChunkName: "businessManage" */
|
|
|
+ '@/views/businessManage/userManage/userManage.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ icon: 'folder',
|
|
|
+ permission: 'M_userManage_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/businessManage/leduQuery',
|
|
|
+ name: 'leduQuery',
|
|
|
+ component: () => import(/* webpackChunkName: "businessManage" */
|
|
|
+ '@/views/businessManage/leduQuery/leduQuery.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '商户乐豆统计',
|
|
|
+ icon: 'search',
|
|
|
+ permission: 'M_ledouTjList'
|
|
|
}
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -408,18 +473,16 @@ export const asyncRouterMap = [{
|
|
|
icon: 'user-add',
|
|
|
permission: 'M_supplier_list'
|
|
|
},
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/supplier/list',
|
|
|
- name: 'supplier',
|
|
|
- component: () => import(/* webpackChunkName: "supplier" */ '@/views/shopSetting/supplier.vue'),
|
|
|
- meta: {
|
|
|
- title: '供货商管理',
|
|
|
- icon: 'solution',
|
|
|
- permission: 'M_supplier_list'
|
|
|
- }
|
|
|
+ children: [{
|
|
|
+ path: '/supplier/list',
|
|
|
+ name: 'supplier',
|
|
|
+ component: () => import(/* webpackChunkName: "supplier" */ '@/views/shopSetting/supplier.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '供货商管理',
|
|
|
+ icon: 'solution',
|
|
|
+ permission: 'M_supplier_list'
|
|
|
}
|
|
|
- ]
|
|
|
+ }]
|
|
|
},
|
|
|
// auth
|
|
|
{
|
|
@@ -431,37 +494,36 @@ export const asyncRouterMap = [{
|
|
|
icon: 'lock',
|
|
|
permission: 'M_auth_0'
|
|
|
},
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/auth/userList',
|
|
|
- name: 'powerUserList',
|
|
|
- component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
|
|
|
- meta: {
|
|
|
- title: '用户管理',
|
|
|
- icon: 'user',
|
|
|
- permission: 'M_power_user_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/auth/roleList',
|
|
|
- name: 'powerRoleList',
|
|
|
- component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
|
|
|
- meta: {
|
|
|
- title: '角色管理',
|
|
|
- icon: 'solution',
|
|
|
- permission: 'M_power_role_list'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/menusAuth/menu',
|
|
|
- name: 'powerMenu',
|
|
|
- component: () => import(/* webpackChunkName: "auth" */ '@/views/power/menu/menu.vue'),
|
|
|
- meta: {
|
|
|
- title: '菜单管理',
|
|
|
- icon: 'profile',
|
|
|
- permission: 'M_power_menu_list'
|
|
|
- }
|
|
|
+ children: [{
|
|
|
+ path: '/auth/userList',
|
|
|
+ name: 'powerUserList',
|
|
|
+ component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ icon: 'user',
|
|
|
+ permission: 'M_power_user_list'
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/auth/roleList',
|
|
|
+ name: 'powerRoleList',
|
|
|
+ component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '角色管理',
|
|
|
+ icon: 'solution',
|
|
|
+ permission: 'M_power_role_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/menusAuth/menu',
|
|
|
+ name: 'powerMenu',
|
|
|
+ component: () => import(/* webpackChunkName: "auth" */ '@/views/power/menu/menu.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '菜单管理',
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_power_menu_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|