Compare commits
2 Commits
9d47edf1d6
...
2be2382c44
| Author | SHA1 | Date |
|---|---|---|
|
|
2be2382c44 | |
|
|
56607173a5 |
|
|
@ -24,7 +24,7 @@
|
||||||
<img class="img" src="/src/assets/images/chart/xunchaguiji/locationicon.png" />
|
<img class="img" src="/src/assets/images/chart/xunchaguiji/locationicon.png" />
|
||||||
<span>位置</span>
|
<span>位置</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="rotatebox flex ai-c jc-c">
|
<div class="rotatebox flex ai-c jc-c" @click="rotateLine(item)">
|
||||||
<img class="img" src="/src/assets/images/chart/xunchaguiji/rotateicon.png" />
|
<img class="img" src="/src/assets/images/chart/xunchaguiji/rotateicon.png" />
|
||||||
<span>轨迹</span>
|
<span>轨迹</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -84,6 +84,21 @@ const handlerAddEntity = (data) => {
|
||||||
window.graphicLayer.addGraphic(graphic);
|
window.graphicLayer.addGraphic(graphic);
|
||||||
window.globalMap.flyToGraphic(graphic,{radius:300});
|
window.globalMap.flyToGraphic(graphic,{radius:300});
|
||||||
}
|
}
|
||||||
|
const rotateLine = (data)=>{
|
||||||
|
axios({
|
||||||
|
method: "post",
|
||||||
|
url: VITE_GLOB_API_URL + '/api/FirePatrol/GetPatrolPointByTime',
|
||||||
|
data: {
|
||||||
|
page: 1,
|
||||||
|
limit: 9999
|
||||||
|
},
|
||||||
|
headers: {
|
||||||
|
'X-Token': localStorage.getItem("X-Token")
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
const getListData=()=>{
|
const getListData=()=>{
|
||||||
axios({
|
axios({
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|
@ -101,7 +116,7 @@ const getListData=()=>{
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// getListData()
|
getListData()
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue