|
|
|
|
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增pmcanteendemand
|
|
|
|
|
* @param pram
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandCreateApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/save`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand更新
|
|
|
|
|
* @param pram
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandUpdateApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/update`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增pmcanteendemand
|
|
|
|
|
* @param pram
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandBatchCreateApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/batchSave`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand更新
|
|
|
|
|
* @param pram
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandBatchUpdateApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/batchUpdate`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand详情
|
|
|
|
|
* @param pram
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandDetailApi(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/info/${id}`,
|
|
|
|
|
method: 'GET'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand批量删除
|
|
|
|
|
* @param ids
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandDeleteApi(ids) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/delete`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data: ids
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand批量提交
|
|
|
|
|
* @param ids
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandBatchSubmitApi(ids) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/batchSubmit`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data: ids
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand批量新增
|
|
|
|
|
* @param list
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandBatchSaveApi(list) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/batchSave`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data: list
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* pmcanteendemand列表
|
|
|
|
|
* @param pram
|
|
|
|
|
*/
|
|
|
|
|
export function pmcanteendemandListApi(params) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `autogencode/pmcanteendemand/list`,
|
|
|
|
|
method: 'GET',
|
|
|
|
|
params
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|