选煤厂生产管理平台前端代码
Jay
2024-12-10 58a8ee8eebcf13656445486333d2d3f3e02c938f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import request from '@/config/axios'
 
export interface WashCurvesVO {
  id: string
  code: string,
  ny: string,
  mz: string,
  mzName: string,
  drl: string,
  fcfa: string,
  fcfaName: string,
  bz: string,
}
 
export interface WashCurvesPageReqVO extends PageParam {
  ny?: string,
  pointName?: string
}
 
 
// 查询WashCurves列表
export const getWashCurvesPage = (params: WashCurvesPageReqVO) => {
  return request.get({ url: '/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})
}
 
// 新增WashCurves
export const createWashCurves = (data: WashCurvesVO) => {
  return request.post({ url: '/coal-quality/analysis/wash-curves/create', data })
}
 
// 修改WashCurves
export const updateWashCurves = (data: WashCurvesVO) => {
  return request.put({ url: '/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})
}