提交 | 用户 | 时间
|
58a8ee
|
1 |
import request from '@/config/axios' |
J |
2 |
|
|
3 |
export interface WashTargetVO { |
|
4 |
id: string |
|
5 |
ny: string, |
|
6 |
mz: string, |
|
7 |
mzName: string, |
|
8 |
ymdw: string, |
|
9 |
cpl: string, |
|
10 |
ymSf: number, |
|
11 |
ymHf: number, |
|
12 |
ymLf: number, |
|
13 |
jmSf: number, |
|
14 |
jmHf: string, |
|
15 |
jmLf: string, |
|
16 |
jmHff: string, |
|
17 |
jmNj: string, |
|
18 |
jmJzc: string, |
|
19 |
zmHf: string, |
|
20 |
zmLf: string, |
|
21 |
gsHf: string, |
|
22 |
} |
|
23 |
|
|
24 |
export interface WashTargetPageReqVO extends PageParam { |
|
25 |
ny?: string, |
|
26 |
} |
|
27 |
|
|
28 |
// 查询WashTarget列表 |
|
29 |
export const getWashTargetPage = (params: WashTargetVO) => { |
0b04a1
|
30 |
return request.get({ url: '/xmcpms/coal-quality/wash/target/page', params }) |
58a8ee
|
31 |
} |
J |
32 |
|
|
33 |
// 查询WashTarget详情 |
|
34 |
export const getWashTarget = (id: string) => { |
0b04a1
|
35 |
return request.get({ url: '/xmcpms/coal-quality/wash/target/get?id=' + id}) |
58a8ee
|
36 |
} |
J |
37 |
|
|
38 |
// 新增WashTarget |
|
39 |
export const createWashTarget = (data: WashTargetVO) => { |
0b04a1
|
40 |
return request.post({ url: '/xmcpms/coal-quality/wash/target/create', data }) |
58a8ee
|
41 |
} |
J |
42 |
|
|
43 |
// 修改WashTarget |
|
44 |
export const updateWashTarget = (data: WashTargetVO) => { |
0b04a1
|
45 |
return request.put({ url: '/xmcpms/coal-quality/wash/target/update', data }) |
58a8ee
|
46 |
} |
J |
47 |
|
|
48 |
// 删除WashTarget |
|
49 |
export const deleteWashTarget = (ids) => { |
|
50 |
const data = ids |
0b04a1
|
51 |
return request.delete({ url: '/xmcpms/coal-quality/wash/target/delete?id=' + data }) |
58a8ee
|
52 |
} |