|
|
|
|
|
|
|
|
import Cookies from 'js-cookie' |
|
|
import Cookies from 'js-cookie' |
|
|
|
|
|
|
|
|
const routes: RouteRecordRaw[] = [ |
|
|
const routes: RouteRecordRaw[] = [ |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
path: '/', |
|
|
path: '/', |
|
|
name: 'Login', |
|
|
name: 'Login', |
|
|
|
|
|
|
|
|
components: { |
|
|
components: { |
|
|
key: () => import('@/views/system/menu/index.vue'), |
|
|
key: () => import('@/views/system/menu/index.vue'), |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
path: '/views/dengmingcong/index', |
|
|
path: '/views/dengmingcong/index', |
|
|
name: 'home1', |
|
|
name: 'home1', |
|
|
|
|
|
|
|
|
components: { |
|
|
components: { |
|
|
key: () => import('@/views/fancongcong/corporateaccountManage/corporateaccountManage.vue'), |
|
|
key: () => import('@/views/fancongcong/corporateaccountManage/corporateaccountManage.vue'), |
|
|
}, |
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
path: '/views/shengbo/blacklistQuery/blacklistQuery', |
|
|
|
|
|
name: 'blacklistQuery', |
|
|
|
|
|
meta: { title: '菜单模块', isAuth: true }, //黑名单查询服务 |
|
|
|
|
|
components: { |
|
|
|
|
|
key: () => import('@/views/shengbo/blacklistQuery/blacklistQuery.vue'), |
|
|
|
|
|
}, |
|
|
|
|
|
}, { |
|
|
|
|
|
path: '/views/shengbo/trafficFlow/trafficFlow', |
|
|
|
|
|
name: 'trafficFlow', |
|
|
|
|
|
meta: { title: '菜单模块', isAuth: true }, //通行流水查询服务 |
|
|
|
|
|
components: { |
|
|
|
|
|
key: () => import('@/views/shengbo/trafficFlow/trafficFlow.vue'), |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
} |
|
|
} |
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
const router = createRouter({ |
|
|
const router = createRouter({ |
|
|
history: createWebHashHistory(), //createWebHistory createWebHashHistory(带#号) 路由模式 |
|
|
history: createWebHashHistory(), //createWebHistory createWebHashHistory(带#号) 路由模式 |