123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382 |
- 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: "/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: "/hydrologicalMonitor",
- name: "HydrologicalMonitor",
- component: () => import("@/views/disasterRiskMonitor/hydrologicalMonitor/index.vue"),
- meta: {
- title: "水文监测",
- noCache: true
- }
- },
- {
- path: "/reservoirMonitor",
- name: "ReservoirMonitor",
- component: () => import("@/views/disasterRiskMonitor/hydrologicalMonitor/reservoirMonitor.vue"),
- meta: {
- title: "水库监测",
- noCache: true
- }
- },
- {
- path: "/riverMonitor",
- name: "RiverMonitor",
- component: () => import("@/views/disasterRiskMonitor/hydrologicalMonitor/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: "/infoReception",
- name: "InfoReception",
- component: Layout,
- children: [
- {
- 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: "/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: "巡查结果"
- }
- }
- ];
- // 领导端动态菜单
- 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: "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: "address_book",
- name: "AddressBook",
- component: () => import("@/views/addressBook/index.vue"),
- meta: {
- title: "通讯录",
- noCache: true
- }
- },
- {
- path: "my",
- name: "My",
- component: () => import("@/views/about/index.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: "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
- }
- }
- ]
- }
- ];
|