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