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