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