提交 | 用户 | 时间
|
5cc1d9
|
1 |
import request from '@/config/axios' |
D |
2 |
|
|
3 |
export interface ProdVolumeVO { |
|
4 |
|
|
5 |
} |
|
6 |
|
|
7 |
export interface ProdVolumePageReqVO extends PageParam { |
|
8 |
|
|
9 |
} |
|
10 |
|
|
11 |
// 查询ProdVolume列表 |
|
12 |
export const getProdVolumePage = (params: ProdVolumePageReqVO) => { |
c3134f
|
13 |
return request.get({ url: '/xmcpms/order-prod/wash/prodVolume/page', params }) |
5cc1d9
|
14 |
} |
D |
15 |
|
|
16 |
// 查询ProdVolume列表 |
|
17 |
export const getPointList = (params: ProdVolumePageReqVO) => { |
c3134f
|
18 |
return request.get({ url: '/xmcpms/order-prod/wash/prodVolume/list', params }) |
5cc1d9
|
19 |
} |
D |
20 |
|
|
21 |
// 查询ProdVolume详情 |
|
22 |
export const getProdVolume = (id: number) => { |
0b04a1
|
23 |
return request.get({ url: `/xmcpms/prod/wash/prodVolume/info/${id}`}) |
5cc1d9
|
24 |
} |
D |
25 |
|
|
26 |
// 新增ProdVolume |
|
27 |
export const createProdVolume = (data: ProdVolumeVO) => { |
c3134f
|
28 |
return request.post({ url: '/xmcpms/order-prod/wash/prodVolume/create', data }) |
5cc1d9
|
29 |
} |
D |
30 |
|
|
31 |
// 修改ProdVolume |
|
32 |
export const updateProdVolume = (data: ProdVolumeVO) => { |
c3134f
|
33 |
return request.put({ url: '/xmcpms/order-prod/wash/prodVolume/update', data }) |
5cc1d9
|
34 |
} |
D |
35 |
|
|
36 |
// 删除ProdVolume |
|
37 |
export const deleteProdVolume = (id: number) => { |
c3134f
|
38 |
return request.delete({ url: '/xmcpms/order-prod/wash/prodVolume/delete?id=' + id }) |
5cc1d9
|
39 |
} |
D |
40 |
|
|
41 |
//导出ProdVolumeList |
|
42 |
export const exportProdVolume = (params) => { |
c3134f
|
43 |
return request.download({ url: '/xmcpms/order-prod/wash/prodVolume/export', params }) |
5cc1d9
|
44 |
} |
D |
45 |
|
|
46 |
// 下载用户导入模板 |
|
47 |
export const importPointTemplate = () => { |
c3134f
|
48 |
return request.download({ url: '/xmcpms/order-prod/wash/prodVolume/get-import-template' }) |
5cc1d9
|
49 |
} |