| | |
| | | meta: { title: '系统首页', icon: 'el-icon-house', affix: '1' } |
| | | }] |
| | | }, |
| | | // { |
| | | // path: '/', |
| | | // component: 'Layout', |
| | | // redirect: '/dashboard', |
| | | // children: [{ |
| | | // path: 'dashboard', |
| | | // name: 'Dashboard', |
| | | // component: '/dashboard/index' |
| | | // }] |
| | | // }, |
| | | // { |
| | | // path: '/xtsy', |
| | | // component: 'Layout', |
| | | // redirect: '/stxy/index', |
| | | // children: [ |
| | | // { |
| | | // path: 'index', |
| | | // name: 'Form', |
| | | // component: '/xtsy/index', |
| | | // meta: { title: '系统首页', icon: 'form', affix: '1' } |
| | | // } |
| | | // ] |
| | | // }, |
| | | { |
| | | path: '/jcsz', |
| | | component: 'Layout', |
| | |
| | | meta: { title: '组织架构', icon: '' } |
| | | }, |
| | | { |
| | | path: 'rwgl', |
| | | name: 'rwgl', |
| | | component: '/jcsz/rwgl', |
| | | meta: { title: '任务管理', icon: '' } |
| | | } |
| | | path: 'yhqd', |
| | | name: 'yhqd', |
| | | component: '/jcsz/yhqd', |
| | | meta: { title: '用户清单', icon: '' } |
| | | }, |
| | | { |
| | | path: 'jsqd', |
| | | name: 'jsqd', |
| | | component: '/jcsz/jsqd', |
| | | meta: { title: '角色清单', icon: '' } |
| | | }, |
| | | { |
| | | path: 'wldw', |
| | | name: 'wldw', |
| | | component: '/jcsz/wldw', |
| | | meta: { title: '往来单位', icon: '' } |
| | | }, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | } |
| | | ] |
| | | } |
| | | |
| | | ] |
| | | const asyncRoutes = getAsyncRoutes(routes) |
| | | asyncRoutes.push({ path: '*', redirect: '/404', hidden: true }) |