import request from '@/utils/request'
|
|
// 获取投资项目基础信息表分页
|
export const getProjectInvestmentInfos = (params) => {
|
return request({
|
url: "/project/investmentInfo/page",
|
method: "GET",
|
params: params
|
})
|
}
|
|
// 获取投资项目基础信息表列表
|
export const getProjectInvestmentInfoList = () => {
|
return request({
|
url: "/project/investmentInfo/list",
|
method: "GET"
|
})
|
}
|
|
// 通过id获取投资项目基础信息表
|
export const getProjectInvestmentInfoById = (params) => {
|
return request({
|
url: "/project/investmentInfo/" + params,
|
method: "GET"
|
})
|
}
|
|
// 通过id删除投资项目基础信息表
|
export const deleteProjectInvestmentInfoById = (params) => {
|
return request({
|
url: "/project/investmentInfo/" + params,
|
method: "DELETE"
|
})
|
}
|
|
// 批量删除投资项目基础信息表
|
export const deleteProjectInvestmentInfoByIds = (params) => {
|
return request({
|
url: "/project/investmentInfo/batch",
|
method: "DELETE",
|
data: params
|
})
|
}
|
|
// 修改投资项目基础信息表
|
export const editProjectInvestmentInfo = (params) => {
|
return request({
|
url: "/project/investmentInfo/",
|
method: "PUT",
|
data: params
|
})
|
}
|
|
// 添加投资项目基础信息表
|
export const addProjectInvestmentInfo = (params) => {
|
return request({
|
url: "/project/investmentInfo/",
|
method: "POST",
|
data: params
|
})
|
}
|