数字督察一体化平台-前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

116 lines
3.1 KiB

import type { RouteRecordRaw } from 'vue-router'
import { PageEnum } from '@/enums/pageEnum'
import Layout from '@/layout/Index.vue'
export const LAYOUT = () => Promise.resolve(Layout)
export const routes = [
{
path: '/',
redirect: '/home'
},
{
path: '/login',
component: () => import('@/views/Login.vue'),
},
{
path: '/support',
component: () => import('@/views/Support.vue'),
},
{
path: '/datav/global',
component: () => import('@/views/datav/Global.vue'),
},
{
path: '/datav/videoInsp',
component: () => import('@/views/datav/VideoInsp.vue'),
},
{
path: '/datav/sceneInsp',
component: () => import('@/views/datav/SceneInsp.vue'),
},
{
path: '/datav/caseVerif',
component: () => import('@/views/datav/CaseVerif.vue'),
},
{
path: '/datav/mailVisits',
component: () => import('@/views/datav/MailVisits.vue'),
},
{
path: '/datav/caseVerif',
component: () => import('@/views/datav/CaseVerif.vue'),
},
{
path: '/datav/rightsComfort',
component: () => import('@/views/datav/RightsComfort.vue'),
},
{
path: '/datav/auditSuper',
component: () => import('@/views/datav/AuditSuper.vue'),
},
{
path: '/datav/jwpy',
component: () => import('@/views/datav/Jwpy.vue'),
/* beforeEnter: (to, from, next) => {
window.open('www.baidu.com', '_blank');
next(false); // 阻止路由的正常内部跳转
}*/
},
{
path: '/datav/lmgz',
component: () => import('@/views/datav/Lmgz.vue'),
},
{
path: '/datav/sub2',
component: () => import('@/views/datav/Sub2.vue'),
},
{
path: '/401',
component: () => import('@/views/error/401.vue'),
},
{
path: '/datav/subOneGlobal',
component: () => import('@/views/datav/subonedatav/SubOneGlobal.vue'),
},
{
path: '/datav/subOneVideoInsp',
component: () => import('@/views/datav/subonedatav/SubOneVideoInsp.vue'),
},
{
path: '/datav/subOneSceneInsp',
component: () => import('@/views/datav/subonedatav/SubOneSceneInsp.vue'),
},
{
path: '/datav/subOneCaseVerif',
component: () => import('@/views/datav/subonedatav/SubOneCaseVerif.vue'),
},
{
path: '/datav/subOneMailVisits',
component: () => import('@/views/datav/subonedatav/SubOneMailVisits.vue'),
},
{
path:'/datav/subOneJwpy',
component:()=>import('@/views/datav/subonedatav/SubOneJwpy.vue')
},
{
path: '/datav/subOneRightsComfort',
component: () => import('@/views/datav/subonedatav/SubOneRightsComfort.vue'),
},
{
path: '/system/Operating',
component: () => import('@/views/system/Operating.vue'),
},
];
export const INDEX_ROUTE_NAME = Symbol()
export const INDEX_ROUTE: RouteRecordRaw = {
path: '/layout',
component: LAYOUT,
name: INDEX_ROUTE_NAME
}