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