quanyawei
2024-01-24 f73abf24adac5812130a8cdae454d9d5e49638be
src/components/Wind/Map.vue
@@ -554,6 +554,9 @@
    window.deviceDetail = this.deviceDetail
  },
  created () {
    if (this.$store.state.orgId === 72) {
      this.changeColor = 1
    }
    const newLL = this.bd09togcj02(this.jingduNew, this.weiduNew) // 百度经纬度转高德经纬度
    this.jingduNew = newLL[1]
    this.weiduNew = newLL[0]
@@ -1491,13 +1494,16 @@
      this.indexsLaber = 0
      this.clickmac = marker.inforData.mac
      this.childerItem = marker.inforData
      console.log('this.defaultData', this.defaultData)
      this.defaultData.forEach(item => {
        item.devices.forEach((dev, index) => {
          if (dev.mac === marker.inforData.mac) {
            this.farterItem = item
            this.indexsLaber = index
          }
        })
        if (item.devices) {
          item.devices.forEach((dev, index) => {
            if (dev.mac === marker.inforData.mac) {
              this.farterItem = item
              this.indexsLaber = index
            }
          })
        }
      })
      this.$request({
        url: '/historyFiveMinutely/queryFiveDataByMac',