无人机管理后台前端(已迁走)
chenyao
2025-09-11 206a737eaec3d920f3bce764fdff0fc8652e9b0a
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import request from '@/axios';
 
export const getUsualList = (current, size) => {
  return request({
    url: '/blade-log/usual/list',
    method: 'get',
    params: {
      current,
      size,
    },
  });
};
 
export const getApiList = (current, size,params) => {
  return request({
    url: '/blade-log/api/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
  });
};
 
export const getErrorList = (current, size,params) => {
  return request({
    url: '/blade-log/error/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
  });
};
 
export const getUsualLogs = id => {
  return request({
    url: '/blade-log/usual/detail',
    method: 'get',
    params: {
      id,
    },
  });
};
export const getApiLogs = id => {
  return request({
    url: '/blade-log/api/detail',
    method: 'get',
    params: {
      id,
    },
  });
};
export const getErrorLogs = id => {
  return request({
    url: '/blade-log/error/detail',
    method: 'get',
    params: {
      id,
    },
  });
};
 
// 历史轨迹记录
export const getHistoryTrack = (workspaceId, page, page_size) => {
  return request({
    url: '/drone-device-core/log/droneFlightLog/page',
    method: 'get',
    params: {
      page,
      page_size,
      workspaceId,
    },
  })
}