三期差了一个接口

This commit is contained in:
2025-03-10 21:02:00 +08:00
parent 038cf04f4c
commit 5379f60c45
11 changed files with 144 additions and 286 deletions

View File

@@ -95,13 +95,14 @@ export function delFinance(financeId) {
}
/**
*
*
* @returns 获取进出账管理列表
*/
export function getCostDetailList() {
export function getCostDetailList(query) {
return request({
url: '/oa/cost/list',
method: 'get'
method: 'get',
params:query
})
}
@@ -117,9 +118,9 @@ export function getCostDetailById(costId) {
}
/**
*
*
* @param {*} data 创建成本详情
* @returns
* @returns
*/
export function createCostDetail(data) {
return request({
@@ -130,13 +131,13 @@ export function createCostDetail(data) {
}
/**
*
*
* @param {*} costId 删除成本详情
* @returns
* @returns
*/
export function deleteCostDetail(costId) {
return request({
url: `/oa/cost/${costId}`,
method: 'delete'
})
}
}