| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- /**
- * 基础路由
- * @type { *[] }
- */
- export let routers = [
- {
- path: '/',
- redirect:'/login'
- },
- {
- path: '/login',
- component: () => import('@/views/login'),
- meta: {
- title: '登录',
- keepAlive: false
- },
- },
- {
- path: '/tokenlogin',
- component: () => import('@/views/tokenlogin'),
- meta: {
- title: '登录',
- keepAlive: false
- },
- },
- {
- path: '/consultInfo/:id',
- name: 'consultInfo',
- component: () => import('@/views/menu/monitoringCall/components/consultInfo'),
- meta: { title: '监控调阅', keepAlive: true }
- },
- // {
- // path: '/addInfo/:id',
- // name: 'addInfo',
- // component: () => import('@/views/menu/monitoringCall/components/addInfo'),
- // meta: { title: '添加监控调阅', keepAlive: false }
- // },
- // {
- // path: '/update/:id',
- // name: 'update',
- // component: () => import('@/views/menu/monitoringCall/components/addInfo'),
- // meta: { title: '编辑监控调阅', keepAlive: false }
- // },
- // {
- // path: '/info/:id',
- // name: 'info',
- // component: () => import('@/views/menu/monitoringCall/components/addInfo'),
- // meta: { title: '监控调阅详情', keepAlive: false }
- // },
- {
- path: '/training',
- name: 'training',
- component: () => import('@/views/menu/training/index'),
- meta: { title: '教育培训', keepAlive: false }
- },
- {
- path: '/Addtraining/:id',
- name: 'Addtraining',
- component: () => import('@/views/menu/training/components/addTraining.vue'),
- meta: { title: '培训登记', keepAlive: false }
- },
- {
- path: '/addRehearsalTask/:id',
- name: 'addRehearsalTask',
- component: () => import('@/views/menu/rehearsalTask/components/addRehearsalTask.vue'),
- meta: { title: '演练登记', keepAlive: false }
- },
- {
- path: '/personnelSignature/:id',
- name: 'personnelSignature',
- component: () => import('@/views/menu/training/components/personnelSignature.vue'),
- meta: { title: '培训参与人员签名', keepAlive: false }
- },
- {
- path: '/personnelSigninfo/:id',
- name: 'personnelSigninfo',
- component: () => import('@/views/menu/training/components/personnelSignature.vue'),
- meta: { title: '教育培训记录详情', keepAlive: false }
- },
- {
- path: '/rehearsalTasinfo/:id',
- name: 'rehearsalTasinfo',
- component: () => import('@/views/menu/rehearsalTask/components/rehearsalTaskSign.vue'),
- meta: { title: '演练详情', keepAlive: false }
- },
- {
- path: '/rehearsalTaskSign/:id',
- name: 'rehearsalTaskSign',
- component: () => import('@/views/menu/rehearsalTask/components/rehearsalTaskSign.vue'),
- meta: { title: '演练参与人员签名', keepAlive: false }
- },
- {
- path: '/commentSign/:id',
- name: 'commentSign',
- component: () => import('@/views/menu/rehearsalTask/components/rehearsalTaskSign.vue'),
- meta: { title: '演练详情', keepAlive: false }
- },
- {
- path: '/home',
- component: () => import('@/components/layouts/index'),
- redirect:'/works',
- meta: {
- title: '主页',
- keepAlive: false
- },
- children: [
- {
- path: '/works',
- name: 'works',
- component: () => import('@/views/home/works'),
- meta: { title: '工作台', keepAlive: true }
- },
- {
- path: '/menu',
- name: 'menu',
- component: () => import('@/views/home/menu'),
- meta: { title: '菜单', keepAlive: true },
- },
- {
- path: '/isMy',
- name: 'isMy',
- component: () => import('@/views/home/isMy'),
- meta: { title: '我的', keepAlive: true }
- },
- {
- path: '/workTime',
- name: 'workTime',
- component: () => import('@/views/menu/workTime/index'),
- meta: { title: '作息管理', keepAlive: false }
- },
- {
- path: '/nfc',
- name: 'nfc',
- component: () => import('@/views/menu/NFCmanage/index'),
- meta: { title: '履职登记', keepAlive: false }
- },
- {
- path: '/lvzhi',
- name: 'lvzhi',
- component: () => import('@/views/menu/LZRegister/index'),
- meta: { title: '履职登记', keepAlive: true }
- },
- {
- path: '/protection',
- name: 'protection',
- component: () => import('@/views/menu/protection/index'),
- meta: { title: '防区状态', keepAlive: false }
- },
- {
- path: '/protection/detail',
- name: 'protectionDetail',
- component: () => import('@/views/menu/protection/detail'),
- meta: { title: '防区信息', keepAlive: false }
- },
- {
- path: '/lz-edit',
- name: 'lz-edit',
- component: () => import('@/views/menu/LZRegister/edit'),
- meta: { title: '履职', keepAlive: false ,hideTabBar:true}
- },
- {
- path: '/monitoringCall',
- name: 'monitoringCall',
- component: () => import('@/views/menu/monitoringCall/index'),
- meta: { title: '监控调阅', keepAlive: true }
- },
- {
- path: '/rehearsalTask',
- name: 'rehearsalTask',
- component: () => import('@/views/menu/rehearsalTask/index'),
- meta: { title: '演练登记', keepAlive: true }
- },
- {
- path: '/rehearsaloptimal',
- name: 'rehearsaloptimal',
- component: () => import('@/views/menu/rehearsalTask/optimal'),
- meta: { title: '优秀案例管理', keepAlive: true }
- },
- {
- path: '/rehearsallearning',
- name: 'rehearsallearning',
- component: () => import('@/views/menu/rehearsalTask/learning'),
- meta: { title: '优秀案例学习', keepAlive: true }
- },
- {
- path: '/educationStatistics',
- name: 'educationStatistics',
- component: () => import('@/views/menu/educationStatistics/index'),
- meta: { title: '教育培训统计报表', keepAlive: false }
- },
- {
- path: '/drillStatistics',
- name: 'drillStatistics',
- component: () => import('@/views/menu/drillStatistics/index'),
- meta: { title: '演练统计排名', keepAlive: false }
- },
- {
- path: '/securityCheckRegister',
- name: 'securityCheckRegister',
- component: () => import('@/views/menu/securityCheckRegister/index'),
- meta: { title: '安全检查登记', keepAlive: true }
- },
- {
- path: '/securityDetail',
- name: 'securityDetail',
- component: () => import('@/views/menu/securityCheckRegister/detail'),
- meta: { title: '安全检查详情', keepAlive: false }
- },
- {
- path: '/addCheckRegister',
- name: 'addCheckRegister',
- component: () => import('@/views/menu/securityCheckRegister/addCheck'),
- meta: { title: '添加检查内容', keepAlive: false ,hideTabBar:true}
- },
- {
- path: '/addWorker',
- name: 'addWorker',
- component: () => import('@/views/menu/securityCheckRegister/addWorker'),
- meta: { title: '选择授权人员', keepAlive: false ,hideTabBar:true}
- },
- {
- path: '/problemItem',
- name: 'problemItem',
- component: () => import('@/views/menu/problemItem/index'),
- meta: { title: '隐患问题清单', keepAlive: true }
- },
- {
- path: '/problemDetail',
- name: 'problemDetail',
- component: () => import('@/views/menu/problemItem/detail'),
- meta: { title: '隐患问题详情', keepAlive: false }
- },
- ],
- },
- ]
|