diff --git a/ruoyi-ui/src/views/board/GPS/index.vue b/ruoyi-ui/src/views/board/GPS/index.vue index b57f1ea..0b8c832 100644 --- a/ruoyi-ui/src/views/board/GPS/index.vue +++ b/ruoyi-ui/src/views/board/GPS/index.vue @@ -42,7 +42,7 @@
地图定点 - 设备信息 + 设备信息
@@ -115,7 +115,40 @@ - + + + + + {{ equipmentInfo.longitude }} + + + + {{ equipmentInfo.latitude }} + + + + {{ equipmentInfo.deviceName }} + + + + {{ equipmentInfo.deviceLocation }} + + + + {{ equipmentInfo.remark }} + + +
-
+
@@ -82,6 +82,7 @@
+
{{ k + 1 }}
{{ i.deviceName }}
- + e.properties.pid === this.code.toString())}) this.isTown = false - }else{ + } else { this.chartDblClick(this.code) } }, @@ -906,9 +906,11 @@ export default { position: [e.longitude, e.latitude], title: `信息\n经度:${e.longitude}\n纬度:${e.latitude}\n名称:${e.deviceName}\n`, offset: new AMap.Pixel(-15, -30), - content: `
- -
` + content: `
+ + + +
` }); marker.on('click', async () => { if (markerIds.includes(e.deviceId)) { @@ -942,7 +944,7 @@ export default { title: `信息\n经度:${e.longitude}\n纬度:${e.latitude}\n名称:${e.deviceName}\n`, offset: new AMap.Pixel(-15, -30), content: `
- +
` }); marker.on('click', async () => { @@ -979,7 +981,7 @@ export default { e.forEach(v => { let arr = this.options.filter(r => r.value.deviceId === v) || [] if (arr.length > 0) { - this.setMarker(arr[0].value) + this.setMarker1(arr[0].value) } }) map.setFitView(markers) @@ -1279,25 +1281,14 @@ export default { @keyframes an1 { 0% { - fill: #3D93FD; + opacity: 1; } 50% { - fill: #ffffff; + opacity: 0; } 100% { - fill: #3D93FD; + opacity: 1; } } -@keyframes an2 { - 0% { - fill: #ff0000; - } - 50% { - fill: #ffffff; - } - 100% { - fill: #ff0000; - } -}