Compare commits

...

2 Commits

Author SHA1 Message Date
userName 2be2382c44 Merge branch 'main' of http://123.132.248.154:10000/gitY/LinYeFangHuo 2025-04-03 17:02:51 +08:00
userName 56607173a5 人员列表 2025-04-03 17:02:41 +08:00
1 changed files with 17 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<img class="img" src="/src/assets/images/chart/xunchaguiji/locationicon.png" />
<span>位置</span>
</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" />
<span>轨迹</span>
</div>
@ -84,6 +84,21 @@ const handlerAddEntity = (data) => {
window.graphicLayer.addGraphic(graphic);
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=()=>{
axios({
method: "post",
@ -101,7 +116,7 @@ const getListData=()=>{
})
}
onMounted(() => {
// getListData()
getListData()
})
</script>