人员列表
parent
57ab939a67
commit
56607173a5
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue