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
46
47
48
49
50
51
52
| import request from '@/config/axios'
|
| export interface WashTargetVO {
| id: string
| ny: string,
| mz: string,
| mzName: string,
| ymdw: string,
| cpl: string,
| ymSf: number,
| ymHf: number,
| ymLf: number,
| jmSf: number,
| jmHf: string,
| jmLf: string,
| jmHff: string,
| jmNj: string,
| jmJzc: string,
| zmHf: string,
| zmLf: string,
| gsHf: string,
| }
|
| export interface WashTargetPageReqVO extends PageParam {
| ny?: string,
| }
|
| // 查询WashTarget列表
| export const getWashTargetPage = (params: WashTargetVO) => {
| return request.get({ url: '/xmcpms/coal-quality/wash/target/page', params })
| }
|
| // 查询WashTarget详情
| export const getWashTarget = (id: string) => {
| return request.get({ url: '/xmcpms/coal-quality/wash/target/get?id=' + id})
| }
|
| // 新增WashTarget
| export const createWashTarget = (data: WashTargetVO) => {
| return request.post({ url: '/xmcpms/coal-quality/wash/target/create', data })
| }
|
| // 修改WashTarget
| export const updateWashTarget = (data: WashTargetVO) => {
| return request.put({ url: '/xmcpms/coal-quality/wash/target/update', data })
| }
|
| // 删除WashTarget
| export const deleteWashTarget = (ids) => {
| const data = ids
| return request.delete({ url: '/xmcpms/coal-quality/wash/target/delete?id=' + data })
| }
|
|