| | |
| | | import Layout from '@/page/index/' |
| | | |
| | | export default [{ |
| | | path: '/wel/index', |
| | | component:()=> |
| | | import ('@/views/wel/index') |
| | | // component: Layout, |
| | | // redirect: '/wel/index', |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '首页', |
| | | // meta: { |
| | | // i18n: 'dashboard' |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/wel/index') |
| | | // }, { |
| | | // path: 'dashboard', |
| | | // name: '控制台', |
| | | // meta: { |
| | | // i18n: 'dashboard', |
| | | // menu: false, |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/wel/dashboard') |
| | | // }] |
| | | }, { |
| | | path: '/test', |
| | | component: Layout, |
| | | redirect: '/test/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '测试页', |
| | | meta: { |
| | | i18n: 'test' |
| | | export default [ |
| | | // { |
| | | // path: '/wel', |
| | | // component: Layout, |
| | | // redirect: '/wel/index', |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '首页', |
| | | // meta: { |
| | | // i18n: 'dashboard' |
| | | // }, |
| | | // component: () => |
| | | // import( /*webpackChunkName:"views"*/ '@/views/wel/index') |
| | | // }, { |
| | | // path: 'dashboard', |
| | | // name: '控制台', |
| | | // meta: { |
| | | // i18n: 'dashboard', |
| | | // menu: false, |
| | | // }, |
| | | // component: () => |
| | | // import( /*webpackChunkName:"views"*/ '@/views/wel/dashboard') |
| | | // }] |
| | | // }, |
| | | |
| | | { |
| | | path: '/wel', |
| | | component: () => |
| | | import('@/views/home/index') |
| | | // component: Layout, |
| | | // redirect: '/wel/index', |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '首页', |
| | | // meta: { |
| | | // i18n: 'dashboard' |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/wel/index') |
| | | // }, { |
| | | // path: 'dashboard', |
| | | // name: '控制台', |
| | | // meta: { |
| | | // i18n: 'dashboard', |
| | | // menu: false, |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/wel/dashboard') |
| | | // }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/util/test') |
| | | }] |
| | | }, { |
| | | path: '/dict-horizontal', |
| | | component: Layout, |
| | | redirect: '/dict-horizontal/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | |
| | | |
| | | |
| | | { |
| | | path: '/test', |
| | | component: Layout, |
| | | redirect: '/test/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '测试页', |
| | | meta: { |
| | | i18n: 'test' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/util/test') |
| | | }] |
| | | }, { |
| | | path: '/dict-horizontal', |
| | | component: Layout, |
| | | redirect: '/dict-horizontal/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal') |
| | | }] |
| | | }, { |
| | | path: '/dict-vertical', |
| | | component: Layout, |
| | | redirect: '/dict-vertical/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical') |
| | | }] |
| | | }, { |
| | | path: '/info', |
| | | component: Layout, |
| | | redirect: '/info/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '个人信息', |
| | | meta: { |
| | | i18n: 'info' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/system/userinfo') |
| | | }] |
| | | }, { |
| | | path: '/work/process/leave', |
| | | component: Layout, |
| | | redirect: '/work/process/leave/form', |
| | | children: [{ |
| | | path: 'form/:processDefinitionId', |
| | | name: '请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form') |
| | | }, { |
| | | path: 'handle/:taskId/:processInstanceId/:businessId', |
| | | name: '处理请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle') |
| | | }, { |
| | | path: 'detail/:processInstanceId/:businessId', |
| | | name: '请假流程详情', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') |
| | | }] |
| | | }, { |
| | | path: '/attach', |
| | | redirect: '/resource/attach', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '附件上传', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/resource/attach') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal') |
| | | }] |
| | | }, { |
| | | path: '/dict-vertical', |
| | | component: Layout, |
| | | redirect: '/dict-vertical/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | // { |
| | | // path: '/register', |
| | | // redirect: '/management/index', |
| | | // component: Layout, |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '保安员查询', |
| | | // meta: { |
| | | // i18n: 'index', |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/management/register') |
| | | // }] |
| | | // }, |
| | | { |
| | | path: '/securityGuardManagement', |
| | | redirect: '/securityGuardManagement/register', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'register', |
| | | name: '保安员查询', |
| | | meta: { |
| | | i18n: 'register', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/securityGuardManagement/register') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical') |
| | | }] |
| | | }, { |
| | | path: '/info', |
| | | component: Layout, |
| | | redirect: '/info/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '个人信息', |
| | | meta: { |
| | | i18n: 'info' |
| | | { |
| | | path: '/securityGuardManagement', |
| | | redirect: '/securityGuardManagement/registerOnce', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'registerOnce', |
| | | name: '公司保安员详情', |
| | | meta: { |
| | | i18n: 'registerOnce', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/securityGuardManagement/registerOnce') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/system/userinfo') |
| | | }] |
| | | }, { |
| | | path: '/work/process/leave', |
| | | component: Layout, |
| | | redirect: '/work/process/leave/form', |
| | | children: [{ |
| | | path: 'form/:processDefinitionId', |
| | | name: '请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | { |
| | | path: '/desk', |
| | | component: Layout, |
| | | redirect: '/desk/notice', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '通知公告', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/desk/notice') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form') |
| | | }, { |
| | | path: 'handle/:taskId/:processInstanceId/:businessId', |
| | | name: '处理请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | { |
| | | path: '/resource', |
| | | redirect: '/resource/uploadNotice', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'uploadNotice', |
| | | name: '附件上传', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/resource/uploadNotice') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle') |
| | | }, { |
| | | path: 'detail/:processInstanceId/:businessId', |
| | | name: '请假流程详情', |
| | | meta: { |
| | | i18n: 'work' |
| | | // { |
| | | // path: '/workreport', |
| | | // component: Layout, |
| | | // redirect: '/workreport/workreport', |
| | | // children: [{ |
| | | // path: 'workreport', |
| | | // name: '发起的汇报', |
| | | // meta: { |
| | | // i18n: 'dict' |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/workreport/workreport') |
| | | // }] |
| | | // }, |
| | | // { |
| | | // path: '/workreport', |
| | | // component: Layout, |
| | | // redirect: '/workreport/workreply', |
| | | // children: [{ |
| | | // path: 'workreply', |
| | | // name: '接收的汇报', |
| | | // meta: { |
| | | // i18n: 'dict' |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/workreport/workreply') |
| | | // }] |
| | | // }, |
| | | { |
| | | path: '/management', |
| | | redirect: '/management/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安详细信息', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/management/peopleDetails') |
| | | }] |
| | | }, { |
| | | path: '/management', |
| | | redirect: '/management/idinformation', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'idinformation', |
| | | name: '保安证件信息', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/management/idinformation') |
| | | }] |
| | | }, { |
| | | path: '/securityCompany', |
| | | redirect: '/securityCompany/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安公司详细资料', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/securityCompany/companyDetails') |
| | | }] |
| | | }, { |
| | | path: '/map', |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/mapHome/index') |
| | | }, { |
| | | path: '/regulatoryInformation', |
| | | redirect: '/regulatoryInformation/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '监管信息', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/regulatoryInformation/index') |
| | | }] |
| | | }, { |
| | | path: '/commandQuery', |
| | | redirect: '/commandQuery/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '指令查询', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/commandQuery/taskDistribution') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') |
| | | }] |
| | | }, { |
| | | path: '/management', |
| | | redirect: '/management/peopleDetails', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'peopleDetails', |
| | | name: '保安详细资料', |
| | | meta: { |
| | | i18n: 'peopleDetails', |
| | | { |
| | | path: '/qualificationExamination', |
| | | redirect: '/qualificationExamination/registrationTrainingQuery', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'registrationTrainingQuery', |
| | | name: '报名培训查询', |
| | | meta: { |
| | | i18n: 'registrationTrainingQuery', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/qualificationExamination/registrationTrainingQuery') |
| | | }] |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/management/peopleDetails') |
| | | }] |
| | | }, ] |
| | | { //报错 到不到vue文件 |
| | | path: '/securityUnitOperation/operationTable', |
| | | redirect: '/securityUnitOperation/operationTable/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '公司运营情况智能分析详情表', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/securityUnitOperation/operationTable') |
| | | }] |
| | | }, |
| | | // { |
| | | // path: '/securityUnitOperation/economicTable', |
| | | // redirect: '/securityUnitOperation/economicTable/index', |
| | | // component: Layout, |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '公司经济情况智能分析详情表', |
| | | // meta: { |
| | | // i18n: 'index', |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/securityUnitOperation/economicTable') |
| | | // }] |
| | | // }, |
| | | { |
| | | path: '/statisticalQueryManagement/companyDetails', |
| | | redirect: '/statisticalQueryManagement/companyDetails/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安公司人员详情', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/statisticalQueryManagement/companyDetails') |
| | | }] |
| | | }, |
| | | // { |
| | | // path: '/securityUnitOperation/economicTable', |
| | | // redirect: '/securityUnitOperation/economicTable/index', |
| | | // component: Layout, |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '公司经济情况智能分析详情表', |
| | | // meta: { |
| | | // i18n: 'index', |
| | | // }, |
| | | // component: () => |
| | | // import( /* webpackChunkName: "views" */ '@/views/securityUnitOperation/economicTable') |
| | | // }] |
| | | // }, |
| | | { |
| | | path: '/statisticalQueryManagement/companyDetails', |
| | | redirect: '/statisticalQueryManagement/companyDetails/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安公司人员详情', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/statisticalQueryManagement/companyDetails') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/securityUnitOperation/economicTable', |
| | | redirect: '/securityUnitOperation/economicTable/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '公司经济情况智能分析详情表', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/securityUnitOperation/economicTable') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/statisticalQueryManagement/businessStatisticsDetail', |
| | | redirect: '/statisticalQueryManagement/businessStatisticsDetail/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '业务情况明细', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/statisticalQueryManagement/businessStatisticsDetail') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/statisticalQueryManagement/securityGuardDetail', |
| | | redirect: '/statisticalQueryManagement/securityGuardDetail/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安员明细', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/statisticalQueryManagement/securityGuardDetail') |
| | | }] |
| | | }, { |
| | | path: '/attachOnce', |
| | | redirect: '/resource/attachOnce', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '附件查阅', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/resource/attachOnce') |
| | | }] |
| | | }, { |
| | | path: '/talk', |
| | | redirect: '/talk/talk', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '心理咨询', |
| | | meta: { |
| | | i18n: 'index', |
| | | }, |
| | | component: () => |
| | | import( /* webpackChunkName: "views" */ '@/views/talk/talk') |
| | | }] |
| | | } |
| | | ] |