55 lines
1.2 KiB
JavaScript
55 lines
1.2 KiB
JavaScript
|
/*
|
||
|
* @Author: zwq
|
||
|
* @Date: 2024-04-18 16:53:17
|
||
|
* @LastEditors: zwq
|
||
|
* @LastEditTime: 2024-09-06 14:35:13
|
||
|
* @Description:
|
||
|
*/
|
||
|
|
||
|
import request from '@/utils/request'
|
||
|
|
||
|
// 获得总成本统计-按日期分页
|
||
|
export function getCostSumPage(query) {
|
||
|
return request({
|
||
|
url: '/monitoring/cost-sum/page',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
// 更新总成本统计-按日期
|
||
|
export function updateCostSum(data) {
|
||
|
return request({
|
||
|
url: '/monitoring/cost-sum/update',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
// 获得原片成本统计成本查询分页
|
||
|
export function getRawCostStatisticsRealtimePage(query) {
|
||
|
return request({
|
||
|
url: '/monitoring/cost-sum/page',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出总成本统计-按日期 Excel
|
||
|
export function exportCostSumExcel(query) {
|
||
|
return request({
|
||
|
url: '/monitoring/cost-sum/export-excel',
|
||
|
method: 'get',
|
||
|
params: query,
|
||
|
responseType: 'blob'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出原片成本统计-历史成本 Excel
|
||
|
export function exportRawCostStatisticsHisExcel(query) {
|
||
|
return request({
|
||
|
url: '/monitoring/cost-sum/export-excel',
|
||
|
method: 'get',
|
||
|
params: query,
|
||
|
responseType: 'blob'
|
||
|
})
|
||
|
}
|