提交 | 用户 | 时间
|
58a8ee
|
1 |
import request from '@/config/axios' |
J |
2 |
|
|
3 |
export interface AnalysisFullVO { |
|
4 |
id: string |
|
5 |
code: string, |
|
6 |
ny: string, |
|
7 |
type: string, |
|
8 |
mz: string, |
|
9 |
syyp: string, |
|
10 |
syrq: string, |
|
11 |
sybz: string, |
|
12 |
syfzr: number, |
|
13 |
hyy: number, |
|
14 |
myzz: number, |
|
15 |
myzh: number, |
|
16 |
myzl: string, |
|
17 |
bz: string, |
|
18 |
} |
|
19 |
|
|
20 |
export interface AnalysisFullPageReqVO extends PageParam { |
|
21 |
ny?: string, |
|
22 |
} |
|
23 |
|
|
24 |
|
|
25 |
// 查询Analysis列表 |
|
26 |
export const getAnalysisFullPage = (params: AnalysisFullPageReqVO) => { |
0b04a1
|
27 |
return request.get({ url: '/xmcpms/coal-quality/analysis/full/page', params }) |
58a8ee
|
28 |
} |
J |
29 |
|
|
30 |
// 查询Analysis详情 |
|
31 |
export const getAnalysis = (id: string) => { |
0b04a1
|
32 |
return request.get({ url: '/xmcpms/coal-quality/analysis/full/get?id=' + id}) |
58a8ee
|
33 |
} |
J |
34 |
|
|
35 |
// 新增Analysis |
|
36 |
export const createAnalysis = (data: AnalysisFullVO) => { |
0b04a1
|
37 |
return request.post({ url: '/xmcpms/coal-quality/analysis/full/create', data }) |
58a8ee
|
38 |
} |
J |
39 |
|
|
40 |
// 修改Analysis |
|
41 |
export const updateAnalysis = (data: AnalysisFullVO) => { |
0b04a1
|
42 |
return request.put({ url: '/xmcpms/coal-quality/analysis/full/update', data }) |
58a8ee
|
43 |
} |
J |
44 |
|
|
45 |
// 删除Analysis |
|
46 |
export const deleteAnalysis = (id: number) => { |
0b04a1
|
47 |
return request.delete({ url: '/xmcpms/coal-quality/analysis/full/delete?id=' + id }) |
58a8ee
|
48 |
} |