hmm vor 3 Monaten
Ursprung
Commit
1fa654a310

+ 4 - 4
src/views/globalMap/RightMenu/TrafficVideo.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="menu-content">
     <div class="container">
-      <div class="gradient-text title">防灾救援</div>
+      <div class="gradient-text title">交通视频</div>
       <div class="box-left">
         <el-input v-model="queryParams.keyword" class="custom-input" placeholder="搜索" @input="initData">
           <template #prefix>
@@ -38,7 +38,7 @@
           </div>
         </div>
       </div>
-      <Dialog v-if="showDialog" v-model="showDialog" type="md" title="防灾救援" hide-footer>
+      <Dialog v-if="showDialog" v-model="showDialog" type="md" title="交通视频" hide-footer>
         <div style="width: 100%; height: 100%; display: flex; justify-content: center; align-items: center">
           <HKVideo :dot_data="videoMonitorData" />
         </div>
@@ -49,7 +49,7 @@
 
 <script lang="ts" setup>
 import { Search } from '@element-plus/icons-vue';
-import { getRescue } from '@/api/globalMap/mitigation';
+import { getRescue, getTraffic } from "@/api/globalMap/mitigation";
 import { deepClone } from '@/utils';
 
 const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -81,7 +81,7 @@ const initData = () => {
   };
   delete newQueryParams.area;
   delete newQueryParams.keyword;
-  getRescue(newQueryParams).then((res) => {
+  getTraffic(newQueryParams).then((res) => {
     listData.value = res.rows;
     total.value = res.total;
   });

+ 1 - 0
src/views/globalMap/RightMenu/index.vue

@@ -122,6 +122,7 @@ import MobileCommandVehicle from './MobileCommandVehicle.vue';
 import Helicopter from './Helicopter.vue';
 import TyphoonVideo from './TyphoonVideo.vue';
 import RescueTeam from './RescueTeam.vue';
+import TrafficVideo from './TrafficVideo.vue';
 interface Props {
   pointType: PointType[];
   activeMap: string;