mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 07:12:53 +08:00
54 lines
1.3 KiB
JavaScript
54 lines
1.3 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 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
|
|
}
|
|
]
|