sourceFlightRules.js
869 Bytes
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
import request from '@/utils/request'
// 原航班顺位规则界面查询
export function findSourceFlightRulesApi(data) {
return request({
url: '/sourceFlight/findSourceFlightRules',
method: 'post',
data: data
})
}
// 目标航班查询
export function findSourceFlightAndFlightDateApi(data) {
return request({
url: '/sourceFlight/findSourceFlightAndFlightDate',
method: 'post',
data: data
})
}
// 原航班顺位规则保存
export function sourceFlightRulesSaveApi(data) {
data.dayOfWeek = data.dayOfWeek.join(';');
return request({
url: '/sourceFlight/sourceFlightRulesSave',
method: 'post',
data: data
})
}
// 原航班顺位规则删除 启用 停用
export function delOrEnableORDisableApi(data) {
return request({
url: '/sourceFlight/delOrEnableORDisable',
method: 'post',
data: data
})
}