Files
ebiz-h5/src/router/ebiz/goodStart.js
liu.xiaofeng@ebiz-digits.com 2be815d1bd 一月修改为旺季
2024-02-01 10:31:22 +08:00

84 lines
1.9 KiB
JavaScript

// 开门红业绩排名
const PerformanceReport = () => import('@/views/ebiz/goodStart/PerformanceReport')
// 开门红专区
const Prefecture = () => import('@/views/ebiz/goodStart/Prefecture')
const Treasure = () => import('@/views/ebiz/goodStart/Treasure')
const TreasureDetail = () => import('@/views/ebiz/goodStart/TreasureDetail')
const GoodStartScheme = () => import('@/views/ebiz/goodStart/GoodStartScheme')
const businessMap = () => import('@/views/ebiz/goodStart/BusinessMap')
const issueList = () => import('@/views/ebiz/goodStart/IssueList')
const newsPaper = () => import('@/views/ebiz/goodStart/NewsPaper')
const spreadParams = function(route) {
const params = {}
for (let key in route.query) {
params[key] = route.query[key]
}
return params
}
export default [
{
path: '/goodStart/performanceReport',
name: 'Prefecture',
component: PerformanceReport,
meta: {
title: '旺季业绩查询'
}
},
{
path: '/goodStart/prefecture',
name: 'Prefecture',
component: Prefecture,
meta: {
title: '旺季专区'
}
},
{
path: '/goodStart/treasure',
name: 'Treasure',
component: Treasure,
meta: {
title: '百宝箱'
}
},
{
path: '/goodStart/treasureDetail',
name: 'TreasureDetail',
component: TreasureDetail,
props: route => spreadParams(route)
},
{
path: '/goodStart/goodStartScheme',
name: 'GoodStartScheme',
component: GoodStartScheme,
meta: {
title: '旺季方案'
}
},
{
path: '/goodStart/businessMap',
name: 'businessMap',
component: businessMap,
meta: {
title: '旺季业务地图'
}
},
{
path: '/goodStart/issueList',
name: 'issueList',
component: issueList,
meta: {
title: '个人出单榜'
}
},
{
path: '/goodStart/newsPaper',
name: 'newsPaper',
component: newsPaper,
meta: {
title: '旺季实时贺报'
}
}
]