| | |
| | | |
| | | // 查询HourVolume列表 |
| | | export const getHourVolumePage = (params: HourVolumePageReqVO) => { |
| | | return request.get({ url: '/xmcpms/wash/hourVolume/page', params }) |
| | | return request.get({ url: '/xmcpms/prod/wash/hourVolume/page', params }) |
| | | } |
| | | |
| | | // 查询HourVolume列表 |
| | | export const getPointList = (params: HourVolumePageReqVO) => { |
| | | return request.get({ url: '/xmcpms/wash/hourVolume/list', params }) |
| | | return request.get({ url: '/xmcpms/prod/wash/hourVolume/list', params }) |
| | | } |
| | | |
| | | // 查询HourVolume详情 |
| | | export const getHourVolume = (id: number) => { |
| | | return request.get({ url: `/xmcpms/prod/wash/hourVolume/info/${id}`}) |
| | | return request.get({ url: `/xmcpms/prod/prod/wash/hourVolume/info/${id}`}) |
| | | } |
| | | |
| | | // 新增HourVolume |
| | | export const createHourVolume = (data: HourVolumeVO) => { |
| | | return request.post({ url: '/xmcpms/wash/hourVolume/create', data }) |
| | | return request.post({ url: '/xmcpms/prod/wash/hourVolume/create', data }) |
| | | } |
| | | |
| | | // 修改HourVolume |
| | | export const updateHourVolume = (data: HourVolumeVO) => { |
| | | return request.put({ url: '/xmcpms/wash/hourVolume/update', data }) |
| | | return request.put({ url: '/xmcpms/prod/wash/hourVolume/update', data }) |
| | | } |
| | | |
| | | // 删除HourVolume |
| | | export const deleteHourVolume = (id: number) => { |
| | | return request.delete({ url: '/xmcpms/wash/hourVolume/delete?id=' + id }) |
| | | return request.delete({ url: '/xmcpms/prod/wash/hourVolume/delete?id=' + id }) |
| | | } |
| | | |
| | | //导出HourVolumeList |
| | | export const exportHourVolume = (params) => { |
| | | return request.download({ url: '/xmcpms/wash/hourVolume/export', params }) |
| | | return request.download({ url: '/xmcpms/prod/wash/hourVolume/export', params }) |
| | | } |
| | | |
| | | // 下载用户导入模板 |
| | | export const importPointTemplate = () => { |
| | | return request.download({ url: '/xmcpms/wash/hourVolume/get-import-template' }) |
| | | return request.download({ url: '/xmcpms/prod/wash/hourVolume/get-import-template' }) |
| | | } |