|
@@ -87,40 +87,10 @@
|
|
<div class="qkq_tdzy">
|
|
<div class="qkq_tdzy">
|
|
<div class="qkq_tit">监测预警</div>
|
|
<div class="qkq_tit">监测预警</div>
|
|
<ul class="qkq_csnl scrollbar">
|
|
<ul class="qkq_csnl scrollbar">
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <h4><span class="blue">【城市内涝点】</span>飞跃路与越野街交汇</h4>
|
|
|
|
- <p>预警事件:内涝点积水</p>
|
|
|
|
- <p>预警时间:2024年8月2日09:51:53</p>
|
|
|
|
|
|
+ <li v-for="(item, index) in eventData" :key="index">
|
|
|
|
+ <h4><span class="blue">【{{ item.warnTypeName }}】</span>{{ item.warnAddress}}</h4>
|
|
|
|
+ <p>预警事件:{{ item.warnEvent}}</p>
|
|
|
|
+ <p>预警时间:{{ item.warnTime}}</p>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@@ -131,8 +101,8 @@
|
|
<!--右侧结束-->
|
|
<!--右侧结束-->
|
|
<!-- 多选按钮 开始 -->
|
|
<!-- 多选按钮 开始 -->
|
|
<form class="qkq_dx">
|
|
<form class="qkq_dx">
|
|
- <label><input type="checkbox" name="ckbx" id="sxt" @click="handleClick"/>摄像头</label>
|
|
|
|
- <label><input checked type="checkbox" name="ckbx" id="yjcs" @click="handleClick"/>应急场所</label>
|
|
|
|
|
|
+ <label><input checked type="checkbox" name="ckbx" id="sxt" @click="handleClick"/>摄像头</label>
|
|
|
|
+ <label><input type="checkbox" name="ckbx" id="yjcs" @click="handleClick"/>应急场所</label>
|
|
<label><input type="checkbox" name="ckbx" id="nld" @click="handleClick"/>城市内涝点</label>
|
|
<label><input type="checkbox" name="ckbx" id="nld" @click="handleClick"/>城市内涝点</label>
|
|
<label><input type="checkbox" name="ckbx" id="jyd" @click="handleClick"/>抢险救援队</label>
|
|
<label><input type="checkbox" name="ckbx" id="jyd" @click="handleClick"/>抢险救援队</label>
|
|
<label><input type="checkbox" name="ckbx" id="fxwz" @click="handleClick"/>防汛物资</label>
|
|
<label><input type="checkbox" name="ckbx" id="fxwz" @click="handleClick"/>防汛物资</label>
|
|
@@ -199,6 +169,7 @@ import {
|
|
selectQkEmergencyRescueTeamAllList,
|
|
selectQkEmergencyRescueTeamAllList,
|
|
selectQkEmergencyShelterAllList,
|
|
selectQkEmergencyShelterAllList,
|
|
selectQkRescueSuppliesAllList,
|
|
selectQkRescueSuppliesAllList,
|
|
|
|
+ warnEventAllList
|
|
} from "@/api/system/aqyj";
|
|
} from "@/api/system/aqyj";
|
|
import supermap from "@/views/supermap/supermap";
|
|
import supermap from "@/views/supermap/supermap";
|
|
|
|
|
|
@@ -215,6 +186,7 @@ export default {
|
|
team: [],
|
|
team: [],
|
|
shelter: [],
|
|
shelter: [],
|
|
supplies: [],
|
|
supplies: [],
|
|
|
|
+ eventData: [],
|
|
sltProps: null,
|
|
sltProps: null,
|
|
teamCurrent: null,
|
|
teamCurrent: null,
|
|
shelterCurrent: null,
|
|
shelterCurrent: null,
|
|
@@ -232,6 +204,7 @@ export default {
|
|
this.selectQkEmergencyRescueTeamAllList();
|
|
this.selectQkEmergencyRescueTeamAllList();
|
|
this.selectQkEmergencyShelterAllList();
|
|
this.selectQkEmergencyShelterAllList();
|
|
this.selectQkRescueSuppliesAllList();
|
|
this.selectQkRescueSuppliesAllList();
|
|
|
|
+ this.warnEventAllList();
|
|
// this.resourceDistribution();
|
|
// this.resourceDistribution();
|
|
// this.deviceOnline();
|
|
// this.deviceOnline();
|
|
// this.deviceOffline();
|
|
// this.deviceOffline();
|
|
@@ -321,57 +294,54 @@ export default {
|
|
this.$refs.supermap.addMarkers(dataSource, "yjcs")
|
|
this.$refs.supermap.addMarkers(dataSource, "yjcs")
|
|
this.$refs.supermap.dropLocation(val.latitude, val.longitude);
|
|
this.$refs.supermap.dropLocation(val.latitude, val.longitude);
|
|
},
|
|
},
|
|
|
|
+ //查询监测预警全部列表
|
|
|
|
+ warnEventAllList() {
|
|
|
|
+ warnEventAllList().then(response => {
|
|
|
|
+ this.eventData = response.data;
|
|
|
|
+ })
|
|
|
|
+ },
|
|
//可视化查询抢险救援队列表
|
|
//可视化查询抢险救援队列表
|
|
selectQkEmergencyRescueTeamAllList() {
|
|
selectQkEmergencyRescueTeamAllList() {
|
|
selectQkEmergencyRescueTeamAllList().then(response => {
|
|
selectQkEmergencyRescueTeamAllList().then(response => {
|
|
this.team = response.data;
|
|
this.team = response.data;
|
|
})
|
|
})
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
//可视化查询应急避难所列表
|
|
//可视化查询应急避难所列表
|
|
selectQkEmergencyShelterAllList() {
|
|
selectQkEmergencyShelterAllList() {
|
|
selectQkEmergencyShelterAllList().then(response => {
|
|
selectQkEmergencyShelterAllList().then(response => {
|
|
this.shelter = response.data;
|
|
this.shelter = response.data;
|
|
})
|
|
})
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
//可视化查询防汛抗旱物资储备列表
|
|
//可视化查询防汛抗旱物资储备列表
|
|
selectQkRescueSuppliesAllList() {
|
|
selectQkRescueSuppliesAllList() {
|
|
selectQkRescueSuppliesAllList().then(response => {
|
|
selectQkRescueSuppliesAllList().then(response => {
|
|
this.supplies = response.data;
|
|
this.supplies = response.data;
|
|
})
|
|
})
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
sltHandle() {
|
|
sltHandle() {
|
|
this.btnOne = true
|
|
this.btnOne = true
|
|
this.btnTwo = false
|
|
this.btnTwo = false
|
|
this.$refs.supermap.getSupermap(null, null, null, "slt", null, null)
|
|
this.$refs.supermap.getSupermap(null, null, null, "slt", null, null)
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
yxtHandle() {
|
|
yxtHandle() {
|
|
this.btnTwo = true
|
|
this.btnTwo = true
|
|
this.btnOne = false
|
|
this.btnOne = false
|
|
this.$refs.supermap.getSupermap(null, null, null, "yxt", null, null)
|
|
this.$refs.supermap.getSupermap(null, null, null, "yxt", null, null)
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
handleNavigation(route) {
|
|
handleNavigation(route) {
|
|
this.$router.push({path: route});
|
|
this.$router.push({path: route});
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
homePage(route) {
|
|
homePage(route) {
|
|
this.$router.push({path: route});
|
|
this.$router.push({path: route});
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
cameraList() {
|
|
cameraList() {
|
|
getCameraList().then(response => {
|
|
getCameraList().then(response => {
|
|
this.cameras = response.data;
|
|
this.cameras = response.data;
|
|
})
|
|
})
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
toggleDropdown(event) {
|
|
toggleDropdown(event) {
|
|
this.dropdownVisible = !this.dropdownVisible;
|
|
this.dropdownVisible = !this.dropdownVisible;
|
|
- }
|
|
|
|
- ,
|
|
|
|
|
|
+ },
|
|
|
|
|
|
resourceDistribution() {
|
|
resourceDistribution() {
|
|
//资源分布
|
|
//资源分布
|
|
@@ -1232,7 +1202,7 @@ export default {
|
|
qkq_aqcn_chart() {
|
|
qkq_aqcn_chart() {
|
|
var myChart = echarts.init(document.getElementById('qkq_aqcn_chart'));
|
|
var myChart = echarts.init(document.getElementById('qkq_aqcn_chart'));
|
|
var getvalue=[100];
|
|
var getvalue=[100];
|
|
-
|
|
|
|
|
|
+
|
|
var option = {
|
|
var option = {
|
|
title: {
|
|
title: {
|
|
text: getvalue+'%',
|
|
text: getvalue+'%',
|
|
@@ -1250,7 +1220,7 @@ export default {
|
|
top: '37%'
|
|
top: '37%'
|
|
},
|
|
},
|
|
tooltip: {
|
|
tooltip: {
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
angleAxis: {
|
|
angleAxis: {
|
|
max: 100,
|
|
max: 100,
|
|
@@ -1266,7 +1236,7 @@ export default {
|
|
},
|
|
},
|
|
axisLine: {
|
|
axisLine: {
|
|
show: false,
|
|
show: false,
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
axisTick: {
|
|
axisTick: {
|
|
show: false
|
|
show: false
|