|
@@ -3251,104 +3251,6 @@ export const asyncRouterMap = [
|
|
|
permission: 'M_promotionRulesManagement'
|
|
|
},
|
|
|
children: [
|
|
|
- {
|
|
|
- path: '/promotionRulesManagement/promotionRules',
|
|
|
- redirect: '/promotionRulesManagement/promotionRules/list',
|
|
|
- name: 'promotionRules',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '促销规则管理',
|
|
|
- icon: 'thunderbolt',
|
|
|
- permission: 'M_promotionRulesList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'promotionRulesManagementList',
|
|
|
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '促销规则列表',
|
|
|
- icon: 'thunderbolt',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_promotionRulesList'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'detail/:id/:sn',
|
|
|
- name: 'promotionRulesManagementDetail',
|
|
|
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/detail.vue'),
|
|
|
- meta: {
|
|
|
- title: '促销规则详情',
|
|
|
- icon: 'thunderbolt',
|
|
|
- hidden: true
|
|
|
- // permission: 'B_goodsManage_edit'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'rule/:id/:sn',
|
|
|
- name: 'promotionRulesManagementRule',
|
|
|
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/rule.vue'),
|
|
|
- meta: {
|
|
|
- title: '促销规则设置',
|
|
|
- icon: 'thunderbolt',
|
|
|
- replaceTab: true,
|
|
|
- hidden: true
|
|
|
- // permission: 'B_goodsManage_edit'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/promotionRulesManagement/orderStatistics',
|
|
|
- redirect: '/promotionRulesManagement/orderStatistics/list',
|
|
|
- name: 'orderStatistics',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '促销订单统计',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_orderStatisticsList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'orderStatisticsList',
|
|
|
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/orderStatistics/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '订单统计列表',
|
|
|
- icon: 'contacts',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_orderStatisticsList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/promotionRulesManagement/productStatistics',
|
|
|
- redirect: '/promotionRulesManagement/productStatistics/list',
|
|
|
- name: 'productStatistics',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '促销产品统计',
|
|
|
- icon: 'file-ppt',
|
|
|
- permission: 'M_productStatisticsList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'productStatisticsList',
|
|
|
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/productStatistics/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '产品统计列表',
|
|
|
- icon: 'file-ppt',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_productStatisticsList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
{
|
|
|
path: '/promotionRulesManagement/promotionManagement',
|
|
|
redirect: '/promotionRulesManagement/promotionManagement/list',
|
|
@@ -3366,7 +3268,7 @@ export const asyncRouterMap = [
|
|
|
name: 'promotionManagementList',
|
|
|
component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
|
|
|
meta: {
|
|
|
- title: '促销列表',
|
|
|
+ title: '修理厂促销列表',
|
|
|
icon: 'file-ppt',
|
|
|
hidden: true,
|
|
|
permission: 'M_promotionManagementList'
|
|
@@ -3381,8 +3283,8 @@ export const asyncRouterMap = [
|
|
|
component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '经销商促销',
|
|
|
- icon: 'setting'
|
|
|
- // permission: 'M_dealerPromotionManagementList'
|
|
|
+ icon: 'setting',
|
|
|
+ permission: 'M_dealerPromotionManagementList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -3393,8 +3295,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '经销商促销',
|
|
|
icon: 'setting',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_dealerPromotionManagementList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_dealerPromotionManagementList'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -3405,7 +3307,6 @@ export const asyncRouterMap = [
|
|
|
title: '促销活动详情',
|
|
|
icon: 'thunderbolt',
|
|
|
hidden: true
|
|
|
- // permission: 'B_goodsManage_edit'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -3417,7 +3318,6 @@ export const asyncRouterMap = [
|
|
|
icon: 'thunderbolt',
|
|
|
replaceTab: true,
|
|
|
hidden: true
|
|
|
- // permission: 'B_goodsManage_edit'
|
|
|
}
|
|
|
}
|
|
|
]
|