投标管理

This commit is contained in:
2025-08-20 21:09:18 +08:00
parent 7e4a5e17cc
commit 388a31dd18
10 changed files with 1449 additions and 1 deletions

View File

@ -0,0 +1,63 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { ListOfWinningBidsVO, ListOfWinningBidsForm, ListOfWinningBidsQuery } from '@/api/bidding/listOfWinningBids/types';
/**
* 查询中标项目一览列表
* @param query
* @returns {*}
*/
export const listListOfWinningBids = (query?: ListOfWinningBidsQuery): AxiosPromise<ListOfWinningBidsVO[]> => {
return request({
url: '/bidding/listOfWinningBids/list',
method: 'get',
params: query
});
};
/**
* 查询中标项目一览详细
* @param id
*/
export const getListOfWinningBids = (id: string | number): AxiosPromise<ListOfWinningBidsVO> => {
return request({
url: '/bidding/listOfWinningBids/' + id,
method: 'get'
});
};
/**
* 新增中标项目一览
* @param data
*/
export const addListOfWinningBids = (data: ListOfWinningBidsForm) => {
return request({
url: '/bidding/listOfWinningBids',
method: 'post',
data: data
});
};
/**
* 修改中标项目一览
* @param data
*/
export const updateListOfWinningBids = (data: ListOfWinningBidsForm) => {
return request({
url: '/bidding/listOfWinningBids',
method: 'put',
data: data
});
};
/**
* 删除中标项目一览
* @param id
*/
export const delListOfWinningBids = (id: string | number | Array<string | number>) => {
return request({
url: '/bidding/listOfWinningBids/' + id,
method: 'delete'
});
};