提交 | 用户 | 时间
|
58a8ee
|
1 |
import request from '@/config/axios' |
J |
2 |
|
|
3 |
export interface AnalysisDetVO { |
|
4 |
id: string |
|
5 |
code: string, |
|
6 |
mdj: string, |
|
7 |
zl: string, |
|
8 |
cl: string, |
|
9 |
hf: string, |
|
10 |
lf: string, |
|
11 |
fwljcl: string, |
|
12 |
fwljhf: number, |
|
13 |
cwljcl: number, |
|
14 |
cwljhf: number, |
|
15 |
} |
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
// 查询AnalysisDetVO详情 |
|
20 |
export const getAnalysisDetVO = (id: number) => { |
0b04a1
|
21 |
return request.get({ url: `/xmcpms/data/da/point/info/${id}`}) |
58a8ee
|
22 |
} |
J |
23 |
|
|
24 |
// 新增AnalysisDetVO |
|
25 |
export const createAnalysisDetVO = (data: AnalysisDetVO) => { |
0b04a1
|
26 |
return request.post({ url: '/xmcpms/data/da/point/create', data }) |
58a8ee
|
27 |
} |
J |
28 |
|
|
29 |
// 修改AnalysisDetVO |
|
30 |
export const updateAnalysisDetVO = (data: AnalysisDetVO) => { |
0b04a1
|
31 |
return request.put({ url: '/xmcpms/data/da/point/update', data }) |
58a8ee
|
32 |
} |
J |
33 |
|
|
34 |
// 删除AnalysisDetVO |
|
35 |
export const deleteAnalysisDetVO = (id: number) => { |
0b04a1
|
36 |
return request.delete({ url: '/xmcpms/data/da/point/delete?id=' + id }) |
58a8ee
|
37 |
} |