| | |
| | | } |
| | | |
| | | // 获取两点之间的高度和距离 |
| | | export const getTwoPointInfo = async function (workspace_id: String,personLat:Number,personLng:Number,pointLat:Number,pointLng:Number): Promise<IWorkspaceResponse<any>> { |
| | | export const getTwoPointInfo = async function (workspace_id: string,personLat:number,personLng:number,pointLat:number,pointLng:number): Promise<IWorkspaceResponse<any>> { |
| | | const url = `${HTTP_PREFIX_H5}/getPointInfo/${workspace_id}/?personLat=${personLat}&personLng=${personLng}&pointLat=${pointLat}&pointLng=${pointLng}` |
| | | const result = await request.get(url) |
| | | return result.data |
| | |
| | | </template> |
| | | </div> |
| | | <div class="drone-pilot-btns"> |
| | | <div class="drone-pilot" @click="dronePilotClick(false, 'drone')" :class="{ active:!droneOrPilot }">机场</div> |
| | | <div class="drone-pilot" @click="dronePilotClick(false, 'drone')" :class="{ active:!droneOrPilot }">机场11</div> |
| | | <div class="drone-pilot" @click="dronePilotClick(true, 'pilot')" :class="{ active:droneOrPilot }">遥控器</div> |
| | | </div> |
| | | </div> |