| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- /**
- * 基础路由
- * @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: '/personnelSignature/:id',
- name: 'personnelSignature',
- component: () => import('@/views/menu/training/components/personnelSignature.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: false }
- },
- {
- 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: '/educationStatistics',
- name: 'educationStatistics',
- component: () => import('@/views/menu/educationStatistics/index'),
- meta: { title: '教育培训统计报表', keepAlive: false }
- },
- ],
- },
- ]
|