功能噪声gis达标率统计

This commit is contained in:
weicw
2022-01-27 03:53:08 +08:00
parent bba7fc5345
commit 69c5a1a921
4 changed files with 15 additions and 15 deletions

View File

@@ -262,6 +262,7 @@ export default {
myCompOverlay.addEventListener('mouseover', function (e) {
let currentId = e.target.getAttribute("id")
setTimeout(() => {
}, 300)
let bodyInfo = document.getElementsByTagName("body")[0]
@@ -274,8 +275,10 @@ export default {
let calcWidth = screenWidth - mapWidth
// let calcHeight = screenHeight - mapHeight
console.log("=================================================================================================")
that.tipData = that.pointData[Number(currentId.substring(2, currentId.length))]
that.tipFlag = true
that.tipData = that.pointData[currentId.substring(2, currentId.length)]
that.currentX = e.pageX - calcWidth
that.currentY = e.pageY - 80
})
@@ -321,9 +324,9 @@ export default {
scene.removeLayer(pointLayer)
}
getGradeAll(this.where.monitorYear).then(res=>{
that.pointData = []
that.gradeData = []
if (res.data.code == 0 && res.data.data.length > 0) {
this.gradeData = res.data
this.gradeData = res.data.data
}
})
getPlaceGis(this.where).then((res) => {