人员列表

main
userName 2025-04-03 17:02:41 +08:00
parent 57ab939a67
commit 56607173a5
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" /> <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>