选煤厂生产管理平台前端代码
dongyukun
2024-12-12 73d7500457564a3f5b1aae94ef18fd295e9f4f9c
src/api/prod/rawCoalTransferIn.ts
@@ -10,40 +10,40 @@
// 查询RawCoalTransferIn列表
export const getRawCoalTransferInPage = (params: RawCoalTransferInPageReqVO) => {
  return request.get({ url: '/xmcpms/wash/transferIn/page', params })
  return request.get({ url: '/xmcpms/prod/wash/transferIn/page', params })
}
// 查询RawCoalTransferIn列表
export const getPointList = (params: RawCoalTransferInPageReqVO) => {
  return request.get({ url: '/xmcpms/wash/transferIn/list', params })
  return request.get({ url: '/xmcpms/prod/wash/transferIn/list', params })
}
// 查询RawCoalTransferIn详情
export const getRawCoalTransferIn = (id: number) => {
  return request.get({ url: `/xmcpms/prod/wash/transferIn/info/${id}`})
  return request.get({ url: `/xmcpms/prod/prod/wash/transferIn/info/${id}`})
}
// 新增RawCoalTransferIn
export const createRawCoalTransferIn = (data: RawCoalTransferInVO) => {
  return request.post({ url: '/xmcpms/wash/transferIn/create', data })
  return request.post({ url: '/xmcpms/prod/wash/transferIn/create', data })
}
// 修改RawCoalTransferIn
export const updateRawCoalTransferIn = (data: RawCoalTransferInVO) => {
  return request.put({ url: '/xmcpms/wash/transferIn/update', data })
  return request.put({ url: '/xmcpms/prod/wash/transferIn/update', data })
}
// 删除RawCoalTransferIn
export const deleteRawCoalTransferIn = (id: number) => {
  return request.delete({ url: '/xmcpms/wash/transferIn/delete?id=' + id })
  return request.delete({ url: '/xmcpms/prod/wash/transferIn/delete?id=' + id })
}
//导出RawCoalTransferInList
export const exportRawCoalTransferIn = (params) => {
  return request.download({ url: '/xmcpms/wash/transferIn/export', params })
  return request.download({ url: '/xmcpms/prod/wash/transferIn/export', params })
}
// 下载用户导入模板
export const importPointTemplate = () => {
  return request.download({ url: '/xmcpms/wash/transferIn/get-import-template' })
  return request.download({ url: '/xmcpms/prod/wash/transferIn/get-import-template' })
}