123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 |
- import Layout from '@/views/newLayout/layout.vue'
- const layout = [
- {
- path: '/workbench/person',
- name: '个人工作台',
- component: Layout,
- icon: 'person-workbench',
- redirect: '/workbench/person/personDetail',
- key: 'self_workbench',
- children: [
- {
- path: 'personDetail',
- name: '个人工作台详情',
- component: () => import('@/views/workbench/person/index.vue'),
- meta: { title: '个人工作台' }
- }
- ]
- },
- {
- path: '/workbench/team',
- name: '团队工作台',
- component: Layout,
- icon: 'team-workbench',
- redirect: '/workbench/team/teamDetail',
- key: 'team_workbench',
- children: [
- {
- path: 'teamDetail',
- name: '团队工作台详情',
- component: () => import('@/views/workbench/team/index.vue'),
- meta: { title: '团队工作台' }
- }
- ]
- },
- {
- path: '/business',
- name: '业务线',
- component: Layout,
- children: [
- {
- path: '/bizIdSelect',
- name: '业务线选择',
- component: () => import('@/views/business/bizIdSelect.vue'),
- meta: { title: '业务线' }
- }
- ]
- },
- {
- path: '/projectManage',
- name: '项目管理',
- component: Layout,
- icon: 'project-manage',
- redirect: '/projectManage/projectIndex',
- meta: { title: '项目管理' },
- key: 'project_management',
- children: [
- {
- path: 'projectIndex',
- name: '项目',
- icon: 'project',
- key: 'project',
- component: () => import('@/views/projectManage/projectList/projectIndex.vue'),
- meta: { title: '项目' }
- },
- {
- path: 'projectDetail',
- name: '项目详情',
- hidden: true,
- component: () => import('@/views/projectManage/projectList/projectViewDetails.vue'),
- meta: { title: '项目' }
- },
- {
- path: 'requirementIndex',
- name: '需求',
- icon: 'requirement',
- key: 'requirement',
- component: () => import('@/views/projectManage/requirement/list/index.vue'),
- meta: { title: '需求' }
- },
- {
- path: 'requirementDetails',
- name: '需求详情',
- hidden: true,
- component: () => import('@/views/projectManage/requirement/requirementDetail.vue'),
- meta: { title: '需求详情' }
- },
- {
- path: 'taskIndex',
- name: '任务',
- icon: 'task',
- key: 'task',
- component: () => import('@/views/projectManage/taskList/taskIndex'),
- meta: { title: '任务' }
- },
- {
- path: 'taskViewDetails',
- name: '任务详情',
- hidden: true,
- component: () => import('@/views/projectManage/taskList/taskViewDetail'),
- meta: { title: '任务详情' }
- },
- {
- path: 'childDetail',
- name: '子任务详情',
- hidden: true,
- component: () => import('@/views/projectManage/taskList/childrenTask/childDetail'),
- meta: { title: '子任务详情' }
- },
- {
- path: '/projectManage/bugList/bugindex',
- name: '缺陷',
- icon: 'bug',
- key: 'bug',
- component: () => import('@/views/projectManage/bugList/bugindex'),
- meta: { title: '缺陷' }
- },
- {
- path: 'bugDetails',
- name: '缺陷详情',
- hidden: true,
- component: () => import('@/views/projectManage/bugList/details/index.vue'),
- meta: { title: '缺陷详情' }
- },
- {
- path: 'reportManagement',
- name: '报告',
- icon: 'report',
- key: 'report',
- component: () => import('@/views/reportManagement/testPresentation'),
- meta: { title: '报告' }
- },
- {
- path: 'dailyDetails',
- name: '日报详情',
- hidden: true,
- component: () => import('@/views/reportManagement/daily/components/dailyDetails'),
- meta: { title: '报告详情' }
- },
- {
- path: 'releaseDetails',
- name: '准出详情',
- hidden: true,
- component: () => import('@/views/reportManagement/ReleaseReport/components/releaseDetails'),
- meta: { title: '报告详情' }
- },
- {
- path: 'deliverDetails',
- name: '提测详情',
- hidden: true,
- component: () => import('@/views/reportManagement/Testing/components/deliverDetails'),
- meta: { title: '报告详情' }
- },
- {
- path: 'acceptTheReport',
- name: '提测预览',
- hidden: true,
- component: () => import('@/views/Platform/presentation/acceptTheReport'),
- meta: { title: '提测预览' }
- },
- {
- path: 'testPresenyL',
- name: '日报预览',
- hidden: true,
- component: () => import('@/views/Platform/presentation/testPresenyL'),
- meta: { title: '日报预览' }
- },
- {
- path: 'ResultPageyL',
- name: '准出预览',
- hidden: true,
- component: () => import('@/views/Platform/presentation/ResultPageyL'),
- meta: { title: '准出预览' }
- },
- {
- path: 'iteration',
- name: '迭代',
- cutOff: true,
- icon: 'iteration',
- key: 'iteration',
- component: () => import('@/views/projectManage/iteration/index'),
- meta: { title: '迭代' }
- },
- {
- path: 'iterationDetails',
- name: '迭代详情',
- hidden: true,
- component: () => import('@/views/projectManage/iteration/details/iterationDetails.vue'),
- meta: { title: '迭代详情' }
- },
- {
- path: 'version',
- name: '版本',
- icon: 'version',
- key: 'version',
- component: () => import('@/views/projectManage/version/list/index.vue'),
- meta: { title: '版本' }
- },
- {
- path: 'versionsCalendar',
- name: '版本日历',
- hidden: true,
- component: () => import('@/views/projectManage/taskList/versionsCalendar'),
- meta: { title: '版本日历' }
- },
- // 文博 项目列表
- {
- path: 'onlineProblemIndex',
- name: '线上问题 ',
- icon: 'onlineProblem',
- cutOff: true,
- key: 'onlineProblem',
- component: () => import('@/views/projectManage/onlineproblem'),
- meta: { title: '线上问题 ' }
- },
- {
- path: 'onlineProblemCreate',
- name: '质惠新建线上问题',
- hidden: true,
- component: () => import('@/views/projectManage/onlineproblem/create'),
- meta: { title: '质惠新建线上问题' }
- },
- {
- path: 'onlineProblemDetails',
- name: '质惠线上问题详情',
- hidden: true,
- component: () => import('@/views/projectManage/onlineproblem/detial'),
- meta: { title: '质惠线上问题详情' }
- },
- // ---end---
- {
- path: 'useCasePage',
- name: '测试用例',
- icon: 'test-case',
- cutOff: true,
- key: 'usecase',
- component: () => import('@/views/useCase'),
- meta: { title: '测试用例' }
- },
- {
- path: 'createUse',
- name: '用例新增',
- hidden: true,
- component: () => import('@/views/Platform/useCase/createUse'),
- meta: { title: '用例新增' }
- },
- {
- path: 'queryUse',
- name: '用例查看',
- hidden: true,
- component: () => import('@/views/Platform/useCase/queryUse'),
- meta: { title: '用例查看' }
- },
- {
- path: 'testPage',
- name: '测试计划',
- icon: 'test-plain',
- key: 'testplain',
- component: () => import('@/views/Platform/testPage.vue'),
- meta: { title: '测试计划' }
- },
- {
- path: 'allStatistics',
- name: '统计分析',
- icon: 'statistics',
- cutOff: true,
- key: 'statistics',
- component: () => import('@/views/quality/allStatistics.vue'),
- meta: { title: '统计分析' }
- },
- {
- path: 'qualityMeasurement',
- name: '老版统计详情',
- hidden: true,
- 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: (resolve) => require(['@/views/quality/qualityHotpatchProcess.vue'], resolve),
- meta: { title: '热修复过程' }
- },
- // {
- // path: 'problemList',
- // name: '线上问题',
- // hidden: true,
- // component: () =>
- // import('@/views/onlineProblem/problemList.vue'),
- // meta: { title: '线上问题' }
- // },
- {
- path: '/Platform/defectManagement/problemCreate',
- name: '新建线上问题',
- hidden: true,
- component: (resolve) => require(['@/views/onlineProblem/problemCreate'], resolve),
- meta: { title: '新建线上问题' }
- },
- {
- path: '/Platform/defectManagement/problemQuery',
- name: '查看线上问题',
- hidden: true,
- component: (resolve) => require(['@/views/onlineProblem/problemQuery'], resolve),
- meta: { title: '查看线上问题' }
- },
- {
- path: '/Platform/defectManagement/problemUpdate',
- name: '更新线上问题',
- hidden: true,
- component: (resolve) => require(['@/views/onlineProblem/problemUpdate'], resolve),
- meta: { title: '更新线上问题' }
- },
- {
- path: 'requireStatistics',
- name: '需求统计',
- hidden: true,
- component: () => import('@/views/quality/requireStatistics.vue'),
- meta: { title: '需求统计' }
- },
- {
- path: 'taskStatistics',
- name: '任务统计',
- hidden: true,
- component: () => import('@/views/quality/taskStatistics.vue'),
- meta: { title: '任务统计' }
- },
- {
- path: 'defectStatistics',
- name: '缺陷统计',
- hidden: true,
- component: () => import('@/views/quality/defectStatistics.vue'),
- meta: { title: '缺陷统计' }
- },
- {
- path: 'index',
- name: '配置中心',
- icon: 'config',
- key: 'config',
- component: () => import('@/views/ToConfigure/index'),
- meta: { title: '配置中心' }
- }
- ]
- }
- ]
- export default layout
|