|
@@ -1,4 +1,3 @@
|
|
-
|
|
|
|
import Vue from 'vue'
|
|
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
import Router from 'vue-router'
|
|
|
|
|
|
@@ -34,16 +33,17 @@ import Home from '@/views/home/index'
|
|
* a base page that does not have permission requirements
|
|
* a base page that does not have permission requirements
|
|
* all roles can be accessed
|
|
* all roles can be accessed
|
|
*/
|
|
*/
|
|
-export const constantRoutes = [
|
|
|
|
- {
|
|
|
|
|
|
+export const constantRoutes = [{
|
|
path: '/login',
|
|
path: '/login',
|
|
- component: () => import('@/views/login/index'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/login/index'),
|
|
hidden: true
|
|
hidden: true
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
path: '/404',
|
|
path: '/404',
|
|
- component: () => import('@/views/404'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/404'),
|
|
hidden: true
|
|
hidden: true
|
|
},
|
|
},
|
|
|
|
|
|
@@ -77,108 +77,128 @@ export const constantRoutes = [
|
|
redirect: '/Platform/useCasePage',
|
|
redirect: '/Platform/useCasePage',
|
|
name: '质惠平台',
|
|
name: '质惠平台',
|
|
meta: { title: '质惠平台', icon: '质惠平台' },
|
|
meta: { title: '质惠平台', icon: '质惠平台' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: '/Platform/projectManage',
|
|
path: '/Platform/projectManage',
|
|
name: '项目管理',
|
|
name: '项目管理',
|
|
- component: () => import('@/views/projectManage/projectList/testa'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/projectList/testa'),
|
|
redirect: '/Platform/projectManage/projectList/projectIndex',
|
|
redirect: '/Platform/projectManage/projectList/projectIndex',
|
|
meta: { title: '项目管理', icon: '项目管理' },
|
|
meta: { title: '项目管理', icon: '项目管理' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'projectIndex',
|
|
path: 'projectIndex',
|
|
name: '项目列表',
|
|
name: '项目列表',
|
|
- component: () => import('@/views/projectManage/projectList/projectIndex'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/projectList/projectIndex'),
|
|
meta: { title: '项目' }
|
|
meta: { title: '项目' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'projectViewDetails',
|
|
path: 'projectViewDetails',
|
|
name: '项目详情',
|
|
name: '项目详情',
|
|
- component: () => import('@/views/projectManage/projectList/projectViewDetails'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/projectList/projectViewDetails'),
|
|
meta: { title: '项目详情' }
|
|
meta: { title: '项目详情' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'projectList',
|
|
path: 'projectList',
|
|
name: '项目列表',
|
|
name: '项目列表',
|
|
// hidden: true,
|
|
// hidden: true,
|
|
- component: () => import('@/views/projectManage/projectList/projectListIndex'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/projectList/projectListIndex'),
|
|
meta: { title: '项目列表' }
|
|
meta: { title: '项目列表' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'projectCreate',
|
|
path: 'projectCreate',
|
|
hidden: true,
|
|
hidden: true,
|
|
name: '项目创建',
|
|
name: '项目创建',
|
|
- component: () => import('@/views/projectManage/projectList/projectCreate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/projectList/projectCreate'),
|
|
meta: { title: '项目创建' }
|
|
meta: { title: '项目创建' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'projectPreview',
|
|
path: 'projectPreview',
|
|
hidden: true,
|
|
hidden: true,
|
|
name: '项目查看',
|
|
name: '项目查看',
|
|
- component: () => import('@/views/projectManage/projectList/projectPreview'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/projectList/projectPreview'),
|
|
meta: { title: '项目查看' }
|
|
meta: { title: '项目查看' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'taskList',
|
|
path: 'taskList',
|
|
name: '任务列表',
|
|
name: '任务列表',
|
|
- component: () => import('@/views/projectManage/taskList/taskListIndex'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/taskList/taskListIndex'),
|
|
meta: { title: '任务列表' }
|
|
meta: { title: '任务列表' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'taskCreate',
|
|
path: 'taskCreate',
|
|
hidden: true,
|
|
hidden: true,
|
|
name: '任务创建',
|
|
name: '任务创建',
|
|
- component: () => import('@/views/projectManage/taskList/taskCreate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/taskList/taskCreate'),
|
|
meta: { title: '任务创建' }
|
|
meta: { title: '任务创建' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'taskPreview',
|
|
path: 'taskPreview',
|
|
hidden: true,
|
|
hidden: true,
|
|
name: '任务查看',
|
|
name: '任务查看',
|
|
- component: () => import('@/views/projectManage/taskList/taskPreview'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/taskList/taskPreview'),
|
|
meta: { title: '任务查看' }
|
|
meta: { title: '任务查看' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'taskUpdate',
|
|
path: 'taskUpdate',
|
|
hidden: true,
|
|
hidden: true,
|
|
name: '任务更新',
|
|
name: '任务更新',
|
|
- component: () => import('@/views/projectManage/taskList/taskUpdateCreate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/taskList/taskUpdateCreate'),
|
|
meta: { title: '任务更新' }
|
|
meta: { title: '任务更新' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'versionsCalendar',
|
|
|
|
+ // hidden: true,
|
|
|
|
+ name: '版本日历',
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/projectManage/taskList/versionsCalendar'),
|
|
|
|
+ meta: { title: '版本日历' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/useCasePage',
|
|
path: '/Platform/useCasePage',
|
|
name: '测试计划管理',
|
|
name: '测试计划管理',
|
|
- component: () => import('@/views/Platform/useCasePage'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/useCasePage'),
|
|
meta: { title: '测试计划管理' },
|
|
meta: { title: '测试计划管理' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'useCasePage',
|
|
path: 'useCasePage',
|
|
name: '用例管理',
|
|
name: '用例管理',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/useCasePage'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/useCasePage'),
|
|
meta: { title: '用例管理' }
|
|
meta: { title: '用例管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'createUse',
|
|
path: 'createUse',
|
|
name: '用例新增',
|
|
name: '用例新增',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/useCase/createUse'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/useCase/createUse'),
|
|
meta: { title: '用例新增' }
|
|
meta: { title: '用例新增' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'queryUse',
|
|
path: 'queryUse',
|
|
name: '用例查看',
|
|
name: '用例查看',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/useCase/queryUse'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/useCase/queryUse'),
|
|
meta: { title: '用例查看' }
|
|
meta: { title: '用例查看' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'testPageData',
|
|
path: 'testPageData',
|
|
name: '测试计划',
|
|
name: '测试计划',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/testPage.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/testPage.vue'),
|
|
meta: { title: '测试计划' }
|
|
meta: { title: '测试计划' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -188,85 +208,96 @@ export const constantRoutes = [
|
|
path: '/Platform/presentation',
|
|
path: '/Platform/presentation',
|
|
name: '报告管理',
|
|
name: '报告管理',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/testa'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/testa'),
|
|
redirect: '/Platform/presentation/testPresentation',
|
|
redirect: '/Platform/presentation/testPresentation',
|
|
meta: { title: '报告管理' },
|
|
meta: { title: '报告管理' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'testPresentation',
|
|
path: 'testPresentation',
|
|
name: '日报报告',
|
|
name: '日报报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/testPresentation'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/testPresentation'),
|
|
meta: { title: '日报报告' }
|
|
meta: { title: '日报报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'ResultPage',
|
|
path: 'ResultPage',
|
|
name: '准出报告',
|
|
name: '准出报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/ResultPage'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/ResultPage'),
|
|
meta: { title: '准出报告' }
|
|
meta: { title: '准出报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'Assumptions',
|
|
path: 'Assumptions',
|
|
name: '提测报告',
|
|
name: '提测报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/Assumptions'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/Assumptions'),
|
|
meta: { title: '提测报告' }
|
|
meta: { title: '提测报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'DailyNewsAdded',
|
|
path: 'DailyNewsAdded',
|
|
name: '日报报告',
|
|
name: '日报报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/DailyNewsAdded'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/DailyNewsAdded'),
|
|
meta: { title: '新增日报报告' }
|
|
meta: { title: '新增日报报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'presentationReport',
|
|
path: 'presentationReport',
|
|
name: '提测报告',
|
|
name: '提测报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/presentationReport'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/presentationReport'),
|
|
meta: { title: '新增服务器提测报告' }
|
|
meta: { title: '新增服务器提测报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'acceptTheReport',
|
|
path: 'acceptTheReport',
|
|
name: '提测预览',
|
|
name: '提测预览',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/acceptTheReport'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/acceptTheReport'),
|
|
meta: { title: '提测预览' }
|
|
meta: { title: '提测预览' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'testPresenyL',
|
|
path: 'testPresenyL',
|
|
name: '日报预览',
|
|
name: '日报预览',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/testPresenyL'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/testPresenyL'),
|
|
meta: { title: '日报预览' }
|
|
meta: { title: '日报预览' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'ResultPageyL',
|
|
path: 'ResultPageyL',
|
|
name: '准出预览',
|
|
name: '准出预览',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/ResultPageyL'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/ResultPageyL'),
|
|
meta: { title: '准出预览' }
|
|
meta: { title: '准出预览' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'Acceptance',
|
|
path: 'Acceptance',
|
|
name: '准出报告',
|
|
name: '准出报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/Acceptance'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/Acceptance'),
|
|
meta: { title: '准出报告,新增服务器端报告' }
|
|
meta: { title: '准出报告,新增服务器端报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'ClientAcceptance',
|
|
path: 'ClientAcceptance',
|
|
name: '准出报告',
|
|
name: '准出报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/ClientAcceptance'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/ClientAcceptance'),
|
|
meta: { title: '准出报告,新增客户端报告' }
|
|
meta: { title: '准出报告,新增客户端报告' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'PresentReport',
|
|
path: 'PresentReport',
|
|
name: '提测报告,新增报告',
|
|
name: '提测报告,新增报告',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/presentation/PresentReport'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/presentation/PresentReport'),
|
|
meta: { title: '新增客户端提测报告' }
|
|
meta: { title: '新增客户端提测报告' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -275,28 +306,32 @@ export const constantRoutes = [
|
|
path: '/Platform/defectManagement',
|
|
path: '/Platform/defectManagement',
|
|
name: '缺陷管理',
|
|
name: '缺陷管理',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/defectManagement'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/defectManagement'),
|
|
meta: { title: '缺陷管理' }
|
|
meta: { title: '缺陷管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/defectManagement/bugCreate',
|
|
path: '/Platform/defectManagement/bugCreate',
|
|
name: '新建Bug',
|
|
name: '新建Bug',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/bugManage/bugCreate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/bugManage/bugCreate'),
|
|
meta: { title: '新建Bug' }
|
|
meta: { title: '新建Bug' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/defectManagement/bugQuery',
|
|
path: '/Platform/defectManagement/bugQuery',
|
|
name: '查看Bug',
|
|
name: '查看Bug',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/bugManage/bugQuery'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/bugManage/bugQuery'),
|
|
meta: { title: '查看Bug' }
|
|
meta: { title: '查看Bug' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/defectManagement/bugUpdate',
|
|
path: '/Platform/defectManagement/bugUpdate',
|
|
name: '更新Bug',
|
|
name: '更新Bug',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/bugManage/bugUpdate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/bugManage/bugUpdate'),
|
|
meta: { title: '更新Bug' }
|
|
meta: { title: '更新Bug' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -305,66 +340,75 @@ export const constantRoutes = [
|
|
name: '设置',
|
|
name: '设置',
|
|
hidden: true,
|
|
hidden: true,
|
|
// meta: { title: '设置' },
|
|
// meta: { title: '设置' },
|
|
- component: () => import('@/views/Platform/setUp/testa'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/testa'),
|
|
meta: { title: '设置' },
|
|
meta: { title: '设置' },
|
|
children: [{
|
|
children: [{
|
|
- path: 'systemSetup',
|
|
|
|
- name: '系统设置',
|
|
|
|
- hidden: true,
|
|
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/testa'),
|
|
|
|
- meta: { title: '系统设置' },
|
|
|
|
- children: [{
|
|
|
|
- path: 'bizPage',
|
|
|
|
- name: '业务线',
|
|
|
|
- hidden: true,
|
|
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/bizPage'),
|
|
|
|
- meta: { title: '业务线' }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'platformPage',
|
|
|
|
- name: '平台类型',
|
|
|
|
- hidden: true,
|
|
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/platformPage'),
|
|
|
|
- meta: { title: '平台类型' }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'modulePage',
|
|
|
|
- name: '业务模块',
|
|
|
|
|
|
+ path: 'systemSetup',
|
|
|
|
+ name: '系统设置',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/modulePage'),
|
|
|
|
- meta: { title: '业务模块' }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'projectPage',
|
|
|
|
- name: '工程模块',
|
|
|
|
- hidden: true,
|
|
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/projectPage'),
|
|
|
|
- meta: { title: '工程模块' }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'confList',
|
|
|
|
- name: '业务配置列表',
|
|
|
|
- hidden: true,
|
|
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/confList'),
|
|
|
|
- meta: { title: '业务配置列表' }
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/testa'),
|
|
|
|
+ meta: { title: '系统设置' },
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'bizPage',
|
|
|
|
+ name: '业务线',
|
|
|
|
+ hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/bizPage'),
|
|
|
|
+ meta: { title: '业务线' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'platformPage',
|
|
|
|
+ name: '平台类型',
|
|
|
|
+ hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/platformPage'),
|
|
|
|
+ meta: { title: '平台类型' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'modulePage',
|
|
|
|
+ name: '业务模块',
|
|
|
|
+ hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/modulePage'),
|
|
|
|
+ meta: { title: '业务模块' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'projectPage',
|
|
|
|
+ name: '工程模块',
|
|
|
|
+ hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/projectPage'),
|
|
|
|
+ meta: { title: '工程模块' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'confList',
|
|
|
|
+ name: '业务配置列表',
|
|
|
|
+ hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/confList'),
|
|
|
|
+ meta: { title: '业务配置列表' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'addConf',
|
|
|
|
+ name: '新增配置',
|
|
|
|
+ hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/systemSetup/addConf'),
|
|
|
|
+ meta: { title: '新增配置' }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: 'addConf',
|
|
|
|
- name: '新增配置',
|
|
|
|
|
|
+ path: 'teamPage',
|
|
|
|
+ name: '团队设置',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/setUp/systemSetup/addConf'),
|
|
|
|
- meta: { title: '新增配置' }
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/setUp/teamPage'),
|
|
|
|
+ meta: { title: '团队设置' }
|
|
}
|
|
}
|
|
-
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'teamPage',
|
|
|
|
- name: '团队设置',
|
|
|
|
- hidden: true,
|
|
|
|
- component: () => import('@/views/Platform/setUp/teamPage'),
|
|
|
|
- meta: { title: '团队设置' }
|
|
|
|
- }
|
|
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -375,11 +419,11 @@ export const constantRoutes = [
|
|
component: Layout,
|
|
component: Layout,
|
|
redirect: '/Platform/Workbench/PersonalWorkbench',
|
|
redirect: '/Platform/Workbench/PersonalWorkbench',
|
|
meta: { title: '工作台', icon: '工作台' },
|
|
meta: { title: '工作台', icon: '工作台' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'PersonalWorkbench',
|
|
path: 'PersonalWorkbench',
|
|
name: '个人工作台',
|
|
name: '个人工作台',
|
|
- component: () => import('@/views/Platform/Workbench/PersonalWorkbench'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/Workbench/PersonalWorkbench'),
|
|
meta: { title: '个人工作台' }
|
|
meta: { title: '个人工作台' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -390,7 +434,8 @@ export const constantRoutes = [
|
|
path: 'TeamWorkbench',
|
|
path: 'TeamWorkbench',
|
|
name: '团队工作台',
|
|
name: '团队工作台',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/Platform/Workbench/TeamWorkbench'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/Platform/Workbench/TeamWorkbench'),
|
|
meta: { title: '团队工作台' }
|
|
meta: { title: '团队工作台' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -403,54 +448,61 @@ export const constantRoutes = [
|
|
redirect: '/env-platform/env',
|
|
redirect: '/env-platform/env',
|
|
name: '环境',
|
|
name: '环境',
|
|
meta: { title: '环境平台', icon: 'env_platform' },
|
|
meta: { title: '环境平台', icon: 'env_platform' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'env',
|
|
path: 'env',
|
|
name: 'env',
|
|
name: 'env',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: '环境管理' }
|
|
meta: { title: '环境管理' }
|
|
|
|
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'businessline',
|
|
path: 'businessline',
|
|
name: 'businessline',
|
|
name: 'businessline',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: '业务线管理' }
|
|
meta: { title: '业务线管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'whitelist',
|
|
path: 'whitelist',
|
|
name: 'whitelist',
|
|
name: 'whitelist',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: '白名单管理' }
|
|
meta: { title: '白名单管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'module',
|
|
path: 'module',
|
|
name: 'module',
|
|
name: 'module',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: '模块管理' }
|
|
meta: { title: '模块管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'group',
|
|
path: 'group',
|
|
name: 'group',
|
|
name: 'group',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: 'Group管理' }
|
|
meta: { title: 'Group管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'topic',
|
|
path: 'topic',
|
|
name: 'topic',
|
|
name: 'topic',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: 'Topic管理' }
|
|
meta: { title: 'Topic管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'mq',
|
|
path: 'mq',
|
|
name: 'mq',
|
|
name: 'mq',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: 'MQ管理' }
|
|
meta: { title: 'MQ管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'data',
|
|
path: 'data',
|
|
name: 'data',
|
|
name: 'data',
|
|
- component: () => import('@/views/env/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/env/index.vue'),
|
|
meta: { title: '数据统计' }
|
|
meta: { title: '数据统计' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -463,31 +515,34 @@ export const constantRoutes = [
|
|
redirect: '/mock/interface',
|
|
redirect: '/mock/interface',
|
|
name: 'Mock',
|
|
name: 'Mock',
|
|
meta: { title: 'Mock服务', icon: 'MQ' },
|
|
meta: { title: 'Mock服务', icon: 'MQ' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'interface',
|
|
path: 'interface',
|
|
name: 'Interface',
|
|
name: 'Interface',
|
|
- component: () => import('@/views/mock/interface'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/mock/interface'),
|
|
meta: { title: 'dubbo mock' }
|
|
meta: { title: 'dubbo mock' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'interface/:rule',
|
|
path: 'interface/:rule',
|
|
name: 'Rule',
|
|
name: 'Rule',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/mock/rule'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/mock/rule'),
|
|
meta: { title: 'dubbo规则' }
|
|
meta: { title: 'dubbo规则' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'httpmock',
|
|
path: 'httpmock',
|
|
name: 'httpmock',
|
|
name: 'httpmock',
|
|
- component: () => import('@/views/mock/httpmock'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/mock/httpmock'),
|
|
meta: { title: 'http mock' }
|
|
meta: { title: 'http mock' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'httpmock/:httprule',
|
|
path: 'httpmock/:httprule',
|
|
name: 'Httprule',
|
|
name: 'Httprule',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/mock/httprule'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/mock/httprule'),
|
|
meta: { title: 'httpmock规则' }
|
|
meta: { title: 'httpmock规则' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -500,17 +555,18 @@ export const constantRoutes = [
|
|
redirect: '/data/upload-file',
|
|
redirect: '/data/upload-file',
|
|
name: '数据中心',
|
|
name: '数据中心',
|
|
meta: { title: '数据中心', icon: 'examlpe' },
|
|
meta: { title: '数据中心', icon: 'examlpe' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'upload-file',
|
|
path: 'upload-file',
|
|
name: 'jar包管理',
|
|
name: 'jar包管理',
|
|
- component: () => import('@/views/data/upload.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/data/upload.vue'),
|
|
meta: { title: 'jar包管理' }
|
|
meta: { title: 'jar包管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'item',
|
|
path: 'item',
|
|
name: '动态数据',
|
|
name: '动态数据',
|
|
- component: () => import('@/views/data/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/data/index.vue'),
|
|
meta: { title: '动态数据' }
|
|
meta: { title: '动态数据' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -523,24 +579,26 @@ export const constantRoutes = [
|
|
redirect: '/virtualDevices/HTvehicle',
|
|
redirect: '/virtualDevices/HTvehicle',
|
|
name: '虚拟硬件',
|
|
name: '虚拟硬件',
|
|
meta: { title: '虚拟硬件', icon: 'zhiliangdapan' },
|
|
meta: { title: '虚拟硬件', icon: 'zhiliangdapan' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'HTvehicle',
|
|
path: 'HTvehicle',
|
|
name: '单车',
|
|
name: '单车',
|
|
- component: () => import('@/views/virtualDevices/HTvehicle'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/virtualDevices/HTvehicle'),
|
|
meta: { title: '单车' }
|
|
meta: { title: '单车' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'ebike',
|
|
path: 'ebike',
|
|
name: '电单车',
|
|
name: '电单车',
|
|
- component: () => import('@/views/virtualDevices/HMvehicle.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/virtualDevices/HMvehicle.vue'),
|
|
meta: { title: '电单车' }
|
|
meta: { title: '电单车' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'ebike/ebikeCreate',
|
|
path: 'ebike/ebikeCreate',
|
|
name: '新增电单车',
|
|
name: '新增电单车',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/virtualDevices/HMvehicleCreate.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/virtualDevices/HMvehicleCreate.vue'),
|
|
meta: { title: '新增电单车' }
|
|
meta: { title: '新增电单车' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -553,17 +611,18 @@ export const constantRoutes = [
|
|
redirect: '/online-quality/check-list',
|
|
redirect: '/online-quality/check-list',
|
|
name: '上线质检',
|
|
name: '上线质检',
|
|
meta: { title: '上线质检', icon: '上线质检' },
|
|
meta: { title: '上线质检', icon: '上线质检' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'check-list',
|
|
path: 'check-list',
|
|
name: '模板管理',
|
|
name: '模板管理',
|
|
- component: () => import('@/views/online-quality/CheckConfig/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/online-quality/CheckConfig/index.vue'),
|
|
meta: { title: '模板管理' }
|
|
meta: { title: '模板管理' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'history-task',
|
|
path: 'history-task',
|
|
name: '历史任务',
|
|
name: '历史任务',
|
|
- component: () => import('@/views/online-quality/HistoryTask/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/online-quality/HistoryTask/index.vue'),
|
|
meta: { title: '历史任务' }
|
|
meta: { title: '历史任务' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -571,13 +630,15 @@ export const constantRoutes = [
|
|
props: true,
|
|
props: true,
|
|
name: '历史任务详情',
|
|
name: '历史任务详情',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/online-quality/HistoryTask/taskDetails.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/online-quality/HistoryTask/taskDetails.vue'),
|
|
meta: { title: '历史任务详情' }
|
|
meta: { title: '历史任务详情' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'block-server',
|
|
path: 'block-server',
|
|
name: '阻断服务',
|
|
name: '阻断服务',
|
|
- component: () => import('@/views/online-quality/BlockServer/index.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/online-quality/BlockServer/index.vue'),
|
|
meta: { title: '阻断服务' }
|
|
meta: { title: '阻断服务' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -591,59 +652,66 @@ export const constantRoutes = [
|
|
redirect: '/quality/qualityMeasurement',
|
|
redirect: '/quality/qualityMeasurement',
|
|
name: '质量度量',
|
|
name: '质量度量',
|
|
meta: { title: '质量度量', icon: '质量度量' },
|
|
meta: { title: '质量度量', icon: '质量度量' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
|
|
+ children: [{
|
|
path: 'qualityMeasurement',
|
|
path: 'qualityMeasurement',
|
|
name: '质量大盘',
|
|
name: '质量大盘',
|
|
- component: () => import('@/views/quality/qualityMeasurement.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/quality/qualityMeasurement.vue'),
|
|
meta: { title: '质量大盘' }
|
|
meta: { title: '质量大盘' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'qualityProcess',
|
|
path: 'qualityProcess',
|
|
name: '上线过程',
|
|
name: '上线过程',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/quality/qualityProcess.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/quality/qualityProcess.vue'),
|
|
meta: { title: '上线过程' }
|
|
meta: { title: '上线过程' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'qualityDefectProcess',
|
|
path: 'qualityDefectProcess',
|
|
name: '缺陷过程',
|
|
name: '缺陷过程',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/quality/qualityDefectProcess.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/quality/qualityDefectProcess.vue'),
|
|
meta: { title: '缺陷过程' }
|
|
meta: { title: '缺陷过程' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'qualityHotpatchProcess',
|
|
path: 'qualityHotpatchProcess',
|
|
name: '热修复过程',
|
|
name: '热修复过程',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/quality/qualityHotpatchProcess.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/quality/qualityHotpatchProcess.vue'),
|
|
meta: { title: '热修复过程' }
|
|
meta: { title: '热修复过程' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'problemList',
|
|
path: 'problemList',
|
|
name: '线上问题',
|
|
name: '线上问题',
|
|
- component: () => import('@/views/onlineProblem/problemList.vue'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/onlineProblem/problemList.vue'),
|
|
meta: { title: '线上问题' }
|
|
meta: { title: '线上问题' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/defectManagement/problemCreate',
|
|
path: '/Platform/defectManagement/problemCreate',
|
|
name: '新建线上问题',
|
|
name: '新建线上问题',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/onlineProblem/problemCreate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/onlineProblem/problemCreate'),
|
|
meta: { title: '新建线上问题' }
|
|
meta: { title: '新建线上问题' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/defectManagement/problemQuery',
|
|
path: '/Platform/defectManagement/problemQuery',
|
|
name: '查看线上问题',
|
|
name: '查看线上问题',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/onlineProblem/problemQuery'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/onlineProblem/problemQuery'),
|
|
meta: { title: '查看线上问题' }
|
|
meta: { title: '查看线上问题' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/Platform/defectManagement/problemUpdate',
|
|
path: '/Platform/defectManagement/problemUpdate',
|
|
name: '更新线上问题',
|
|
name: '更新线上问题',
|
|
hidden: true,
|
|
hidden: true,
|
|
- component: () => import('@/views/onlineProblem/problemUpdate'),
|
|
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/onlineProblem/problemUpdate'),
|
|
meta: { title: '更新线上问题' }
|
|
meta: { title: '更新线上问题' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -655,15 +723,14 @@ export const constantRoutes = [
|
|
redirect: '/ToConfigure/configure',
|
|
redirect: '/ToConfigure/configure',
|
|
// hidden: true,
|
|
// hidden: true,
|
|
meta: { title: '组织配置', icon: '上线质检' },
|
|
meta: { title: '组织配置', icon: '上线质检' },
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: 'configure',
|
|
|
|
- name: '组织配置',
|
|
|
|
- // hidden: true,
|
|
|
|
- component: () => import('@/views/ToConfigure/configure'),
|
|
|
|
- meta: { title: '组织配置', icon: '组织配置' }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'configure',
|
|
|
|
+ name: '组织配置',
|
|
|
|
+ // hidden: true,
|
|
|
|
+ component: () =>
|
|
|
|
+ import ('@/views/ToConfigure/configure'),
|
|
|
|
+ meta: { title: '组织配置', icon: '组织配置' }
|
|
|
|
+ }]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
|
|
@@ -680,4 +747,4 @@ export function resetRouter() {
|
|
router.matcher = newRouter.matcher // reset router
|
|
router.matcher = newRouter.matcher // reset router
|
|
}
|
|
}
|
|
|
|
|
|
-export default router
|
|
|
|
|
|
+export default router
|