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 getRawCostStatisticsPage(query) {
|
|
return request({
|
|
url: '/monitoring/cost-origincost-his/page',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 更新原片成本-历史
|
|
export function updateRawCostStatistics(data) {
|
|
return request({
|
|
url: '/monitoring/cost-origincost-his/update',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
// 获得原片成本统计成本查询分页
|
|
export function getRawCostStatisticsRealtimePage(query) {
|
|
return request({
|
|
url: '/monitoring/cost-origin-cost-realtime/page',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 导出原片成本统计成本查询 Excel
|
|
export function exportRawStatisticsRealtimeExcel(query) {
|
|
return request({
|
|
url: '/monitoring/cost-origin-cost-realtime/export-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
|
|
// 导出原片成本统计-历史成本 Excel
|
|
export function exportRawCostStatisticsHisExcel(query) {
|
|
return request({
|
|
url: '/monitoring/cost-origincost-his/export-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|