1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
| import { createRouter, createWebHistory } from 'vue-router'
|
|
| const router = createRouter({
| history: createWebHistory(import.meta.env.BASE_URL),
| routes: [
| {
| path: '/layout',
| name: 'home',
| component: () => import('@/components/layout/AppLayout.vue'),
| children: [
| // 数据分险模型
| {
| path:"/avgDay",
| name:'avgDay',
| component: () => import('@/views/line_graph/dayMonthAvgData.vue')
| },
|
|
| // 数据风险排名
| {
| path:"/analysis",
| name:'analysis',
| component: () => import('@/views/line_graph/analysisData.vue')
| },
|
| // 历史数据管理
| {
| path:"/hdata",
| name:'hdata',
| component: () => import('@/views/origin_data/TableData.vue')
| },
|
| // 飞行巡检
| {
| path:"/edata",
| name:'edata',
| component: () => import('@/views/exception/ExceptionData.vue')
| },
|
| // 异常测试
| {
| path:"/testdata",
| name:'testdata',
| component: () => import('@/views/exception/ExceptionTest.vue')
| },
|
| // 数据接入配置
| {
| path:"/setting",
| name:'setting',
| component: () => import('@/views/setting/SetConfiguration.vue')
| },
| ],
| },
| // 登陆页面
| {
| path:"/login",
| name:'fst',
| component: () => import('@/views/login/LoginSystem.vue')
|
| },
| {
| path: '/',
| redirect:'/hdata'
| },
| ]
| })
|
| export default router
|
|