123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- path: '/user',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './user/Login'
- }
- ]
- },
- {
- component: './404'
- }
- ]
- },
- {
- path: '/',
- redirect: '/project/management'
- },
- // {
- // path: '/dashboard',
- // name: 'dashboard',
- // icon: 'icon-shouye',
- // component: './Dashboard'
- // },
- {
- path: '/project',
- name: 'project',
- icon: 'AppstoreOutlined',
- routes: [
- {
- path: '/project',
- redirect: '/project/management'
- },
- {
- path: '/project/management',
- name: 'management',
- routes: [
- {
- path: '/project/management',
- redirect: '/project/management/list'
- },
- {
- path: '/project/management/list',
- name: 'list',
- hideInMenu: true,
- component: './Project/Management/List'
- },
- {
- path: '/project/management/detail',
- name: 'detail',
- hideInMenu: true,
- component: './Project/Management/Detail'
- }
- ]
- },
- {
- path: '/project/verification',
- name: 'verification',
- component: './Project/Verification'
- },
- {
- path: '/project/created',
- name: 'created',
- component: './Project/Created'
- }
- ]
- },
- {
- path: 'institutions',
- name: 'institutions',
- icon: 'BankOutlined',
- routes: [
- {
- path: '/institutions',
- redirect: '/institutions/company'
- },
- {
- path: 'company',
- name: 'company',
- routes: [
- {
- path: '/institutions/company',
- redirect: '/institutions/company/list'
- },
- {
- path: 'list',
- name: 'list',
- hideInMenu: true,
- component: './Institutions/Company/List'
- },
- {
- path: 'detail',
- name: 'detail',
- hideInMenu: true,
- component: './Institutions/Company/Detail'
- }
- ]
- },
- {
- path: 'staff',
- name: 'staff',
- component: './Institutions/Staff'
- }
- ]
- },
- {
- path: '/work-setting',
- name: 'work-setting',
- icon: 'ControlOutlined',
- routes: [
- {
- path: 'schema',
- name: 'schema',
- icon: 'icon-schema',
- component: './Schema/Base/index.tsx'
- },
- // {
- // path: 'test',
- // name: 'test',
- // layout: false,
- // component: './Schema/Designable/index.tsx'
- // },
- {
- path: '/work-setting/schema/detail',
- name: 'schema-detail',
- hideInMenu: true,
- component: './Schema/Base/detail.tsx'
- }
- ]
- },
- {
- path: 'system',
- name: 'system',
- icon: 'SettingOutlined',
- routes: [
- {
- path: '/system',
- redirect: '/system/admin-update'
- },
- // {
- // path: 'setting',
- // name: 'setting',
- // component: './System/Setting'
- // },
- {
- path: 'admin-update',
- name: 'admin-update',
- component: './System/AdminUpdate'
- }
- ]
- },
- {
- component: './404'
- }
- ]
|