提交 | 用户 | 时间
|
5cc1d9
|
1 |
import request from '@/config/axios' |
D |
2 |
|
|
3 |
export interface HourVolumeVO { |
|
4 |
id: string |
|
5 |
rq: string, |
|
6 |
bc: string, |
|
7 |
bcName: string, |
|
8 |
lsh: string, |
|
9 |
sj: string, |
|
10 |
rxl: string, |
|
11 |
jml: string, |
|
12 |
hml: number, |
|
13 |
gsl: number, |
|
14 |
sxgsl: number, |
|
15 |
fjbs: number, |
|
16 |
mnbs: string, |
|
17 |
bz: string, |
|
18 |
} |
|
19 |
|
|
20 |
export interface HourVolumePageReqVO extends PageParam { |
|
21 |
xt?: string, |
|
22 |
startDate?: Date, |
|
23 |
endDate?: Date, |
|
24 |
} |
|
25 |
|
|
26 |
// 查询HourVolume列表 |
|
27 |
export const getHourVolumePage = (params: HourVolumePageReqVO) => { |
0b04a1
|
28 |
return request.get({ url: '/xmcpms/prod/wash/hourVolume/page', params }) |
5cc1d9
|
29 |
} |
D |
30 |
|
|
31 |
// 查询HourVolume列表 |
|
32 |
export const getPointList = (params: HourVolumePageReqVO) => { |
0b04a1
|
33 |
return request.get({ url: '/xmcpms/prod/wash/hourVolume/list', params }) |
5cc1d9
|
34 |
} |
D |
35 |
|
|
36 |
// 查询HourVolume详情 |
|
37 |
export const getHourVolume = (id: number) => { |
0b04a1
|
38 |
return request.get({ url: `/xmcpms/prod/wash/hourVolume/info/${id}`}) |
5cc1d9
|
39 |
} |
D |
40 |
|
|
41 |
// 新增HourVolume |
|
42 |
export const createHourVolume = (data: HourVolumeVO) => { |
0b04a1
|
43 |
return request.post({ url: '/xmcpms/prod/wash/hourVolume/create', data }) |
5cc1d9
|
44 |
} |
D |
45 |
|
|
46 |
// 修改HourVolume |
|
47 |
export const updateHourVolume = (data: HourVolumeVO) => { |
0b04a1
|
48 |
return request.put({ url: '/xmcpms/prod/wash/hourVolume/update', data }) |
5cc1d9
|
49 |
} |
D |
50 |
|
|
51 |
// 删除HourVolume |
|
52 |
export const deleteHourVolume = (id: number) => { |
0b04a1
|
53 |
return request.delete({ url: '/xmcpms/prod/wash/hourVolume/delete?id=' + id }) |
5cc1d9
|
54 |
} |
D |
55 |
|
|
56 |
//导出HourVolumeList |
|
57 |
export const exportHourVolume = (params) => { |
0b04a1
|
58 |
return request.download({ url: '/xmcpms/prod/wash/hourVolume/export', params }) |
5cc1d9
|
59 |
} |
D |
60 |
|
|
61 |
// 下载用户导入模板 |
|
62 |
export const importPointTemplate = () => { |
0b04a1
|
63 |
return request.download({ url: '/xmcpms/prod/wash/hourVolume/get-import-template' }) |
5cc1d9
|
64 |
} |