选煤厂生产管理平台前端代码
houzhongjian
2025-01-07 1c144d0930269bec72d80994ea18a4bf3d9a1427
src/api/xmcpms/coal-quality/analysis/wash-curves/index.ts
@@ -20,26 +20,26 @@
// 查询WashCurves列表
export const getWashCurvesPage = (params: WashCurvesPageReqVO) => {
  return request.get({ url: '/coal-quality/analysis/wash-curves/page', params })
  return request.get({ url: '/xmcpms/coal-quality/analysis/wash-curves/page', params })
}
// 查询WashCurves详情
export const getWashCurvesInfo = (id: string) => {
  return request.get({ url: '/coal-quality/analysis/wash-curves/get?id=' + id})
  return request.get({ url: '/xmcpms/coal-quality/analysis/wash-curves/get?id=' + id})
}
// 新增WashCurves
export const createWashCurves = (data: WashCurvesVO) => {
  return request.post({ url: '/coal-quality/analysis/wash-curves/create', data })
  return request.post({ url: '/xmcpms/coal-quality/analysis/wash-curves/create', data })
}
// 修改WashCurves
export const updateWashCurves = (data: WashCurvesVO) => {
  return request.put({ url: '/coal-quality/analysis/wash-curves/update', data })
  return request.put({ url: '/xmcpms/coal-quality/analysis/wash-curves/update', data })
}
// 删除WashCurves
export const deleteWashCurves = (ids) => {
  const data = ids
  return request.delete({ url: '/coal-quality/analysis/wash-curves/delete', data})
  return request.delete({ url: '/xmcpms/coal-quality/analysis/wash-curves/delete', data})
}