Files
GEAR-OA/gear-ui3/src/api/oa/otherIncome.js
2025-09-03 11:55:00 +08:00

45 lines
837 B
JavaScript

import request from '@/utils/request'
// 查询其他收入列表
export function listOtherIncome(query) {
return request({
url: '/oa/otherIncome/list',
method: 'get',
params: query
})
}
// 查询其他收入详细
export function getOtherIncome(otherIncomeId) {
return request({
url: '/oa/otherIncome/' + otherIncomeId,
method: 'get'
})
}
// 新增其他收入
export function addOtherIncome(data) {
return request({
url: '/oa/otherIncome',
method: 'post',
data: data
})
}
// 修改其他收入
export function updateOtherIncome(data) {
return request({
url: '/oa/otherIncome',
method: 'put',
data: data
})
}
// 删除其他收入
export function delOtherIncome(otherIncomeId) {
return request({
url: '/oa/otherIncome/' + otherIncomeId,
method: 'delete'
})
}