69 lines
1.5 KiB
JavaScript
69 lines
1.5 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2024-04-15 17:01:20
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2024-09-06 14:12:09
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
// 创建原片其他成本-记录
|
|
export function createRawOthercostLog(data) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/create',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 更新原片其他成本-记录
|
|
export function updateRawOthercostLog(data) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/update',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除原片其他成本-记录
|
|
export function deleteRawOthercostLog(id) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/delete?id=' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 获得原片其他成本-记录
|
|
export function getRawOthercostLog(id) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/get?id=' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获得原片其他成本-记录分页
|
|
export function getRawOthercostLogPage(query) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/page',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 导出原片其他成本-记录 Excel
|
|
export function exportRawOthercostLogExcel(query) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/export-log-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
// 获得所有原片其他成本-记录列表
|
|
export function getRawOthercostLogAll() {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-log/listAll',
|
|
method: 'get'
|
|
})
|
|
}
|