|
@@ -45,6 +45,41 @@ export const sysStaticRouter: Array<AppRouteRecordRaw> = [
|
|
meta: { title: 'dashboard', icon: 'icon-homepage', affix: true }
|
|
meta: { title: 'dashboard', icon: 'icon-homepage', affix: true }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/profile',
|
|
|
|
+ component: Layout,
|
|
|
|
+ name: 'profile',
|
|
|
|
+ meta: { hidden: true, title: '用户' },
|
|
|
|
+ redirect: '/profile/index',
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ component: () => import('@/views/profile/index.vue'),
|
|
|
|
+ name: 'profileIndex',
|
|
|
|
+ meta: {
|
|
|
|
+ hidden: true,
|
|
|
|
+ title: 'profile',
|
|
|
|
+ icon: 'le-account'
|
|
|
|
+ // parentName: 'mainLayout'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/flow_create',
|
|
|
|
+ component: Layout,
|
|
|
|
+ name: 'flow_create',
|
|
|
|
+ meta: { hidden: true, title: '创建流程' },
|
|
|
|
+ redirect: '/flow_create/index',
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ component: () => import('@/views/flow/create/index.vue'),
|
|
|
|
+ name: 'flow_create',
|
|
|
|
+ meta: { hidden: true, title: '创建流程', icon: '' }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
|