| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import type { RouteRecordRaw } from 'vue-router'
- const Layout = () => import('@/layouts/index.vue')
- const routes: RouteRecordRaw[] = [
- {
- path: '/biz',
- component: Layout,
- redirect: '/biz/index',
- name: 'biz_index',
- meta: {
- title: '业务模型',
- icon: 'bx:bxs-component',
- },
- children: [
- {
- path: 'index',
- name: 'biz_object_list',
- component: () => import('@/views/biz/biz/index.vue'),
- meta: {
- title: '业务对象',
- sidebar: false,
- breadcrumb: false,
- activeMenu: '/biz/object',
- },
- },
- {
- path: 'object/:bizId/:objectId',
- name: 'bizObjectDetails',
- component: () => import('@/views/biz/object/index.vue'),
- meta: {
- title: '对象详情',
- sidebar: false,
- activeMenu: '/biz/object',
- cache: true,
- noCache: 'bizObjectDetails',
- },
- },
- {
- path: '/object/oam/:bizId/:objectId',
- name: 'bizObjectOAM',
- component: () => import('@/views/biz/oam/index.vue'),
- meta: {
- title: '行为定义',
- sidebar: false,
- activeMenu: '/biz/object',
- cache: true,
- noCache: 'bizObjectOAM',
- },
- },
- ],
- },
- {
- path: '/biz1/rule',
- component: Layout,
- redirect: '/biz1/rule/index',
- name: 'rule',
- meta: {
- title: '业务规则',
- icon: 'ep:promotion',
- },
- children: [
- {
- path: 'index',
- name: 'ruleList',
- component: () => import('@/views/biz/rule/index.vue'),
- meta: {
- title: '业务规则',
- sidebar: false,
- breadcrumb: false,
- activeMenu: '/biz1/rule',
- },
- },
- ],
- },
- ]
- export default routes
|