You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.9 KiB
JavaScript
74 lines
1.9 KiB
JavaScript
import {
|
|
createRouter,
|
|
createWebHashHistory
|
|
} from 'vue-router'
|
|
|
|
const router = createRouter({
|
|
history: createWebHashHistory(import.meta.env.BASE_URL),
|
|
routes: [{
|
|
path: '/',
|
|
name: 'login1',
|
|
// route level code-splitting
|
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
// which is lazy-loaded when the route is visited.
|
|
component: () => import('../views/Login.vue')
|
|
},{
|
|
path: '/applogin',
|
|
name: 'applogin',
|
|
component: () => import('../views/AppLogin.vue')
|
|
},{
|
|
path: '/login',
|
|
name: 'login',
|
|
component: () => import('../views/Login.vue')
|
|
},{
|
|
path: '/getWxCode/:code',
|
|
name: 'getWxCode',
|
|
component: () => import('../views/GetWxCode.vue')
|
|
},{
|
|
path: '/register',
|
|
name: 'Register',
|
|
component: () => import('../views/register.vue')
|
|
},{
|
|
path: '/selectOrganization',
|
|
name: 'SelectOrganization',
|
|
component: () => import('../views/SelectOrganization.vue')
|
|
},{
|
|
path: '/documentSubmit',
|
|
name: 'DocumentSubmit',
|
|
component: () => import('../views/SelectIndustry.vue')
|
|
},{
|
|
path: '/selectDate',
|
|
name: 'SelectDate',
|
|
component: () => import('../views/SelectDate.vue')
|
|
},{
|
|
path: '/yuYueSuccess',
|
|
name: 'YuYueSuccess',
|
|
component: () => import('../views/YuYueSuccess.vue')
|
|
},{
|
|
path: '/showReport',
|
|
name: 'ShowReport',
|
|
component: () => import('../views/ShowReport.vue')
|
|
},{
|
|
path: '/healthCertificate',
|
|
name: 'HealthCertificate',
|
|
component: () => import('../views/HealthCertificate.vue')
|
|
},{
|
|
path: '/uploadFiles',
|
|
name: 'UploadFiles',
|
|
component: () => import('../views/UploadFiles.vue')
|
|
},{
|
|
path: '/uploadFilesNoApp',
|
|
name: 'UploadFilesNoApp',
|
|
component: () => import('../views/UploadFilesNoApp.vue')
|
|
},{
|
|
path: '/previewReport',
|
|
name: 'PreviewReport',
|
|
component: () => import('../views/PreviewReport.vue')
|
|
},{
|
|
path: '/personReportLogin',
|
|
name: 'PersonReportLogin',
|
|
component: () => import('../views/PersonReportLogin.vue')
|
|
}]
|
|
})
|
|
|
|
export default router |