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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
| // 小程序相关接口
| import { request } from "@/utils/request"
|
| // 通知公告列表 noticeType=2 政策制度 1法律法规
| export const sysNoticePageInfoApi = data => {
| return request({
| url: `/system/sysNotice/pageInfo`,
| method: 'post',
| data,
| })
| }
|
| // 空域分页查询
| export const flightAirspacePageInfoApi = data => {
| return request({
| url: `/webservice/flightAirspace/pageInfo`,
| method: 'post',
| data,
| })
| }
|
| // 设备列表
| export const aircraftInfoPageInfoOfMyApi = data => {
| return request({
| url: `/webservice/aircraftInfo/pageInfoOfMy`,
| method: 'post',
| data,
| })
| }
|
| // 我的设备
| export const myDevicePageInfoApi = params => {
| return request({
| url: `/webservice/aircraftInfo/queryById/${params.id}`,
| method: 'post',
| params,
| })
| }
|
| // 飞行申请列表
| export const flightPlanPageInfoApi = data => {
| return request({
| url: `/webservice/flightPlan/pageInfo`,
| method: 'post',
| data,
| })
| }
|
| // 航空器注册
| export const aircraftInfoSaveApi = data => {
| return request({
| url: `/webservice/aircraftInfo/save`,
| method: 'post',
| data,
| })
| }
|
| // 飞行计划申请
| export const flightPlanSaveApi = data => {
| return request({
| url: `/webservice/flightPlan/save`,
| method: 'post',
| data,
| })
| }
|
| // 选择航线
| export const flightRoutePageInfoApi = data => {
| return request({
| url: `/webservice/jaRoute/pageInfoMy`,
| method: 'post',
| data,
| })
| }
|
| // 飞手列表
| export const pilotInfoPageInfoOfMyApi = data => {
| return request({
| url: `/webservice/pilotInfo/pageInfoOfMy`,
| method: 'post',
| data,
| })
| }
|
| // 上传文件接口
| export const uploadFileApi = data => {
| return request({
| url: `/system/file/upload`,
| method: 'UPLOAD',
| data,
| header: {
| 'Content-Type': 'multipart/form-data'
| }
| })
| }
| // 获取法规详情
| export const regulationsDetailApi = id => {
| return request({
| url: `/system/sysNotice/queryById/${id}`,
| method: 'get'
| })
| }
| // 获取全国区域数据
| export const areaDataApi = () => {
| return request({
| url: `/system/sys/SysRegionCode/allTree`,
| method: 'get'
| })
| }
|
|