1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| import request from '@/utils/request';
|
| // 新增拍摄航线模版
| export function addPoint(data) {
| return request({
| url: '/tower/point',
| method: 'post',
| data: data
| });
| }
|
| // 查询参数详细
| export function getPointInfo(id) {
| return request({
| url: '/tower/point/' + id,
| method: 'get'
| });
| }
|
| // 根据设备di获取设备的飞行航线模版
| export function obtainRealData(flightTemplateId, deviceId) {
| return request({
| url: `/tower/route/getTrueBearing/${flightTemplateId}/${deviceId}`,
| method: 'get'
| });
| }
|
| // 根据设备di获取设备的飞行航线模版
| export function flyDataInfo(deviceId) {
| return request({
| url: '/tower/point/device/' + deviceId,
| method: 'get'
| });
| }
|
| export function buildKmz(data) {
| return request({
| url: '/buildKmz',
| method: 'post',
| data: data
| });
| }
|
|