34 lines
703 B
JavaScript
34 lines
703 B
JavaScript
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
|
|
Vue.use(Router)
|
|
|
|
export default new Router({
|
|
mode:'hash',
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
name: 'index',
|
|
component: () => import('../views')
|
|
},
|
|
// 选择项目页面
|
|
{
|
|
path: '/project-select',
|
|
name: 'projectSelect',
|
|
component: () => import('../views/project')
|
|
},
|
|
// 评估结果页面
|
|
{
|
|
path: '/report/compensate',
|
|
name: 'reportCompensate',
|
|
component: () => import('../views/report/compensate')
|
|
},
|
|
// 协议结果页面
|
|
{
|
|
path: '/report/agreement',
|
|
name: 'reportAgreement',
|
|
component: () => import('../views/report/agreement')
|
|
},
|
|
]
|
|
})
|