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
import { createRouter, createWebHashHistory } from 'vue-router'
 
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/layout',
      name: 'home',
      meta: { title: '首页' },
      component: () => import('@/components/layout/AppLayout.vue'),
      children: [
        // 数据分险模型
        {
          path: '/avgDay',
          name: 'avgDay',
          meta: { title: '数据分险模型', keepAlive: true },
          component: () => import('@/views/risk_assessment/DataRiskModel.vue')
        },
 
        //  数据指标排名
        {
          path: '/analysis',
          name: 'analysis',
          meta: { title: '数据指标排名', keepAlive: true },
          component: () => import('@/views/risk_assessment/DataIndexRank.vue')
        },
 
        //  数据风险排名
        {
          path: '/riskrank',
          name: 'riskrank',
          meta: { title: '数据风险排名', keepAlive: true },
          component: () => import('@/views/risk_assessment/DataRiskRank.vue')
        },
 
        // 飞行巡检
        {
          path: '/edata',
          name: 'edata',
          meta: { title: '飞行巡检', keepAlive: true },
          component: () => import('@/views/exception/FlightInspection.vue')
        },
 
        //  站点审核辅助
        {
          path: '/testData',
          name: 'testData',
          meta: { title: '站点审核辅助', keepAlive: true },
          component: () => import('@/views/exception/SiteAuditAssistance.vue')
        },
 
        {
          path: '/hdata',
          name: 'hdata',
          meta: { title: '历史数据管理', keepAlive: true },
          component: () => import('@/views/data_management/HistoryData.vue')
        },
        //  数据接入管理
        {
          path: '/management',
          name: 'management',
          meta: { title: '数据接入管理' },
          component: () => import('@/views/data_management/DataAccessManagement.vue')
        },
 
        //  参数配置
        {
          path: '/config',
          name: 'config',
          meta: { title: '参数配置' },
          component: () => import('@/views/data_management/ParameterConfiguration.vue')
        },
 
        //  数据接入配置
        {
          path: '/setting',
          name: 'setting',
          meta: { title: '数据接入配置' },
          component: () => import('@/views/setting/SetConfiguration.vue')
        },
 
        // 风险模型嵌入
        {
          path: '/subRiskModel',
          name: 'subRiskModel',
          meta: { title: '风险模型嵌入' },
          component: () => import('@/views/risk_assessment/components/SubRiskModel.vue')
        },
        
        
        // 审核辅助嵌入过渡页面
        {
          path: '/AuditDetail/:beginTime/:endTime/:exceptionType',
          name: 'siteAuditDetail',
          meta: { title: '异常审核具体信息', transition: 'slide-left' },
          component: () => import('@/views/exception/components/exceptionDetail.vue')
        },
 
        // 审核辅助嵌入
        {
          path: '/SubSiteAudit',
          name: 'SubSiteAudit',
          meta: { title: '审核辅助嵌入' },
          component: () => import('@/views/exception/components/SubSiteAudit.vue')
        },
 
        // 异常详情嵌入过渡页面
        {
          path: '/exceptionDetail/:siteName/:time/:timeType/:jumpPage',
          name: 'exceptionDetail',
          meta: { title: '异常具体信息', transition: 'slide-left' },
          component: () => import('@/views/risk_assessment/components/SiteDetail.vue')
        },
 
        // 异常详情嵌入
        {
          path: '/CompFlightInspection',
          name: 'CompFlightInspection',
          meta: { title: '异常详情嵌入' },
          component: () => import('@/views/exception/components/CompFlightInspection.vue')
        }
      ]
    },
 
    // 登陆页面
    {
      path: '/login',
      name: 'login',
      component: () => import('@/views/login/LoginSystem.vue')
    },
    {
      path: '/',
      redirect: '/edata'
    }
  ]
})
 
export default router