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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
| import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'
|
| const router = createRouter({
| // history: createWebHistory(import.meta.env.BASE_URL),
| history: createWebHashHistory(),
| routes: [
| {
| path: '/',
| redirect: '/login',
| },
| {
| path: '/login',
| name: 'login',
| component: () => import('@/views/LoginPage.vue'),
| },
| {
| path: '/index',
| name: 'index',
| component: () => import('@/views/HomePage.vue'),
| children: [
| {
| name: 'monitor',
| path: 'monitor',
| children: [
| {
| name: 'data-dashboard',
| path: 'data-dashboard',
| meta: { keepAlive: true },
| component: () => import('@/views/monitor/DataDashboard.vue'),
| },
| {
| name: 'data-exception',
| path: 'data-exception',
| component: () => import('@/views/monitor/DataException.vue'),
| },
| {
| name: 'data-analysis-all',
| path: 'data-analysis-all',
| component: () => import('@/views/monitor/DataAnalysisAll.vue'),
| },
| {
| name: 'data-analysis-concentration',
| path: 'data-analysis-concentration',
| component: () => import('@/views/monitor/DataAnalysisConcentration.vue'),
| },
| {
| name: 'data-analysis-online-rate',
| path: 'data-analysis-online-rate',
| component: () => import('@/views/monitor/DataAnalysisOnlineRate.vue'),
| },
| {
| name: 'data-analysis-open-rate',
| path: 'data-analysis-open-rate',
| component: () => import('@/views/monitor/DataAnalysisOpenRate.vue'),
| },
| {
| name: 'data-analysis-over-standard-rate',
| path: 'data-analysis-over-standard-rate',
| component: () => import('@/views/monitor/DataAnalysisOverStandardRate.vue'),
| },
| {
| name: 'data-history',
| path: 'data-history',
| component: () => import('@/views/monitor/DataHistory.vue'),
| },
| ],
| },
| {
| name: 'inspection',
| path: 'inspection',
| children: [
| {
| name: 'task-manage',
| path: 'task-manage',
| component: () => import('@/views/inspection/task/TaskManage.vue'),
| },
| {
| name: 'monitorObjEdit',
| path: 'monitorObjEdit',
| component: () => import('@/views/inspection/task/MonitorObjEdit.vue'),
| },
| {
| name: 'monitorPlanEdit',
| path: 'monitorPlanEdit',
| component: () => import('@/views/inspection/task/MonitorPlanEdit.vue'),
| },
| {
| name: 'scene-info',
| path: 'scene-info',
| component: () => import('@/views/inspection/scenenew/UserInfo.vue'),
| },
| {
| //账户编辑
| name: 'scene-info-edit',
| path: 'scene-info-edit/:userId',
| component: () => import('@/views/inspection/scenenew/UserEdit.vue'),
| },
| {
| name: 'pro-check',
| path: 'pro-check',
| component: () => import('@/views/inspection/check/ProCheck.vue'),
| },
| {
| name: 'report-manage',
| path: 'report-manage',
| component: () => import('@/views/inspection/report/ReportManage.vue'),
| },
| {
| name: 'monitor-control',
| path: 'monitor-control',
| component: () => import('@/views/inspection/MonitorControl.vue'),
| },
| ],
| },
| {
| name: 'analysis',
| path: 'analysis',
| children: [
| {
| name: 'auto-evalution',
| path: 'auto-evalution',
| component: () => import('@/views/analysis/evalution/EvalutationTask.vue'),
| },
| {
| name: 'huanxincode-manage',
| path: 'huanxincode-manage',
| component: () => import('@/views/analysis/huanxincode/HuanxinCodeManage.vue'),
| },
| {
| name: 'data-product',
| path: 'data-product',
| component: () => import('@/views/analysis/DataProduct.vue'),
| },
| ],
| },
| {
| name: 'system',
| path: 'system',
| children: [
| {
| name: 'system-manage',
| path: 'system-manage',
| component: () => import('@/views/system/SystemManage.vue'),
| },
| ],
| },
| ],
| },
| ],
| })
|
| export default router
|
|