| | |
| | | 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]
|
| | |
| | | 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',
|