|
@@ -379,6 +379,96 @@ export const constantRoutes = [{
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+
|
|
|
+{
|
|
|
+ path: '/onlineProblem',
|
|
|
+ name: '线上问题',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/onlineProblem/problemList',
|
|
|
+ meta: { title: '线上问题', icon: '质量度量' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'problemList',
|
|
|
+ name: '线上问题',
|
|
|
+ component: () =>
|
|
|
+ import('@/views/onlineProblem/problemList.vue'),
|
|
|
+ meta: { title: '线上问题' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+},
|
|
|
+
|
|
|
+{
|
|
|
+ path: '/quality',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/quality/qualityMeasurement',
|
|
|
+ name: '统计分析',
|
|
|
+ meta: { title: '统计分析', icon: '质量度量' },
|
|
|
+ children: [{
|
|
|
+ path: 'qualityMeasurement',
|
|
|
+ name: '质量大盘',
|
|
|
+ component: () =>
|
|
|
+ import('@/views/quality/qualityMeasurement.vue'),
|
|
|
+ meta: { title: '统计分析' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'qualityProcess',
|
|
|
+ name: '上线过程',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/quality/qualityProcess.vue'),
|
|
|
+ meta: { title: '上线过程' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'qualityDefectProcess',
|
|
|
+ name: '缺陷过程',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/quality/qualityDefectProcess.vue'),
|
|
|
+ meta: { title: '缺陷过程' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'qualityHotpatchProcess',
|
|
|
+ name: '热修复过程',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/quality/qualityHotpatchProcess.vue'),
|
|
|
+ meta: { title: '热修复过程' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'problemList',
|
|
|
+ name: '线上问题',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/onlineProblem/problemList.vue'),
|
|
|
+ meta: { title: '线上问题' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/Platform/defectManagement/problemCreate',
|
|
|
+ name: '新建线上问题',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/onlineProblem/problemCreate'),
|
|
|
+ meta: { title: '新建线上问题' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/Platform/defectManagement/problemQuery',
|
|
|
+ name: '查看线上问题',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/onlineProblem/problemQuery'),
|
|
|
+ meta: { title: '查看线上问题' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/Platform/defectManagement/problemUpdate',
|
|
|
+ name: '更新线上问题',
|
|
|
+ hidden: true,
|
|
|
+ component: () =>
|
|
|
+ import('@/views/onlineProblem/problemUpdate'),
|
|
|
+ meta: { title: '更新线上问题' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+},
|
|
|
+
|
|
|
{
|
|
|
path: '/views',
|
|
|
component: Layout,
|
|
@@ -491,128 +581,12 @@ export const constantRoutes = [{
|
|
|
meta: { title: '新增电单车' }
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/data',
|
|
|
- component: () =>
|
|
|
- import('@/views/Platform/presentation/testa'),
|
|
|
- redirect: '/data/upload-file',
|
|
|
- name: '数据构造',
|
|
|
- meta: { title: '数据构造' },
|
|
|
- children: [{
|
|
|
- path: 'upload-file',
|
|
|
- name: 'jar包管理',
|
|
|
- component: () =>
|
|
|
- import('@/views/data/upload.vue'),
|
|
|
- meta: { title: 'jar包管理' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'item',
|
|
|
- name: '动态数据',
|
|
|
- component: () =>
|
|
|
- import('@/views/data/index.vue'),
|
|
|
- meta: { title: '动态数据' }
|
|
|
- }
|
|
|
- ]
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
-// {
|
|
|
-// path: '/data',
|
|
|
-// component: Layout,
|
|
|
-// redirect: '/data/upload-file',
|
|
|
-// name: '数据构造',
|
|
|
-// meta: { title: '数据构造', icon: 'examlpe' },
|
|
|
-// children: [{
|
|
|
-// path: 'upload-file',
|
|
|
-// name: 'jar包管理',
|
|
|
-// component: () =>
|
|
|
-// import('@/views/data/upload.vue'),
|
|
|
-// meta: { title: 'jar包管理' }
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'item',
|
|
|
-// name: '动态数据',
|
|
|
-// component: () =>
|
|
|
-// import('@/views/data/index.vue'),
|
|
|
-// meta: { title: '动态数据' }
|
|
|
-// }
|
|
|
-// ]
|
|
|
-// },
|
|
|
|
|
|
{ path: '*', redirect: '/404', hidden: true },
|
|
|
|
|
|
-{
|
|
|
- path: '/quality',
|
|
|
- component: Layout,
|
|
|
- redirect: '/quality/qualityMeasurement',
|
|
|
- name: '质量度量',
|
|
|
- meta: { title: '质量度量', icon: '质量度量' },
|
|
|
- children: [{
|
|
|
- path: 'qualityMeasurement',
|
|
|
- name: '质量大盘',
|
|
|
- component: () =>
|
|
|
- import('@/views/quality/qualityMeasurement.vue'),
|
|
|
- meta: { title: '质量大盘' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'qualityProcess',
|
|
|
- name: '上线过程',
|
|
|
- hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/quality/qualityProcess.vue'),
|
|
|
- meta: { title: '上线过程' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'qualityDefectProcess',
|
|
|
- name: '缺陷过程',
|
|
|
- hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/quality/qualityDefectProcess.vue'),
|
|
|
- meta: { title: '缺陷过程' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'qualityHotpatchProcess',
|
|
|
- name: '热修复过程',
|
|
|
- hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/quality/qualityHotpatchProcess.vue'),
|
|
|
- meta: { title: '热修复过程' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'problemList',
|
|
|
- name: '线上问题',
|
|
|
- component: () =>
|
|
|
- import('@/views/onlineProblem/problemList.vue'),
|
|
|
- meta: { title: '线上问题' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/Platform/defectManagement/problemCreate',
|
|
|
- name: '新建线上问题',
|
|
|
- hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/onlineProblem/problemCreate'),
|
|
|
- meta: { title: '新建线上问题' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/Platform/defectManagement/problemQuery',
|
|
|
- name: '查看线上问题',
|
|
|
- hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/onlineProblem/problemQuery'),
|
|
|
- meta: { title: '查看线上问题' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/Platform/defectManagement/problemUpdate',
|
|
|
- name: '更新线上问题',
|
|
|
- hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/onlineProblem/problemUpdate'),
|
|
|
- meta: { title: '更新线上问题' }
|
|
|
- }
|
|
|
- ]
|
|
|
-},
|
|
|
-
|
|
|
{
|
|
|
path: '/Platform/setUp',
|
|
|
component: Layout,
|
|
@@ -674,7 +648,6 @@ export const constantRoutes = [{
|
|
|
import('@/views/Platform/setUp/systemSetup/addConf'),
|
|
|
meta: { title: '新增配置' }
|
|
|
}
|
|
|
-
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -685,22 +658,30 @@ export const constantRoutes = [{
|
|
|
meta: { title: '团队设置' }
|
|
|
}
|
|
|
]
|
|
|
+},
|
|
|
+{
|
|
|
+ path: '/data',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/data/upload-file',
|
|
|
+ name: '数据中心',
|
|
|
+ hidden: true,
|
|
|
+ meta: { title: '数据中心', icon: 'examlpe' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'upload-file',
|
|
|
+ name: 'jar包管理',
|
|
|
+ component: () => import('@/views/data/upload.vue'),
|
|
|
+ meta: { title: 'jar包管理' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'item',
|
|
|
+ name: '动态数据',
|
|
|
+ component: () => import('@/views/data/index.vue'),
|
|
|
+ meta: { title: '动态数据' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
-// {
|
|
|
-// path: '/ToConfigure',
|
|
|
-// name: '组织配置',
|
|
|
-// component: Layout,
|
|
|
-// redirect: '/ToConfigure/configure',
|
|
|
-// // hidden: true,
|
|
|
-// meta: { title: '组织配置', icon: '上线质检' },
|
|
|
-// children: [{
|
|
|
-// path: 'configure',
|
|
|
-// name: '组织配置',
|
|
|
-// component: () =>
|
|
|
-// import('@/views/ToConfigure/configure'),
|
|
|
-// meta: { title: '组织配置', icon: '组织配置' }
|
|
|
-// }]
|
|
|
-// }
|
|
|
+
|
|
|
]
|
|
|
|
|
|
const createRouter = () => new Router({
|