findAllFltData.js
1.97 KB
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
import request from '@/utils/request'
// 航班信息维护查询条件
export function findFltConditionDataApi() {
return request({
url: '/FlightPreserveController/findFltConditionData',
method: 'post'
})
}
// 航班信息维护查询
export function findAllFltDataApi(data) {
return request({
url: '/FlightPreserveController/findAllFltData',
method: 'post',
data: data
})
}
//根据id查询item
export function findFltById(data) {
return request({
url: '/FlightPreserveController/findFltById',
method: 'post',
data: data
})
}
//删除航班
/**
* @param data id List *
*/
export function delFlight(data) {
return request({
url: '/FlightPreserveController/delFlight/' + data,
method: 'post'
})
}
//新增修改
export function saveOrUpdate(data) {
return request({
url: '/FlightPreserveController/saveOrUpdate',
method: 'post',
data: data
})
}
//新增前查询航班信息
export function findFltCommonConf(data) {
return request({
url: '/FlightPreserveController/findFltCommonConf',
method: 'post',
data: data
})
}
export function updateStatusBatch(data) {
return request({
url: '/FlightPreserveController/updateStatusBatch',
method: 'post',
data: data
})
}
//自动推送开关
export function updateAutoPushBatch(data) {
return request({
url: '/FlightPreserveController/updateAutoPushBatch',
method: 'post',
data: data
})
}
//白名单自动配舱开关
/**
* @param updateIds idList *
* @param status 状态 * 1开 0关
*/
export function updateWhiteListSwitchBatch(data) {
return request({
url: '/FlightPreserveController/updateWhiteListSwitchBatch',
method: 'post',
data: data
})
}
//黑名单自动配舱开关
/**
* @param updateIds idList *
* @param status 状态 * 1开 0关
*/
export function updateBlackListSwitchBatch(data) {
return request({
url: '/FlightPreserveController/updateBlackListSwitchBatch',
method: 'post',
data: data
})
}