UnisKB/ui/src/router/modules/document-shared-system.ts

63 lines
1.9 KiB
TypeScript

const DocumentRouter = {
path: '/knowledge/system/:id/',
name: 'KnowledgeDetailSharedSystem',
meta: { title: 'common.fileUpload.document', activeMenu: '/knowledge', breadcrumb: true },
component: () => import('@/layout/layout-template/MainLayout.vue'),
hidden: true,
children: [
{
path: 'documentShared',
name: 'DocumentSharedSystem',
meta: {
icon: 'app-document',
iconActive: 'app-document-active',
title: 'common.fileUpload.document',
active: 'documentShared',
parentPath: '/knowledge/system/:id/',
parentName: 'KnowledgeDetailSharedSystem',
},
component: () => import('@/views/shared/document-shared/index.vue'),
},
{
path: 'problemShared',
name: 'ProblemSharedSystem',
meta: {
icon: 'app-problems',
iconActive: 'QuestionFilled',
title: 'views.problem.title',
active: 'problemShared',
parentPath: '/knowledge/system/:id/',
parentName: 'KnowledgeDetailSharedSystem',
},
component: () => import('@/views/shared/problem-shared/index.vue'),
},
{
path: 'hit-test-shared',
name: 'KnowledgeHitTestSharedSystem',
meta: {
icon: 'app-hit-test',
title: 'views.application.hitTest.title',
active: 'hit-test-shared',
parentPath: '/knowledge/system/:id/',
parentName: 'KnowledgeDetailSharedSystem',
},
component: () => import('@/views/shared/hit-test-shared/index.vue'),
},
{
path: 'settingShared',
name: 'settingSharedSystem',
meta: {
icon: 'app-setting',
iconActive: 'app-setting-active',
title: 'common.setting',
active: 'settingShared',
parentPath: '/knowledge/system/:id/',
parentName: 'KnowledgeDetailSharedSystem',
},
component: () => import('@/views/shared/knowledge-shared/KnowledgeSetting.vue'),
}
],
}
export default DocumentRouter