oil-station/fuintAdmin_zt/src/api/allOrder.js
DESKTOP-369JRHT\12997 31e8866262 no message
2024-07-23 21:13:58 +08:00

174 lines
3.6 KiB
JavaScript

import request from '@/utils/request'
// 分页查询所有的订单信息
export function getOrderListApi(query) {
return request({
url: 'business/allOrderInfo/getPageList',
method: 'get',
params: query
})
}
// 分页查询所有的订单信息
export function getSumPayMoneyApi(query) {
return request({
url: 'business/allOrderInfo/sumPayMoney',
method: 'get',
params: query
})
}
// 查询订单信息
export function getOrderInfo(orderId) {
return request({
url: 'backendApi/order/info/' + orderId,
method: 'post',
data: data
})
}
export function getTradingPageApi(query) {
return request({
url: 'business/allOrderInfo/trading',
method: 'get',
params: query
})
}
export function getInstituionListApi(query) {
return request({
url: 'business/allOrderInfo/runningWaterByInstituion',
method: 'get',
params: query
})
}
export function getNoneListApi(query) {
return request({
url: 'business/allOrderInfo/runningWaterByNone',
method: 'get',
params: query
})
}
export function getDayListApi(query) {
return request({
url: 'business/allOrderInfo/runningWaterByDay',
method: 'get',
params: query
})
}
export function getDayDatyListApi(query) {
return request({
url: 'business/allOrderInfo/getRunningWaterByDayData',
method: 'get',
params: query
})
}
//统计
export function getRunningWaterByDataApi(query) {
return request({
url: 'business/allOrderInfo/runningWaterByData',
method: 'get',
params: query
})
}
//统计
export function getRunningWaterByTissueApi(query) {
return request({
url: 'business/allOrderInfo/runningWaterByTissue',
method: 'get',
params: query
})
}
//统计
export function getTissueByDataApi(query) {
return request({
url: 'business/allOrderInfo/getTradingData',
method: 'get',
params: query
})
}
export function exportExcelTradingApi(data) {
return request({
url: 'business/allOrderInfo/tradingExportExcel',
method: 'post',
responseType: 'blob', // 表明响应类型为二进制流
data: data // 通过 data 参数传递需要的数据
});
}
export function exportExcelTissueApi(data) {
return request({
url: 'business/allOrderInfo/runningWaterByTissueExportExcel',
method: 'post',
responseType: 'blob', // 表明响应类型为二进制流
data: data // 通过 data 参数传递需要的数据
});
}
export function exportExcelOilDeptApi(data) {
return request({
url: 'business/allOrderInfo/runningWaterByOilDeptExportExcel',
method: 'post',
responseType: 'blob', // 表明响应类型为二进制流
data: data // 通过 data 参数传递需要的数据
});
}
export function exportExcelDayApi(data) {
return request({
url: 'business/allOrderInfo/runningWaterByDayExportExcel',
method: 'post',
responseType: 'blob', // 表明响应类型为二进制流
data: data // 通过 data 参数传递需要的数据
});
}
export function getFenxiByDailiApi(query) {
return request({
url: 'business/allOrderInfo/getFenxiByDaili',
method: 'get',
params: query
})
}
export function getFenxiByDailiByDataApi(query) {
return request({
url: 'business/allOrderInfo/getFenxiByDailiBydata',
method: 'get',
params: query
})
}
export function getFenxiByDailiTypeApi(query) {
return request({
url: 'business/allOrderInfo/getFenxiByDailiType',
method: 'get',
params: query
})
}
export function getFenxiByDailgetFenxiByDailiTypeiByDataApi(query) {
return request({
url: 'business/allOrderInfo/getFenxiByDailiBydata',
method: 'get',
params: query
})
}