33 lines
605 B
JavaScript
33 lines
605 B
JavaScript
import { http } from '@/utils/http'
|
|
|
|
/**
|
|
* 需求新增接口
|
|
*/
|
|
export const addLeaseInfoAPI = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: `/material-mall/ma-lease/add`,
|
|
data,
|
|
})
|
|
}
|
|
/**
|
|
* 需求列表接口
|
|
*/
|
|
export const getLeaseDemandListAPI = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: `/material-mall/ma-lease/leaseList`,
|
|
data,
|
|
})
|
|
}
|
|
/**
|
|
* 需求接单
|
|
*/
|
|
export const acceptLeaseDemandOrderAPI = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: `/material-mall/ma-lease/accept`,
|
|
data,
|
|
})
|
|
}
|