You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.3 KiB
66 lines
1.3 KiB
import request from '@/axios'; |
|
//列表接口 |
|
export const getList = (current, size, params) => { |
|
return request({ |
|
url: '/blade-desk/order/moldPlan/page', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |
|
//新增 |
|
export const add = row => { |
|
return request({ |
|
url: '/blade-desk/order/moldPlan/save', |
|
method: 'post', |
|
data: row, |
|
}); |
|
}; |
|
// 修改 |
|
export const update = row => { |
|
return request({ |
|
url: '/blade-desk/order/moldPlan/update', |
|
method: 'post', |
|
data: row, |
|
}); |
|
}; |
|
// 获取详情 |
|
export const getOrderMoldPlanCaDeatils = (params) => { |
|
return request({ |
|
url: `/blade-desk/order/moldPlan/detail`, |
|
method: 'get', |
|
params, |
|
}); |
|
}; |
|
//逻辑删除 |
|
export const removeByIds = ids => { |
|
return request({ |
|
url: '/blade-desk/order/moldPlan/remove', |
|
method: 'post', |
|
data: ids, |
|
}); |
|
}; |
|
//批量关闭 |
|
export const closeBatchs = ids => { |
|
return request({ |
|
url: '/blade-desk/order/moldPlan/closeBatch', |
|
method: 'post', |
|
data: ids, |
|
}); |
|
}; |
|
|
|
//列表接口 |
|
export const getListpageNearlyMonth = (current, size, params) => { |
|
return request({ |
|
url: '/blade-desk/order/moldPlan/pageNearlyMonth', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |