123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660 |
- import Layout from "@/layout/index.vue";
- import type { RouteRecordRaw } from "vue-router";
- export const constantRoutes: Array<RouteRecordRaw> = [
- {
- path: "/",
- name: "RoleSelect",
- component: () => import("@/views/index.vue"),
- meta: {
- title: "角色选择"
- }
- },
- {
- path: "/login",
- name: "Login",
- component: () => import("@/views/login.vue"),
- meta: {
- title: "登录",
- noCache: true
- }
- },
- {
- path: "/yzy/callback",
- name: "YzyCallback",
- component: () => import("@/components/YzyCallback/index.vue")
- },
- {
- path: "/warningSituation",
- name: "WarningSituation",
- component: () => import("@/views/disasterRiskMonitor/warningSituation.vue"),
- meta: {
- title: "预警态势",
- noCache: true
- }
- },
- {
- path: "/galeDisaster",
- name: "GaleDisaster",
- component: () => import("@/views/disasterRiskMonitor/galeDisaster.vue"),
- meta: {
- title: "大风灾害形势感知",
- noCache: true
- }
- },
- {
- path: "/forestFireWarn",
- name: "ForestFireWarn",
- component: () => import("@/views/disasterRiskMonitor/forestFireWarn.vue"),
- meta: {
- title: "森林火灾监测预警",
- noCache: true
- }
- },
- {
- path: "/typhoonPath",
- name: "TyphoonPath",
- component: () => import("@/views/disasterRiskMonitor/typhoonPath.vue"),
- meta: {
- title: "台风实况与预报",
- noCache: true
- }
- },
- {
- path: "/reservoirMonitor",
- name: "ReservoirMonitor",
- component: () => import("@/views/disasterRiskMonitor/reservoirMonitor.vue"),
- meta: {
- title: "水库监测",
- noCache: true
- }
- },
- {
- path: "/riverMonitor",
- name: "RiverMonitor",
- component: () => import("@/views/disasterRiskMonitor/riverMonitor.vue"),
- meta: {
- title: "河道监测",
- noCache: true
- }
- },
- {
- path: "/nonCoalMine",
- name: "NonCoalMine",
- component: () => import("@/views/disasterRiskMonitor/nonCoalMine.vue"),
- meta: {
- title: "非煤矿山应急专题",
- noCache: true
- }
- },
- {
- path: "/cityEmergencyEvent",
- name: "CityEmergencyEvent",
- component: () =>
- import("@/views/disasterRiskMonitor/cityEmergencyEvent.vue"),
- meta: {
- title: "城市应急事件专题",
- noCache: true
- }
- },
- {
- path: "/forestFirePrevention",
- name: "ForestFirePrevention",
- component: () =>
- import("@/views/disasterRiskMonitor/forestFirePrevention.vue"),
- meta: {
- title: "森林防火应急专题",
- noCache: true
- }
- },
- {
- path: "/windAndFloodPrevention",
- name: "WindAndFloodPrevention",
- component: () =>
- import("@/views/disasterRiskMonitor/windAndFloodPrevention.vue"),
- meta: {
- title: "防风防汛应急专题"
- }
- },
- {
- path: "/geologicalDisaster",
- name: "GeologicalDisaster",
- component: () =>
- import("@/views/disasterRiskMonitor/geologicalDisaster.vue"),
- meta: {
- title: "地质灾害应急专题"
- }
- },
- {
- path: "/hazardousChemicals",
- name: "HazardousChemicals",
- component: () =>
- import("@/views/disasterRiskMonitor/hazardousChemicals.vue"),
- meta: {
- title: "危化品事故专题"
- }
- },
- {
- path: "/infoDetails",
- name: "InfoDetails",
- component: () => import("@/views/InformationReception/infoDetails.vue"),
- meta: {
- title: "智慧应急消息通知详情",
- noCache: true
- }
- },
- {
- path: "/onlineRollCall",
- name: "OnlineRollCall",
- component: () => import("@/views/onlineRollCall/index.vue"),
- meta: {
- title: "在线点名",
- noCache: true
- }
- },
- {
- path: "/districtCountyRollCall",
- name: "DistrictCountyRollCall",
- component: () =>
- import("@/views/onlineRollCall/districtCountyRollCall.vue"),
- meta: {
- title: "分区县点名",
- noCache: true
- }
- },
- {
- path: "/spotCheckUnits",
- name: "SpotCheckUnits",
- component: () => import("@/views/onlineRollCall/spotCheckUnits.vue"),
- meta: {
- title: "选择抽查单位",
- noCache: true
- }
- },
- {
- path: "/rollCallRecord",
- name: "RollCallRecord",
- component: () => import("@/views/onlineRollCall/rollCallRecord.vue"),
- meta: {
- title: "在线点名记录",
- noCache: true
- }
- },
- {
- path: "/event/index",
- name: "EventList",
- component: () => import("@/views/event/index.vue"),
- meta: {
- title: "事件列表"
- }
- },
- {
- path: "/event/detail",
- name: "EventDetail",
- component: () => import("@/views/event/detail.vue"),
- meta: {
- title: "事件详情页",
- noCache: true
- }
- },
- {
- path: "/event/add",
- name: "EventAdd",
- component: () => import("@/views/event/add.vue"),
- meta: {
- title: "事件报送",
- noCache: true
- }
- },
- {
- path: "/event/emergencyNotify",
- name: "EventAdd",
- component: () => import("@/views/event/EmergencyNotify.vue"),
- meta: {
- title: "预案响应通知",
- noCache: true
- }
- },
- {
- path: "/event/emergencyNotify",
- name: "EventAdd",
- component: () => import("@/views/event/EmergencyNotify.vue"),
- meta: {
- title: "预案响应通知",
- noCache: true
- }
- },
- {
- path: "/signPage",
- name: "signPage",
- component: () => import("@/views/signPage/index.vue"),
- meta: {
- title: "签到签退"
- }
- },
- {
- path: "/signOK",
- name: "signOK",
- component: () => import("@/views/signPage/signok.vue"),
- meta: {
- title: "签到签退成功"
- }
- },
- {
- path: "/InformationReception",
- name: "InformationReception",
- component: () => import("@/views/InformationReception/index.vue"),
- meta: {
- title: "消息中心"
- }
- },
- {
- path: "/patorlTaskResultAdd",
- name: "patorlTaskResultAdd",
- component: () =>
- import("@/views/worker/inspectionWork/patorlTaskResultAdd.vue"),
- meta: {
- title: "巡查上报"
- }
- },
- {
- path: "/patorlTaskResultList",
- name: "patorlTaskResultList",
- component: () =>
- import("@/views/worker/inspectionWork/patorlTaskResultList.vue"),
- meta: {
- title: "巡查结果"
- }
- },
- {
- path: "/InvestigationResultAdd",
- name: "InvestigationResultAdd",
- component: () =>
- import("@/views/worker/riskManagement/InvestigationResultAdd.vue"),
- meta: {
- title: "上报"
- }
- },
- {
- path: "/InvestigationResultList",
- name: "InvestigationResultList",
- component: () =>
- import("@/views/worker/riskManagement/InvestigationResultList.vue"),
- meta: {
- title: "排查结果"
- }
- },
- {
- path: "/rescueGatherResultAdd",
- name: "rescueGatherResultAdd",
- component: () =>
- import("@/views/worker/rescueManagement/rescueGatherResultAdd.vue"),
- meta: {
- title: "上报"
- }
- },
- {
- path: "/rescueGatherResultList",
- name: "rescueGatherResultList",
- component: () =>
- import("@/views/worker/rescueManagement/rescueGatherResultList.vue"),
- meta: {
- title: "采集结果"
- }
- },
- {
- path: "/taskFeebackDetail",
- name: "taskFeebackDetail",
- component: () =>
- import("@/views/worker/eventManagement/taskFeebackDetail.vue"),
- meta: {
- title: "任务详情"
- }
- },
- {
- path: "/workApproval/index",
- name: "workApprovalIndex",
- component: () => import("@/views/workApproval/index.vue"),
- meta: {
- title: "工作审批"
- }
- },
- {
- path: "/workApproval/detail",
- name: "workApprovalDetail",
- component: () => import("@/views/workApproval/detail.vue"),
- meta: {
- title: "审批详情"
- }
- },
- {
- path: "/workApproval/redirect",
- name: "workApprovalRedirect",
- component: () => import("@/views/workApproval/approvalRedirect.vue"),
- meta: {
- title: "转交"
- }
- },
- {
- path: "/rollCallDetails",
- name: "RollCallDetails",
- component: () => import("@/views/onlineRollCall/rollCallDetails.vue"),
- meta: {
- title: "选择抽查单位",
- noCache: true
- }
- },
- {
- path: "/rollCallRecord2",
- name: "rollCallRecord2",
- component: () => import("@/views/onlineRollCall/rollCallRecord2.vue"),
- meta: {
- title: "点名记录",
- noCache: true
- }
- },
- {
- path: "/event/EmergencyPersonSubmitted",
- name: "EmergencyPersonSubmitted",
- component: () => import("@/views/event/EmergencyPersonSubmitted.vue"),
- meta: {
- title: "响应人员报送",
- noCache: true
- }
- },
- {
- path: "/taskProgressUpdate",
- name: "TaskProgressUpdate",
- component: () => import("@/views/mobileControl/TaskProgressUpdate.vue"),
- meta: {
- title: "任务进度更新",
- noCache: true
- }
- },
- {
- path: "/workRequest",
- name: "WorkRequest",
- component: () => import("@/views/mobileControl/WorkRequest.vue"),
- meta: {
- title: "工作请示",
- noCache: true
- }
- },
- {
- path: "/taskRegistration",
- name: "TaskRegistration",
- component: () => import("@/views/mobileControl/TaskRegistration.vue"),
- meta: {
- title: "任务消息详情",
- noCache: true
- }
- }
- ];
- // 领导端动态菜单
- export const leaderRoute: Array<RouteRecordRaw> = [
- {
- path: "/leader",
- name: "Leader",
- component: Layout,
- children: [
- {
- path: "index",
- name: "LeaderIndex",
- component: () => import("@/views/leader/index.vue"),
- meta: {
- title: "首页",
- noCache: true
- }
- },
- {
- path: "mobile_control",
- name: "MobileControl",
- component: () => import("@/views/mobileControl/index.vue"),
- meta: {
- title: "移动指挥",
- noCache: true
- }
- },
- {
- path: "three_prevention_responsible_person",
- name: "ThreePreventionResponsiblePerson",
- component: () =>
- import("@/views/threePreventionResponsiblePerson/index.vue"),
- meta: {
- title: "三防责任人",
- noCache: true
- }
- },
- {
- path: "address_book",
- name: "AddressBook",
- component: () => import("@/views/addressBook/index.vue"),
- meta: {
- title: "通讯录",
- noCache: true
- }
- },
- {
- path: "emergency_response",
- name: "EmergencyResponse",
- component: () =>
- import("@/views/disasterRiskMonitor/emergencyResponse/index.vue"),
- meta: {
- title: "应急响应",
- noCache: true
- }
- },
- {
- path: "satellite_cloud_chart",
- name: "SatelliteCloudchart",
- component: () =>
- import("@/views/disasterRiskMonitor/satelliteCloudChart.vue"),
- meta: {
- title: "卫星云图",
- noCache: true
- }
- },
- {
- path: "rainfall",
- name: "Rainfall",
- component: () => import("@/views/disasterRiskMonitor/rainfall.vue"),
- meta: {
- title: "强降水",
- noCache: true
- }
- },
- {
- path: "radar_echo_map",
- name: "RadarEchoMap",
- component: () => import("@/views/disasterRiskMonitor/radarEchoMap.vue"),
- meta: {
- title: "雷达回波图",
- noCache: true
- }
- },
- {
- path: "temperatur_and_precipitation",
- name: "TemperatureAndPrecipitation",
- component: () =>
- import("@/views/disasterRiskMonitor/temperatureAndPrecipitation.vue"),
- meta: {
- title: "气温降水实况",
- noCache: true
- }
- },
- {
- path: "weather_forecast",
- name: "WeatherForecast",
- component: () =>
- import("@/views/disasterRiskMonitor/weatherForecast.vue"),
- meta: {
- title: "天气预报",
- noCache: true
- }
- },
- {
- path: "easy_to_flood_point",
- name: "EasyToFloodPoint",
- component: () =>
- import("@/views/disasterRiskMonitor/easyToFloodPoint.vue"),
- meta: {
- title: "易涝点视频",
- noCache: true
- }
- },
- {
- path: "person_information",
- name: "PersonInformation",
- component: () =>
- import(
- "@/views/threePreventionResponsiblePerson/personInformation.vue"
- ),
- meta: {
- title: "个人信息",
- noCache: true
- }
- },
- {
- path: "editPersonInformation",
- name: "EditPersonInformation",
- component: () =>
- import(
- "@/views/threePreventionResponsiblePerson/editPersonInformation.vue"
- ),
- meta: {
- title: "责任信息",
- noCache: true
- }
- },
- {
- path: "earthquakeRapidReport",
- name: "EarthquakeRapidReport",
- component: () => import("@/views/disasterRiskMonitor/earthquakeRapidReport/index.vue"),
- meta: {
- title: "地震速报",
- noCache: true
- }
- },
- {
- path: "EarthquakeRapidReportDetails",
- name: "EarthquakeRapidReportDetails",
- component: () => import("@/views/disasterRiskMonitor/earthquakeRapidReport/earthquakeRapidReportDetail.vue"),
- meta: {
- title: "地震速报",
- noCache: true
- }
- },
- {
- path: "expertdatabase",
- name: "ExpertDatabase",
- component: () =>
- import("@/views/disasterRiskMonitor/expertDatabase.vue"),
- meta: {
- title: "专家库",
- noCache: true
- }
- },
- {
- path: "expertinformation",
- name: "Expertinformation",
- component: () =>
- import("@/views/disasterRiskMonitor/expertinformation.vue"),
- meta: {
- title: "专家个人信息",
- noCache: true
- }
- }
- ]
- }
- ];
- export const workerRoute = [
- {
- path: "/worker",
- name: "Worker",
- component: Layout,
- redirect: "Index",
- children: [
- {
- path: "index",
- name: "WorkerIndex",
- component: () => import("@/views/worker/index.vue"),
- meta: {
- title: "首页",
- noCache: true
- }
- },
- {
- path: "mobile_control",
- name: "MobileControl",
- component: () => import("@/views/mobileControl/index.vue"),
- meta: {
- title: "移动指挥",
- noCache: true
- }
- },
- {
- path: "event",
- name: "workerEvent",
- component: () => import("@/views/worker/eventManagement/index.vue"),
- meta: {
- title: "事件管理",
- noCache: true
- }
- },
- {
- path: "inspectionWork",
- name: "inspectionWork",
- component: () => import("@/views/worker/inspectionWork/index.vue"),
- meta: {
- title: "巡查工作",
- noCache: true
- }
- },
- {
- path: "riskManagement",
- name: "riskManagement",
- component: () => import("@/views/worker/riskManagement/index.vue"),
- meta: {
- title: "风险防控"
- }
- },
- {
- path: "rescueManagement",
- name: "rescueManagement",
- component: () => import("@/views/worker/rescueManagement/index.vue"),
- meta: {
- title: "数据管理"
- }
- },
- {
- path: "duty",
- name: "Duty",
- component: () => import("@/views/duty/index.vue"),
- meta: {
- title: "值班管理",
- noCache: true
- }
- },
- {
- path: "rollCallRecord2",
- name: "rollCallRecord2",
- component: () => import("@/views/onlineRollCall/rollCallRecord2.vue"),
- meta: {
- title: "点名记录",
- noCache: true
- }
- },
- {
- path: "my",
- name: "My",
- component: () => import("@/views/about/index.vue"),
- meta: {
- title: "我",
- noCache: true
- }
- }
- ]
- }
- ];
|