Hwf 4 місяців тому
батько
коміт
c701041d1b

+ 9 - 0
src/router/routes.ts

@@ -521,6 +521,15 @@ export const leaderRoute: Array<RouteRecordRaw> = [
           title: "责任信息",
           noCache: true
         }
+      },
+      {
+        path: "earthquakeRapidReport",
+        name: "EarthquakeRapidReport",
+        component: () => import("@/views/disasterRiskMonitor/earthquakeRapidReport.vue"),
+        meta: {
+          title: "地震速报",
+          noCache: true
+        }
       }
     ]
   }

+ 11 - 0
src/views/disasterRiskMonitor/earthquakeRapidReport.vue

@@ -0,0 +1,11 @@
+<template>
+<div>地震速报</div>
+</template>
+
+<script lang="ts" setup name="EarthquakeRapidReport">
+
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 2 - 1
src/views/leader/index.vue

@@ -130,7 +130,8 @@ const menu2 = ref([
       { name: "天气预报", icon: "weatherForecast", url: "WeatherForecast" },
       { name: "强降水", icon: "rainfall", url: "Rainfall" },
       { name: "气温降水实况", icon: "temperatureAndPrecipitation", url: "TemperatureAndPrecipitation" },
-      { name: "易涝点视频", icon: "easyToflood", url: "EasyToFloodPoint" }
+      { name: "易涝点视频", icon: "easyToflood", url: "EasyToFloodPoint" },
+      { name: "地震速报", icon: "easyToflood", url: "EarthquakeRapidReport" },
     ]
   },
   {