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