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