| | |
| | | import { Layout } from '@/utils/routerHelper' |
| | | import {Layout} from '@/utils/routerHelper' |
| | | |
| | | const { t } = useI18n() |
| | | /** |
| | |
| | | } |
| | | }, |
| | | { |
| | | path: '/home2', |
| | | component: () => import('@/views/Home/Index2.vue'), |
| | | name: 'Home2', |
| | | meta: { |
| | | hidden: true, |
| | | noTagsView: true |
| | | }, |
| | | }, |
| | | { |
| | | path: '/', |
| | | component: Layout, |
| | | redirect: '/index', |
| | | name: 'Home', |
| | | meta: {}, |
| | | meta: { |
| | | hidden: true, |
| | | noTagsView: true |
| | | }, |
| | | children: [ |
| | | { |
| | | path: 'index', |
| | |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/project', |
| | | component: Layout, |
| | | name: 'project', |
| | | meta: { |
| | | hidden: true |
| | | }, |
| | | children: [ |
| | | { |
| | | path: 'package/history/:projectId', |
| | | component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'), |
| | | name: 'ProjectPackageHistory', |
| | | meta: { |
| | | title: '打包历史', |
| | | noCache: true, |
| | | hidden: true, |
| | | canTo: true, |
| | | icon: '', |
| | | activeMenu: '/model/project' |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/ind/data', |
| | | component: Layout, |
| | | name: 'dataSet', |
| | | meta: { |
| | | hidden: true |
| | | }, |
| | | children: [ |
| | | { |
| | | path: 'field/:dataSetId', |
| | | component: () => import('@/views/data/ind/data/field/index.vue'), |
| | | name: 'IndDataSetField', |
| | | meta: { |
| | | title: '数据集字段', |
| | | noCache: true, |
| | | hidden: true, |
| | | canTo: true, |
| | | icon: '', |
| | | activeMenu: '/data/ind/data' |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/file', |
| | | component: Layout, |
| | | name: 'file', |
| | | meta: { |
| | | hidden: true |
| | | }, |
| | | children: [ |
| | | { |
| | | path: 'form/:id?', |
| | | component: () => import('@/views/model/mpk/file/MpkForm.vue'), |
| | | name: 'MpkForm', |
| | | meta: { |
| | | title: 'MDK表单', |
| | | noCache: true, |
| | | hidden: true, |
| | | canTo: true, |
| | | icon: '', |
| | | activeMenu: '/model/file' |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | | ] |
| | | |
| | | export default remainingRouter |