Explorar el Código

历史沿革修改

WQQ hace 2 semanas
padre
commit
2fccb54371

BIN
src/assets/images/水文半自动化.png


BIN
src/assets/video/昆山水务水文三维孪生半自动.mp4


+ 2 - 11
src/views/history/index.vue

@@ -71,13 +71,6 @@ const events = ref([
     description: "引入自动化水位自动记录设备,逐步实现水位监测数据的自动采集,提高了数据采集效率。",
     impact: "提升了水文监测的准确性和时效性。"
   },
-  {
-    year: "1995",
-    title: "水质监测体系建立",
-    shortTitle: "水质监测建立",
-    description: "建立完善的水质监测网络,增设多个水质监测点,全面监控水体质量变化。",
-    impact: "实现了从水量监测向水量水质综合监测的转变。"
-  },
   {
     year: "2005",
     title: "信息化建设启动",
@@ -110,12 +103,10 @@ function selectEvent(index) {
   if (index === 1) {
     emit("changeVideo", "auto")
   } else if (index === 2) {
-    emit("changeVideo", "water")
-  } else if (index === 3) {
     emit("changeVideo", "3d")
-  } else if (index === 4) {
+  } else if (index === 3) {
     emit("changeVideo", "smart")
-  } else if (index === 5) {
+  } else if (index === 4) {
     emit("changeVideo", "wisdom")
   } else {
     emit("changeVideo", "manual")

+ 7 - 5
src/views/map/index.vue

@@ -504,14 +504,16 @@ function handleMenuSelect(index) {
 }
 
 function handleVideoChange(videoType) {
-  if (videoType === "water") {
+  if (videoType === "water" || videoType === "auto") {
     state.showHistoryImage = true
-    state.historyImageSrc = new URL("@/assets/video/昆山水务水文水质监测.png", import.meta.url).href
+    if (videoType === "auto") {
+      state.historyImageSrc = new URL("@/assets/images/水文半自动化.png", import.meta.url).href
+    } else {
+      state.historyImageSrc = new URL("@/assets/video/昆山水务水文水质监测.png", import.meta.url).href
+    }
   } else {
     state.showHistoryImage = false
-    if (videoType === "auto") {
-      state.historyVideoSrc = new URL("@/assets/video/昆山水务水文自动化起步.mp4", import.meta.url).href
-    } else if (videoType === "3d") {
+    if (videoType === "3d") {
       state.historyVideoSrc = new URL("@/assets/video/昆山水务水文三维孪生半自动.mp4", import.meta.url).href
     } else if (videoType === "smart") {
       state.historyVideoSrc = new URL("@/assets/video/昆山水务水文三维孪生智能.mp4", import.meta.url).href