123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547 |
- import Layout from '@/layout/index'
- const aqptRouter = [
- {
- path: '/',
- component: Layout,
- name: 'AqptPanorama',
- redirect: '/goaf/info',
- groupId: [0],
- hidden: true
- },
- {
- path: '/goaf/alert',
- component: Layout,
- name: 'AlertCenter',
- redirect: '/goaf/alert/index',
- meta: { permit: 'aqpt_alert_center', title: '预警管理' },
- groupId: [1],
- children: [
- {
- path: 'index',
- component: () => import('@/views/goaf/alert/index'),
- name: 'aqpt_alert_review',
- meta: { title: '待评审', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_alert_center' }
- },
- {
- path: 'rectify',
- component: () => import('@/views/goaf/alert/rectify'),
- name: 'aqpt_alert_rectify',
- meta: { title: '待整改', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_alert_center' }
- },
- {
- path: 'accept',
- component: () => import('@/views/goaf/alert/accept'),
- name: 'aqpt_alert_accept',
- meta: { title: '待验收', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_alert_center' }
- }
- ]
- },
- {
- path: '/goaf/alert/checkList',
- component: Layout,
- name: 'AlertCheckList',
- redirect: '/goaf/alert/checkList/index',
- meta: { permit: 'aqpt_alert_center', title: '预警清单' },
- groupId: [1],
- children: [
- {
- path: 'index',
- component: () => import('@/views/goaf/alert/checkList.vue'),
- name: 'aqpt_alert_checkList_index',
- meta: { title: '预警清单', icon: 'el-icon-document', affix: true, permit: 'aqpt_alert_center' }
- },
- {
- path: 'rectify',
- component: () => import('@/views/goaf/alert/checkList_warning.vue'),
- name: 'aqpt_alert_checkList_rectify',
- meta: { title: '严重预警整改清单', icon: 'el-icon-document', affix: true, permit: 'aqpt_alert_center' }
- }
- ]
- },
- {
- path: '/task',
- component: Layout,
- name: 'TaskCenter',
- redirect: '/task/index',
- meta: { permit: 'aqpt_task_center' },
- groupId: [2],
- hidden: true,
- children: [
- {
- path: 'index',
- component: () => import('@/views/system/task/index'),
- name: 'aqpt_task_center',
- meta: { title: '工作台', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_task_center' }
- }
- ]
- },
- /** 采空区*/
- {
- path: '/goaf',
- component: Layout,
- name: 'goaf',
- redirect: '/goaf/info',
- meta: {
- title: '采空区管理',
- permit: 'aqpt_danger',
- icon: 'icon-common_riskmanagement'
- },
- groupId: [0],
- children: [
- {
- path: 'info',
- component: () => import('@/views/goaf/info/index'),
- name: 'goaf-info',
- meta: {
- title: '采空区信息配置',
- noCache: true,
- permit: 'aqpt_danger'
- }
- },
- {
- path: 'qrcode',
- component: () => import('@/views/goaf/qrcode/index'),
- name: 'goaf-qrcode',
- meta: {
- title: '二维码',
- noCache: true,
- permit: 'aqpt_danger'
- }
- },
- {
- path: 'map',
- component: () => import('@/views/goaf/map/index'),
- name: 'goaf-map',
- meta: {
- title: '可视化编辑',
- noCache: true,
- // icon: 'icon-common_equipment',
- permit: 'aqpt_danger'
- }
- }
- ]
- },
- {
- path: '/aqpt/scene',
- component: Layout,
- name: 'AqptScene',
- redirect: '/aqpt/scene/riskPoint',
- groupId: [0],
- meta: {
- title: '现场管理',
- icon: 'icon-common_overview',
- permit: 'aqpt_scene'
- },
- children: [
- {
- path: 'map',
- component: () => import('@/views/aqpt/map/index'),
- name: 'entMap',
- meta: { title: '地图', noCache: true, permit: 'aqpt_scene_map' }
- }
- ]
- },
- {
- path: '/goaf/checklist',
- component: Layout,
- name: 'goaf-checklist',
- redirect: '/goaf/checklist/index',
- meta: {
- title: '检查表',
- permit: 'aqpt_danger',
- icon: 'icon-common_file'
- },
- groupId: [0],
- children: [
- {
- path: 'index',
- component: () => import('@/views/goaf/checklist'),
- name: 'goaf-checklist-index',
- meta: {
- title: '检查表定义',
- noCache: true,
- icon: 'el-icon-document',
- permit: 'aqpt_danger'
- }
- },
- {
- path: 'config',
- component: () => import('@/views/goaf/checklist/config.vue'),
- name: 'goaf-checklist-config',
- meta: {
- title: '检查表配置',
- noCache: true,
- icon: 'el-icon-document',
- permit: 'aqpt_danger'
- }
- }
- ]
- },
- {
- path: '/goaf/check',
- component: Layout,
- name: 'goafCheck',
- redirect: '/aqpt/check/index',
- meta: {
- title: '人员巡检',
- icon: 'icon-common_task'
- },
- groupId: [5],
- children: [
- {
- path: 'plan',
- component: () => import('@/views/goaf/checkTask/plan/index'),
- name: 'aqpt_check_plan',
- meta: { title: '任务定义', noCache: true, permit: 'aqpt_check_plan' }
- },
- {
- path: 'index',
- component: () => import('@/views/goaf/checkTask/manage/index'),
- name: 'aqpt_check_manage',
- meta: { title: '任务列表', noCache: true, permit: 'aqpt_check_task' }
- },
- {
- path: 'record',
- component: () => import('@/views/goaf/checkTask/record/index'),
- name: 'aqpt_check_record',
- meta: { title: '检查记录', noCache: true, permit: 'aqpt_check_record' }
- }
- ]
- },
- {
- path: '/goaf/danger',
- component: Layout,
- name: 'GoafDanger',
- redirect: '/goaf/danger/index',
- meta: {
- title: '采空区预警管理',
- permit: 'aqpt_danger'
- },
- groupId: [5],
- children: [
- {
- path: 'index',
- component: () => import('@/views/goaf/danger/index'),
- name: 'goaf_danger_index',
- meta: { title: '采空区预警管理', noCache: true, icon: 'icon-common_riskmanagement', permit: 'aqpt_danger' }
- }
- ]
- },
- {
- path: '/goaf/equipment',
- component: Layout,
- name: 'GoafEquipment',
- redirect: '/goaf/equipment/sensor',
- meta: {
- title: '传感器管理',
- icon: 'icon-common_equipment',
- permit: 'aqpt_equipment'
- },
- groupId: [4],
- children: [
- {
- path: 'sensor',
- component: () => import('@/views/goaf/sensor/index'),
- name: 'goaf-sensor',
- meta: {
- title: '传感器',
- noCache: true,
- permit: 'aqpt_danger'
- }
- },
- {
- path: 'camera',
- component: () => import('@/views/goaf/sensor/camera'),
- name: 'goaf-camera',
- meta: {
- title: '摄像头',
- noCache: true,
- permit: 'aqpt_danger'
- }
- }
- ]
- },
- {
- path: '/goaf/liveData',
- component: Layout,
- name: 'GoafLiveData',
- redirect: '/goaf/liveData/sensor',
- meta: {
- title: '实时数据',
- icon: 'icon-common_equipment',
- permit: 'aqpt_equipment'
- },
- groupId: [4],
- children: [
- {
- path: 'sensor',
- component: () => import('@/views/goaf/liveData/sensor'),
- name: 'liveData-sensor',
- meta: {
- title: '传感器',
- noCache: true,
- permit: 'aqpt_danger'
- }
- },
- {
- path: 'camera',
- component: () => import('@/views/goaf/liveData/camera'),
- name: 'liveData-camera',
- meta: {
- title: '摄像头',
- noCache: true,
- permit: 'aqpt_danger'
- }
- }
- ]
- },
- {
- path: '/aqpt/training',
- component: Layout,
- name: 'AqptTraining',
- meta: { title: '安全教育', permit: 'aqpt_training' },
- groupId: [6],
- redirect: '/aqpt/training/index',
- hidden: true,
- children: [
- {
- path: 'index',
- component: () => import('@/views/aqpt/training/index'),
- name: 'aqpt_training',
- meta: { title: '安全教育', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_training' }
- }
- ]
- },
- {
- path: '/aqpt/kpi/regulation',
- component: Layout,
- name: 'aqptKpiRegulation',
- meta: { title: '考核制度', permit: 'aqpt_kpi' },
- redirect: '/aqpt/kpi/regulation/index',
- groupId: [6],
- children: [
- {
- path: 'index',
- component: () => import('@/views/aqpt/kpi/regulation/index'),
- name: 'aqpt_kpi_index',
- meta: { title: '考核制度', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_kpi_regulation' }
- }
- ]
- },
- {
- path: '/aqpt/kpi/rule',
- component: Layout,
- name: 'aqptKpiRule',
- meta: { title: '考核办法', permit: 'aqpt_kpi_rule' },
- redirect: '/aqpt/kpi/rule/index',
- groupId: [6],
- children: [
- {
- path: 'index',
- component: () => import('@/views/aqpt/kpi/rule/index'),
- name: 'aqpt_kpi_rule',
- meta: { title: '考核办法', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_kpi_rule' }
- }
- ]
- },
- {
- path: '/aqpt/kpi/rank',
- component: Layout,
- name: 'aqptKpiRank',
- meta: {
- title: '考核结果',
- icon: 'icon-common_task',
- permit: 'aqpt_kpi_rank'
- },
- redirect: '/aqpt/kpi/rule/group',
- groupId: [6],
- children: [
- {
- path: 'group',
- component: () => import('@/views/aqpt/kpi/rank/group/index'),
- name: 'aqpt_kpi_rank_group',
- meta: { title: '部门排名', affix: true, permit: 'aqpt_kpi_rank_group' }
- },
- {
- path: 'member',
- component: () => import('@/views/aqpt/kpi/rank/member/index'),
- name: 'aqpt_kpi_rank_member',
- meta: { title: '部门排名', affix: true, permit: 'aqpt_kpi_rank_member' }
- }
- ]
- },
- {
- path: '/aqpt/kpi/report',
- component: Layout,
- name: 'aqptKpiReport',
- meta: { permit: 'aqpt_kpi_report' },
- redirect: '/aqpt/kpi/report/index',
- groupId: [6],
- children: [
- {
- path: 'index',
- component: () => import('@/views/aqpt/kpi/report/index'),
- name: 'aqpt_kpi_report',
- meta: { title: '考核报告', icon: 'icon-common_digitization', affix: true, permit: 'aqpt_kpi_report' }
- }
- ]
- },
- {
- path: '/aqpt/doc',
- component: Layout,
- name: 'AqptDoc',
- redirect: '/aqpt/doc/index',
- groupId: [8],
- // hidden: true,
- meta: {
- title: '文件中心',
- permit: 'aqpt_doc_center'
- },
- children: [
- {
- path: 'index',
- component: () => import('@/views/system/doc/index'),
- name: 'aqpt_doc_center',
- meta: { title: '文件中心', noCache: true, icon: 'icon-common_file', permit: 'aqpt_doc_center' }
- },
- {
- path: 'knowledge',
- component: () => import('@/views/system/art/index'),
- name: 'aqpt_art_center',
- meta: { title: '安全智库', noCache: true, icon: 'icon-common_knowledge', permit: 'aqpt_doc_center' }
- }
- ]
- },
- {
- path: '/aqpt',
- component: Layout,
- redirect: '/aqpt/account',
- name: 'aqpt',
- groupId: [9],
- meta: {
- title: '组织管理',
- icon: 'icon-common_digitization',
- permit: 'aqpt_ent'
- },
- children: [
- {
- path: 'profile',
- component: () => import('@/views/aqpt/profile/index'),
- name: 'aqpt_ent_profile',
- meta: { title: '企业信息', noCache: true, permit: 'aqpt_ent_profile' }
- },
- {
- path: 'account',
- component: () => import('@/views/system/group/index'),
- name: 'aqpt_ent_group_user',
- meta: { title: '帐号管理', noCache: true, permit: 'aqpt_ent_group_user' }
- }
- // {
- // path: 'position',
- // component: () => import('@/views/system/position/index'),
- // name: 'aqpt_ent_position',
- // meta: { title: '岗位管理', noCache: true, permit: 'aqpt_ent_position' }
- // }
- ]
- },
- {
- path: '/aqpt/setting',
- component: Layout,
- redirect: '/aqpt/setting/groupCat',
- name: 'aqptSetting',
- groupId: [9],
- meta: {
- title: '系统配置',
- icon: 'icon-common_configuration',
- isGroup: true,
- permit: 'aqpt_setting'
- },
- children: [
- // {
- // path: 'groupCat',
- // component: () => import('@/views/system/setting/groupCat/index'),
- // name: 'aqpt_setting_group_cat',
- // meta: { title: '群组类别', noCache: true, permit: 'aqpt_setting_group_cat' }
- // },
- // {
- // path: 'taskCat',
- // component: () => import('@/views/system/setting/taskCat/index'),
- // name: 'aqpt_setting_task_cat',
- // meta: { title: '任务类别', noCache: true, permit: 'aqpt_setting_task_cat' }
- // },
- // {
- // path: 'checklistCat',
- // component: () => import('@/views/system/setting/checklistCat/index'),
- // name: 'aqpt_setting_checklist_cat',
- // meta: { title: '清单类别', noCache: true, permit: 'aqpt_setting_checklist_cat' }
- // },
- // {
- // path: 'riskPointCat',
- // component: () => import('@/views/aqpt/setting/riskPointCat/index'),
- // name: 'aqpt_setting_riskpoint_cat',
- // meta: { title: '风险点类别', noCache: true, permit: 'aqpt_setting_riskpoint_cat' }
- // },
- // {
- // path: 'dangerCat',
- // component: () => import('@/views/aqpt/setting/dangerCat/index'),
- // name: 'aqpt_setting_danger_cat',
- // meta: { title: '预警类别', noCache: true, permit: 'aqpt_setting_danger_cat' }
- // },
- // {
- // path: 'equipmentCat',
- // component: () => import('@/views/aqpt/setting/equipmentCat/index'),
- // name: 'aqpt_setting_equipment_cat',
- // meta: { title: '设备类别', noCache: true, permit: 'aqpt_setting_equipment_cat' }
- // },
- {
- path: 'sensorCat',
- component: () => import('@/views/goaf/sensorCat/index'),
- name: 'aqpt_setting_sensor_cat',
- meta: { title: '传感器类别', noCache: true, permit: 'aqpt_setting_equipment_cat' }
- },
- {
- path: 'APP_download',
- component: () => import('@/views/system/app/download'),
- name: 'aqpt_setting_sensor_cat',
- meta: { title: 'APP升级', noCache: true, permit: 'aqpt_setting_equipment_cat' }
- }
- // {
- // path: 'checkCat',
- // component: () => import('@/views/aqpt/setting/checkCat/index'),
- // name: 'aqpt_setting_check_cat',
- // meta: { title: '检查类别', noCache: true, permit: 'aqpt_setting_check_cat' }
- // },
- // {
- // path: 'ctrlLevel',
- // component: () => import('@/views/aqpt/setting/ctrlLevel/index'),
- // name: 'aqpt_setting_ctrl_level',
- // meta: { title: '管控层级', noCache: true, permit: 'aqpt_setting_ctrl_level' }
- // },
- // {
- // path: 'measureType',
- // component: () => import('@/views/aqpt/setting/measureType/index'),
- // name: 'aqpt_setting_measure_type',
- // meta: { title: '控制措施类型', noCache: true, permit: 'aqpt_setting_measure_type' }
- // },
- // {
- // path: 'alertType',
- // component: () => import('@/views/aqpt/setting/alertType/index'),
- // name: 'aqpt_setting_alert_type',
- // meta: { title: '预警类型', noCache: true, permit: 'aqpt_setting_alert_type' }
- // }
- ]
- }
- ]
- export default aqptRouter
|