exportList-api.js
2 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
import request from "@/utils/request";
//清单总分单查询
/**
* @param billNo 提运单号
* @param createTimeEnd 创建结束时间
* @param createTimeStart 创建开始时间
* @param returnStatus 回执状态
* @param ebpcode 电商平台代码
* @param invtNo 清单编号
* @param logisticsNo 物流运单编号
* @param orderNo 订单编号
* @param pageIndex *
* @param pageSize *
*/
export function getAllexportList(data) {
return request({
url: "/bus-customer/exportList/search",
method: "post",
data: data,
});
}
//清单回执
/**
* @param copNo * 运单id
*/
export function getListReceiptData(data) {
return request({
url: "/bus-customer/exportList/receipt/" + data.copNo,
method: "get",
});
}
// POST
// /exportList/customizeExcelFormat
// 自定义清单表格导出格式
export function getCustomizeExcelFormat(data) {
return request({
url: "/bus-customer/exportList/customizeExcelFormat",
method: "post",
data: data,
});
}
// POST
// /exportList/listExport
// 清单导出
export function getListExport(data) {
return request({
url: "/bus-customer/exportList/listExport",
method: "post",
data: data,
});
}
// GET
// /exportList/getCustomizeExcelFormat
// 获取自定义清单导出格式
export function getCustomizeExcel(data) {
return request({
url: "/bus-customer/exportList/getCustomizeExcelFormat",
method: "get",
data: data,
});
}
// 查询导出的任务ID
// POST
// /exportList/submitExportTask
export function getSubmitExportTask(data) {
return request({
url: "/bus-customer/exportList/submitExportTask",
method: "post",
data: data,
});
}
// /asyncExport/taskStatus/{taskId}
export function getTaskStatus(data) {
return request({
url: "/bus-customer/asyncExport/taskStatus/" + data.taskId,
method: "get",
});
}
// /asyncExport/download/{taskId}
export function getDownload(data) {
return request({
url: "/bus-customer/asyncExport/download/" + data.taskId,
method: "get",
});
}