| | |
| | | import { Layout } from '@/utils/routerHelper' |
| | | import {Layout} from '@/utils/routerHelper' |
| | | |
| | | const { t } = useI18n() |
| | | /** |
| | |
| | | noTagsView: true |
| | | } |
| | | }, |
| | | // { |
| | | // path: '/shasteel', |
| | | // component: () => import('@/views/micro/index.vue'), |
| | | // name: 'shasteel', |
| | | // meta: { |
| | | // hidden: true, |
| | | // noTagsView: true |
| | | // }, |
| | | // }, |
| | | { |
| | | path: '/home2', |
| | | component: () => import('@/views/Home/Index2.vue'), |
| | | name: 'Home2', |
| | | meta: { |
| | | hidden: true, |
| | | noTagsView: true |
| | | }, |
| | | }, |
| | | { |
| | | path: '/', |
| | | component: Layout, |
| | | redirect: '/index', |
| | | name: 'Home', |
| | | meta: {}, |
| | | redirect: '/index', |
| | | meta: { |
| | | hidden: true, |
| | | noTagsView: true |
| | | }, |
| | | children: [ |
| | | { |
| | | path: 'index', |
| | |
| | | } |
| | | }, |
| | | { |
| | | path: 'manager/simple/workflow/model/edit', |
| | | component: () => import('@/views/bpm/simpleWorkflow/index.vue'), |
| | | name: 'SimpleWorkflowDesignEditor', |
| | | path: 'manager/simple/model', |
| | | component: () => import('@/views/bpm/simple/SimpleModelDesign.vue'), |
| | | name: 'SimpleModelDesign', |
| | | meta: { |
| | | noCache: true, |
| | | hidden: true, |
| | |
| | | canTo: true, |
| | | title: '流程详情', |
| | | activeMenu: '/bpm/task/my' |
| | | } |
| | | }, |
| | | props: (route) => ({ |
| | | id: route.query.id, |
| | | taskId: route.query.taskId, |
| | | activityId: route.query.activityId |
| | | }) |
| | | }, |
| | | { |
| | | path: 'oa/leave/create', |
| | |
| | | children: [ |
| | | { |
| | | path: 'package/history/:projectId', |
| | | component: () => import('@/views/mpk/ProjectPackageHistory.vue'), |
| | | component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'), |
| | | name: 'ProjectPackageHistory', |
| | | meta: { |
| | | title: '打包历史', |
| | |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | 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 |