2023-11-28

This commit is contained in:
2023-11-28 11:25:58 +08:00
parent 72fbe3c4c1
commit 10b7cf2a1d
4 changed files with 665 additions and 89 deletions

38
src/api/order/order.js Normal file
View File

@@ -0,0 +1,38 @@
import request from '@/utils/request'
export default {
// 获取订单列表
orderList: function(data) {
return request({
url: '/lpksreservoorder/orderList',
method: 'post',
data: data
});
},
// 获取所有门店
getAllStore: function(data) {
return request({
url: '/lpkstore/getAllStore',
method: 'delete',
data: data
});
},
// 导出报表
exportExcel: function(data) {
return request({
url: '/lpksreservoorder/exportExcel',
method: 'post',
responseType: 'blob', // 表明返回服务器返回的数据类型
data: data,
headers: {
'Content-Type': 'application/json'
}
});
},
}