选煤厂生产管理平台前端代码
dongyukun
2024-12-11 0b04a185a54444b72151eabf71164008712fb80d
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})
}