提交 | 用户 | 时间
|
58a8ee
|
1 |
import request from '@/config/axios' |
J |
2 |
|
|
3 |
export interface QualityDetectionVO { |
|
4 |
id: string |
|
5 |
rglid: string, |
|
6 |
code: string, |
|
7 |
type: string, |
|
8 |
rq: string, |
|
9 |
bc: string, |
|
10 |
bcName: string, |
|
11 |
cysj: string, |
|
12 |
cyd: string, |
|
13 |
cydName: number, |
|
14 |
cl: number, |
|
15 |
cysl: number, |
|
16 |
hysj: number, |
|
17 |
mz: string, |
|
18 |
mzName: string, |
|
19 |
hf: string, |
|
20 |
sf: string, |
|
21 |
lf: string, |
|
22 |
hff: string, |
|
23 |
nj: string, |
|
24 |
jzc: string, |
|
25 |
frl: string, |
|
26 |
zs: string, |
|
27 |
gs: string, |
|
28 |
ylmnHf: string, |
|
29 |
bz: string, |
|
30 |
} |
|
31 |
|
|
32 |
export interface QualityDetectionPageReqVO extends PageParam { |
|
33 |
ny?: string, |
|
34 |
} |
|
35 |
|
|
36 |
|
|
37 |
// 查询QualityDetection列表 |
|
38 |
export const getQualityDetectionPage = (params: QualityDetectionPageReqVO) => { |
0b04a1
|
39 |
return request.get({ url: '/xmcpms/coal-quality/QualityDetection/full/page', params }) |
58a8ee
|
40 |
} |
J |
41 |
|
|
42 |
// 查询QualityDetection详情 |
|
43 |
export const getQualityDetection = (id: number) => { |
0b04a1
|
44 |
return request.get({ url: '/xmcpms/coal-quality/QualityDetection/full/get?id=' + id}) |
58a8ee
|
45 |
} |
J |
46 |
|
|
47 |
// 新增QualityDetection |
|
48 |
export const createQualityDetection = (data: QualityDetectionVO) => { |
0b04a1
|
49 |
return request.post({ url: '/xmcpms/coal-quality/QualityDetection/full/create', data }) |
58a8ee
|
50 |
} |
J |
51 |
|
|
52 |
// 修改QualityDetection |
|
53 |
export const updateQualityDetection = (data: QualityDetectionVO) => { |
0b04a1
|
54 |
return request.put({ url: '/xmcpms/coal-quality/QualityDetection/full/update', data }) |
58a8ee
|
55 |
} |
J |
56 |
|
|
57 |
// 删除QualityDetection |
|
58 |
export const deleteQualityDetection = (id: number) => { |
0b04a1
|
59 |
return request.delete({ url: '/xmcpms/coal-quality/QualityDetection/full/delete?id=' + id }) |
58a8ee
|
60 |
} |