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-04-18 15:39:12
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
// 创建原片其他成本-配置
|
|
export function createRawOthercostRule(data) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/create',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 更新原片其他成本-配置
|
|
export function updateRawOthercostRule(data) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/update',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除原片其他成本-配置
|
|
export function deleteRawOthercostRule(id) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/delete?id=' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 获得原片其他成本-配置
|
|
export function getRawOthercostRule(id) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/get?id=' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获得原片其他成本-配置分页
|
|
export function getRawOthercostRulePage(query) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/page',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 导出原片其他成本-配置 Excel
|
|
export function exportRawOthercostRuleExcel(query) {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/export-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
// 获得所有原片其他成本-配置列表
|
|
export function getRawOthercostRuleAll() {
|
|
return request({
|
|
url: '/monitoring/cost-othercost-rule/listAll',
|
|
method: 'get'
|
|
})
|
|
}
|