From b3ac30a5a5540b6e376fac7de98f5670a98e785e Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 25 Oct 2023 17:27:11 +0800
Subject: [PATCH] fix:实时风场图点击弹窗修改
---
src/components/Wind/Map.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/components/Wind/Map.vue b/src/components/Wind/Map.vue
index 50d3619..ea6a88a 100644
--- a/src/components/Wind/Map.vue
+++ b/src/components/Wind/Map.vue
@@ -1428,24 +1428,25 @@
return bgColorList
},
deviceDetail () {
- console.log('this.farterItem', this.farterItem)
+ console.log('this.farterItem', this.clickmac)
+ console.log('this.childerItem', this.childerItem)
this.monitorPointInfo = this.farterItem
this.$router.push({
name: 'deviceDetail',
params: {
monitorPointInfo: this.farterItem,
- device: this.clickmac,
+ device: this.childerItem,
macName: this.clickmac,
indexs: this.indexsLaber,
- items: [this.clickmac.latitude, this.clickmac.longitude]
+ items: [this.childerItem.latitude, this.childerItem.longitude]
},
query: {
monitorPointInfo: JSON.stringify(this.farterItem),
- device: JSON.stringify(this.clickmac),
+ device: JSON.stringify(this.childerItem),
macName: this.clickmac,
indexs: this.indexsLaber,
- items: [this.clickmac.latitude, this.clickmac.longitude]
+ items: [this.childerItem.latitude, this.childerItem.longitude]
}
})
},
@@ -1480,6 +1481,7 @@
.openPopup()
return
}
+ this.childerItem.name = res.data.name
let colorliststyleBgColor = this.styleBgColor(res.data)
console.log('colorliststyleBgColor', colorliststyleBgColor)
let deviceDetails = res.data
--
Gitblit v1.8.0