提交 | 用户 | 时间
|
0cceb6
|
1 |
import request from '@/utils/request' |
Y |
2 |
|
|
3 |
// 查询产品过站采集列表 |
|
4 |
export function listPassingStationCollection(query) { |
|
5 |
return request({ |
|
6 |
url: '/da/passingStationCollection/list', |
|
7 |
method: 'get', |
|
8 |
params: query |
|
9 |
}) |
|
10 |
} |
|
11 |
//查询首页top五数据 |
|
12 |
export function getTopProcess() { |
|
13 |
return request({ |
|
14 |
url: '/da/passingStationCollection/getTopProcess', |
|
15 |
method: 'get' |
|
16 |
}) |
|
17 |
} |
|
18 |
// 不分页查询产品过站采集列表 |
|
19 |
export function noPageList(query) { |
|
20 |
return request({ |
|
21 |
url: '/da/passingStationCollection/noPageList', |
|
22 |
method: 'get', |
|
23 |
params: query |
|
24 |
}) |
|
25 |
} |
|
26 |
|
|
27 |
// 获取首页单日累计量产数据 |
|
28 |
export function getProduceNumToday(query) { |
|
29 |
return request({ |
|
30 |
url: '/da/passingStationCollection/getProduceNumToday', |
|
31 |
method: 'get', |
|
32 |
params: query |
|
33 |
}) |
|
34 |
} |
|
35 |
|
|
36 |
// 查询产品过站采集列表 |
|
37 |
export function insertRepairRecordByIds(query) { |
|
38 |
return request({ |
|
39 |
url: '/da/passingStationCollection/insertRepairRecordByIds', |
|
40 |
method: 'get', |
|
41 |
params: query |
|
42 |
}) |
|
43 |
} |
|
44 |
|
|
45 |
// 查询产品过站采集详细 |
|
46 |
export function getPassingStationCollection(id) { |
|
47 |
return request({ |
|
48 |
url: '/da/passingStationCollection/' + id, |
|
49 |
method: 'get' |
|
50 |
}) |
|
51 |
} |
|
52 |
|
|
53 |
// 新增产品过站采集 |
|
54 |
export function addPassingStationCollection(data) { |
|
55 |
return request({ |
|
56 |
url: '/da/passingStationCollection', |
|
57 |
method: 'post', |
|
58 |
data: data |
|
59 |
}) |
|
60 |
} |
|
61 |
|
|
62 |
// 修改产品过站采集 |
|
63 |
export function updatePassingStationCollection(data) { |
|
64 |
return request({ |
|
65 |
url: '/da/passingStationCollection', |
|
66 |
method: 'put', |
|
67 |
data: data |
|
68 |
}) |
|
69 |
} |
|
70 |
|
|
71 |
// 删除产品过站采集 |
|
72 |
export function delPassingStationCollection(id) { |
|
73 |
return request({ |
|
74 |
url: '/da/passingStationCollection/' + id, |
|
75 |
method: 'delete' |
|
76 |
}) |
|
77 |
} |