| | |
| | | |
| | | // 查询WashTarget列表 |
| | | export const getWashTargetPage = (params: WashTargetVO) => { |
| | | return request.get({ url: '/coal-quality/wash/target/page', params }) |
| | | return request.get({ url: '/xmcpms/coal-quality/wash/target/page', params }) |
| | | } |
| | | |
| | | // 查询WashTarget详情 |
| | | export const getWashTarget = (id: string) => { |
| | | return request.get({ url: '/coal-quality/wash/target/get?id=' + id}) |
| | | return request.get({ url: '/xmcpms/coal-quality/wash/target/get?id=' + id}) |
| | | } |
| | | |
| | | // 新增WashTarget |
| | | export const createWashTarget = (data: WashTargetVO) => { |
| | | return request.post({ url: '/coal-quality/wash/target/create', data }) |
| | | return request.post({ url: '/xmcpms/coal-quality/wash/target/create', data }) |
| | | } |
| | | |
| | | // 修改WashTarget |
| | | export const updateWashTarget = (data: WashTargetVO) => { |
| | | return request.put({ url: '/coal-quality/wash/target/update', data }) |
| | | return request.put({ url: '/xmcpms/coal-quality/wash/target/update', data }) |
| | | } |
| | | |
| | | // 删除WashTarget |
| | | export const deleteWashTarget = (ids) => { |
| | | const data = ids |
| | | return request.delete({ url: '/coal-quality/wash/target/delete?id=' + data }) |
| | | return request.delete({ url: '/xmcpms/coal-quality/wash/target/delete?id=' + data }) |
| | | } |