选煤厂生产管理平台前端代码
dongyukun
2024-12-11 0b04a185a54444b72151eabf71164008712fb80d
src/api/xmcpms/coal-quality/analysis/full/index.ts
@@ -24,25 +24,25 @@
// 查询Analysis列表
export const getAnalysisFullPage = (params: AnalysisFullPageReqVO) => {
  return request.get({ url: '/coal-quality/analysis/full/page', params })
  return request.get({ url: '/xmcpms/coal-quality/analysis/full/page', params })
}
// 查询Analysis详情
export const getAnalysis = (id: string) => {
  return request.get({ url: '/coal-quality/analysis/full/get?id=' + id})
  return request.get({ url: '/xmcpms/coal-quality/analysis/full/get?id=' + id})
}
// 新增Analysis
export const createAnalysis = (data: AnalysisFullVO) => {
  return request.post({ url: '/coal-quality/analysis/full/create', data })
  return request.post({ url: '/xmcpms/coal-quality/analysis/full/create', data })
}
// 修改Analysis
export const updateAnalysis = (data: AnalysisFullVO) => {
  return request.put({ url: '/coal-quality/analysis/full/update', data })
  return request.put({ url: '/xmcpms/coal-quality/analysis/full/update', data })
}
// 删除Analysis
export const deleteAnalysis = (id: number) => {
  return request.delete({ url: '/coal-quality/analysis/full/delete?id=' + id })
  return request.delete({ url: '/xmcpms/coal-quality/analysis/full/delete?id=' + id })
}