| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505 | 
							- /**
 
-  * 路由配置
 
-  * meta: {
 
-  *   title: { String|Number|Function } //页面名称
 
-  *   keepAlive: { Boolean }  //是否缓存页面
 
-  *   hideTabBar: { Boolean }  //是否隐藏底部导航
 
-  *   deep: { Number }  //页面深度
 
-  * }
 
-  */
 
- 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: '/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: '/evaluate/:id',
 
-     name: 'evaluate',
 
-     component: () => import('@/views/menu/resumptionEvaluate/evaluate.vue'),
 
-     meta: { title: '评价', keepAlive: false }
 
-   },
 
-   {
 
-     path: '/commentSign/:id',
 
-     name: 'commentSign',
 
-     component: () => import('@/views/menu/rehearsalTask/components/rehearsalTaskSign.vue'),
 
-     meta: { title: '演练详情', keepAlive: false }
 
-   },
 
-   {
 
-     path: '/home',
 
-     name: 'home',
 
-     component: () => import('@/components/layouts/index'),
 
-     redirect: to => {
 
-       // 保留查询参数
 
-       const params = { ...to.params };
 
-       return { path: '/works', params };
 
-     },
 
-     meta: {
 
-       title: '主页',
 
-       keepAlive: false
 
-     },
 
-     children: [
 
-       {
 
-         path: '/cockpit',
 
-         name: 'cockpit',
 
-         component: () => import('@/views/menu/cockpit/index.vue'),
 
-         meta: { title: '驾驶舱', keepAlive: false, hideTabBar: false }
 
-       },
 
-       {
 
-         path: '/works',
 
-         name: 'works',
 
-         component: () => import('@/views/home/works'),
 
-         meta: { title: '待办', keepAlive: false, deep: 0.5 }
 
-       },
 
-       {
 
-         path: '/menu',
 
-         name: 'menu',
 
-         component: () => import('@/views/home/menu'),
 
-         meta: { title: '菜单', keepAlive: false, deep: 0.5 }
 
-       },
 
-       {
 
-         path: '/isMy',
 
-         name: 'isMy',
 
-         component: () => import('@/views/home/isMy'),
 
-         meta: { title: '我的', keepAlive: true, deep: 0.5 }
 
-       },
 
-       {
 
-         path: '/message',
 
-         name: 'message',
 
-         component: () => import('@/views/home/message/index'),
 
-         meta: { title: '消息中心', keepAlive: true, deep: 0.5 }
 
-       },
 
-       {
 
-         path: '/msgDetail',
 
-         name: 'msgDetail',
 
-         component: () => import('@/views/home/message/detail.vue'),
 
-         meta: { title: '消息详情', keepAlive: false, deep: 0.5 }
 
-       },
 
-       {
 
-         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: 'NFC管理', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/nfcScan',
 
-         name: 'nfcScan',
 
-         component: () => import('@/views/menu/NFCScan/index'),
 
-         meta: { title: 'NFC查询', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/iot/subsystem',
 
-         name: 'iot_subsystem',
 
-         component: () => import('@/views/menu/iot/subsystem/index'),
 
-         meta: { title: '布撤防状态登记', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/iot/subsystem/detail',
 
-         name: 'iot_subsystem_detail',
 
-         component: () => import('@/views/menu/iot/subsystem/detail'),
 
-         meta: { title: '控制器信息', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/iot/videoDiagnosis',
 
-         name: 'iot_videoDiagnosis',
 
-         component: () => import('@/views/menu/iot/videoDiagnosis/index'),
 
-         meta: { title: '录像诊断信息', keepAlive: true, deep: 1 }
 
-       },
 
-       {
 
-         path: '/iot/videoDiagnosis/detail',
 
-         name: 'iot_videoDiagnosis_detail',
 
-         component: () => import('@/views/menu/iot/videoDiagnosis/detail'),
 
-         meta: { title: '录像诊断记录', keepAlive: false, deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/smartOpration/videoCheck/detail',
 
-         name: 'iot_smartOpration_videoCheck_detail',
 
-         component: () => import('@/views/menu/iot/smartOpration/videocheckdetail'),
 
-         meta: { title: '录像检测记录', keepAlive: false, deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/smartOpration/videoDiagnosis/detail',
 
-         name: 'iot_smartOpration_videoDiagnosis_detail',
 
-         component: () => import('@/views/menu/iot/smartOpration/videodiagnosisdetail'),
 
-         meta: { title: '视频质量诊断记录', keepAlive: false, deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/dvrDisk',
 
-         name: 'iot_dvrRecorder',
 
-         component: () => import('@/views/menu/iot/dvrRecorder/index'),
 
-         meta: { title: '硬盘诊断信息', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/iot/donghuan',
 
-         name: 'iot_donghuan',
 
-         component: () => import('@/views/menu/iot/donghuan/index'),
 
-         meta: { title: '动环诊断信息', keepAlive: true , deep: 1}
 
-       },
 
-       {
 
-         path: '/iot/donghuan/detail',
 
-         name: 'iot_donghuan_detail',
 
-         component: () => import('@/views/menu/iot/donghuan/detail'),
 
-         meta: { title: '动环设备详情', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/alarmCenter',
 
-         name: 'iot_alarmCenter',
 
-         component: () => import('@/views/menu/iot/alarmCenter/index'),
 
-         meta: { title: '告警中心', keepAlive: true , deep: 1}
 
-       },
 
-       {
 
-         path: '/iot/alarmCenter/detail',
 
-         name: 'iot_alarmCenter_detail',
 
-         component: () => import('@/views/menu/iot/alarmCenter/detail'),
 
-         meta: { title: '告警详情', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/alarmCenter/dealAlarm',
 
-         name: 'iot_alarmCenter_dealAlarm',
 
-         component: () => import('@/views/menu/iot/alarmCenter/dealAlarm'),
 
-         meta: { title: '告警处置', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/fireWarning',
 
-         name: 'iot_fireWarning',
 
-         component: () => import('@/views/menu/iot/fireWarning/index'),
 
-         meta: { title: '消防预警', keepAlive: true , deep: 1}
 
-       },
 
-       {
 
-         path: '/iot/fireWarning/detail',
 
-         name: 'iot_fireWarning_detail',
 
-         component: () => import('@/views/menu/iot/fireWarning/detail'),
 
-         meta: { title: '设备详情', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/fireWarning/alarmIndex',
 
-         name: 'iot_fireWarning_alarmIndex',
 
-         component: () => import('@/views/menu/iot/fireWarning/alarmIndex.vue'),
 
-         meta: { title: '告警列表', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/envMonitor',
 
-         name: 'iot_envMonitor',
 
-         component: () => import('@/views/menu/iot/envMonitor/index'),
 
-         meta: { title: '环境监测', keepAlive: true , deep: 1}
 
-       },
 
-       {
 
-         path: '/iot/envMonitor/detail',
 
-         name: 'iot_envMonitor_detail',
 
-         component: () => import('@/views/menu/iot/envMonitor/detail'),
 
-         meta: { title: '设备详情', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/envMonitor/alarmIndex',
 
-         name: 'iot_envMonitor_alarmIndex',
 
-         component: () => import('@/views/menu/iot/envMonitor/alarmIndex.vue'),
 
-         meta: { title: '告警列表', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/ups',
 
-         name: 'iot_ups',
 
-         component: () => import('@/views/menu/iot/ups/index'),
 
-         meta: { title: 'UPS诊断', keepAlive: true , deep: 1}
 
-       },
 
-       {
 
-         path: '/iot/ups/detail',
 
-         name: 'iot_ups_detail',
 
-         component: () => import('@/views/menu/iot/ups/detail'),
 
-         meta: { title: 'UPS诊断详情', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/airconditioner',
 
-         name: 'iot_airconditioner',
 
-         component: () => import('@/views/menu/iot/airConditioner/index'),
 
-         meta: { title: '空调管理', keepAlive: true , deep: 1}
 
-       },
 
-       {
 
-         path: '/iot/airconditioner/detail',
 
-         name: 'iot_airconditioner_detail',
 
-         component: () => import('@/views/menu/iot/airConditioner/detail'),
 
-         meta: { title: '空调详情', keepAlive: false,  deep: 2 }
 
-       },
 
-       {
 
-         path: '/iot/board',
 
-         name: 'iot_board',
 
-         component: () => import('@/views/menu/iot/board'),
 
-         meta: { title: '数据总览', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/iot/smartOpration',
 
-         name: 'iot_smartOpration',
 
-         component: () => import('@/views/menu/iot/smartOpration/index'),
 
-         meta: { title: '视频监测', keepAlive: true, deep: 1 }
 
-       },
 
-       {
 
-         path: '/monitoringCall',
 
-         name: 'monitoringCall',
 
-         component: () => import('@/views/menu/monitoringCall/index'),
 
-         meta: { title: '监控调阅', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/resumptionEvaluate',
 
-         name: 'resumptionEvaluate',
 
-         component: () => import('@/views/menu/resumptionEvaluate/index'),
 
-         meta: { title: '外包履职评价', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/rehearsalTask',
 
-         name: 'rehearsalTask',
 
-         component: () => import('@/views/menu/rehearsalTask/index'),
 
-         meta: { title: '演练登记', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/rehearsaloptimal',
 
-         name: 'rehearsaloptimal',
 
-         component: () => import('@/views/menu/rehearsalTask/optimal'),
 
-         meta: { title: '优秀案例管理', keepAlive: false }
 
-       },
 
-       // {
 
-       //   path: '/rehearsaloptimal2',
 
-       //   name: 'rehearsaloptimal2',
 
-       //   component: () => import('@/views/menu/rehearsalTask/optimal2'),
 
-       //   meta: { title: '优秀案例管理2', keepAlive: false }
 
-       // },
 
-       {
 
-         path: '/training',
 
-         name: 'training',
 
-         component: () => import('@/views/menu/training/index'),
 
-         meta: { title: '教育培训', keepAlive: false }
 
-       },
 
-       {
 
-         path: '/rehearsallearning',
 
-         name: 'rehearsallearning',
 
-         component: () => import('@/views/menu/rehearsalTask/learning'),
 
-         meta: { title: '优秀案例学习', keepAlive: false }
 
-       },
 
-       {
 
-         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, deep: 1 }
 
-       },
 
-       {
 
-         path: '/securityAdd',
 
-         name: 'securityAdd',
 
-         component: () => import('@/views/menu/securityCheckRegister/add'),
 
-         meta: { title: '安全检查', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/securityDetail',
 
-         name: 'securityDetail',
 
-         component: () => import('@/views/menu/securityCheckRegister/detail'),
 
-         meta: { title: '安全检查详情', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         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, deep: 1 }
 
-       },
 
-       {
 
-         path: '/problemDetail',
 
-         name: 'problemDetail',
 
-         component: () => import('@/views/menu/problemItem/detail'),
 
-         meta: { title: '隐患问题详情', keepAlive: false, deep: 2 }
 
-       },
 
-       {
 
-         path: '/resumption',
 
-         name: 'resumption',
 
-         component: () => import('@/views/menu/resumption/list.vue'),
 
-         meta: { title: '履职登记', keepAlive: true, deep: 1 }
 
-       },
 
-       {
 
-         path: '/resumption_detail',
 
-         name: 'resumption_detail',
 
-         component: () => import('@/views/menu/resumption/detail.vue'),
 
-         meta: { title: '履职', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/safetyBook',
 
-         name: 'safetyBook',
 
-         component: () => import('@/views/menu/safetyBook/index.vue'),
 
-         meta: { title: '安全责任书', keepAlive: true, hideTabBar: false, deep: 1 }
 
-       },
 
-       {
 
-         path: '/safetyBookDetail',
 
-         name: 'safetyBookDetail',
 
-         component: () => import('@/views/menu/safetyBook/detail.vue'),
 
-         meta: { title: '责任书详情', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/visitRegister',
 
-         name: 'visitRegister',
 
-         component: () => import('@/views/menu/visitRegister/index.vue'),
 
-         meta: { title: '来访申请', keepAlive: true, hideTabBar: false, deep: 1 }
 
-       },
 
-       {
 
-         path: '/visitAdd',
 
-         name: 'visitAdd',
 
-         component: () => import('@/views/menu/visitRegister/add.vue'),
 
-         meta: { title: '新增申请', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/visitAddOutInRequset',
 
-         name: 'visitAddOutInRequset',
 
-         component: () => import('@/views/menu/visitRegister/addOutInRequest.vue'),
 
-         meta: { title: '出入申请', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/visitDetail',
 
-         name: 'visitDetail',
 
-         component: () => import('@/views/menu/visitRegister/detail.vue'),
 
-         meta: { title: '申请详情', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/visitCheck',
 
-         name: 'visitCheck',
 
-         component: () => import('@/views/menu/visitCheck/index.vue'),
 
-         meta: { title: '来访审批', keepAlive: true, hideTabBar: false, deep: 1 }
 
-       },
 
-       {
 
-         path: '/visitCheckDetail',
 
-         name: 'visitCheckDetail',
 
-         component: () => import('@/views/menu/visitCheck/detail.vue'),
 
-         meta: { title: '审批详情', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/visitRecord',
 
-         name: 'visitRecord',
 
-         component: () => import('@/views/menu/visitRecord/index.vue'),
 
-         meta: { title: '来访核验登记', keepAlive: true, hideTabBar: false, deep: 1 }
 
-       },
 
-       {
 
-         path: '/visitRecordDetail',
 
-         name: 'visitRecordDetail',
 
-         component: () => import('@/views/menu/visitRecord/detail.vue'),
 
-         meta: { title: '登记详情', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/visitUserRecord',
 
-         name: 'visitUserRecord',
 
-         component: () => import('@/views/menu/visitRecord/add.vue'),
 
-         meta: { title: '人员登记', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/operate',
 
-         name: 'operate',
 
-         component: () => import('@/views/menu/operate/index.vue'),
 
-         meta: { title: '操作手册', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/monitorStatistics',
 
-         name: 'monitorStatistics',
 
-         component: () => import('@/views/menu/monitorStatistics/index.vue'),
 
-         meta: { title: '监控调阅情况表', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/resumptionStatistics',
 
-         name: 'resumptionStatistics',
 
-         component: () => import('@/views/menu/resumptionStatistics/index.vue'),
 
-         meta: { title: '履职情况表', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/safeCheckStatistics',
 
-         name: 'safeCheckStatistics',
 
-         component: () => import('views/menu/safeCheckStatistics/index.vue'),
 
-         meta: { title: '行社检查情况表', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       },
 
-       {
 
-         path: '/safeCheckSelfStatistics',
 
-         name: 'safeCheckSelfStatistics',
 
-         component: () => import('views/menu/safeCheckSelfStatistics/index.vue'),
 
-         meta: { title: '网点自查情况表', keepAlive: false, hideTabBar: true, deep: 2 }
 
-       }
 
-       // {
 
-       //   path: '/addOrder',
 
-       //   name: 'addOrder',
 
-       //   component: () => import('@/views/menu/iot/add.vue'),
 
-       //   meta: { title: '生成运维单',  keepAlive: false ,hideTabBar:true,deep: 2}
 
-       // }
 
-     ]
 
-   }
 
- ]
 
 
  |