春风项目四线(合箱线、总装线)
wujian
2024-10-23 2c65c31aceb16c1d06c692266e3fb555ecafdfb5
提交 | 用户 | 时间
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 }
2c65c3 11
W 12 export function selectDaPassingStationCollectionForSearch(query) {
13   return request({
14     url: '/da/passingStationCollection/selectDaPassingStationCollectionForSearch',
15     method: 'get',
16     params: query
17   })
18 }
c6e069 19 //查询首页top五数据
W 20 export function getTopProcess() {
21   return request({
22     url: '/da/passingStationCollection/getTopProcess',
23     method: 'get'
24   })
25 }
5fc587 26 // 不分页查询产品过站采集列表
27 export function noPageList(query) {
28   return request({
29     url: '/da/passingStationCollection/noPageList',
30     method: 'get',
31     params: query
32   })
33 }
34
9ebb88 35 // 获取首页单日累计量产数据
W 36 export function getProduceNumToday(query) {
37   return request({
38     url: '/da/passingStationCollection/getProduceNumToday',
39     method: 'get',
40     params: query
41   })
42 }
43
ff985a 44 // 查询产品过站采集列表
45 export function insertRepairRecordByIds(query) {
46   return request({
47     url: '/da/passingStationCollection/insertRepairRecordByIds',
48     method: 'get',
49     params: query
50   })
51 }
52
fd2207 53 // 查询产品过站采集详细
54 export function getPassingStationCollection(id) {
55   return request({
56     url: '/da/passingStationCollection/' + id,
57     method: 'get'
58   })
59 }
60
61 // 新增产品过站采集
62 export function addPassingStationCollection(data) {
63   return request({
64     url: '/da/passingStationCollection',
65     method: 'post',
66     data: data
67   })
68 }
69
70 // 修改产品过站采集
71 export function updatePassingStationCollection(data) {
72   return request({
73     url: '/da/passingStationCollection',
74     method: 'put',
75     data: data
76   })
77 }
78
79 // 删除产品过站采集
80 export function delPassingStationCollection(id) {
81   return request({
82     url: '/da/passingStationCollection/' + id,
83     method: 'delete'
84   })
85 }
2c65c3 86
W 87 export function getProductNum(query) {
88   return request({
89     url: '/da/passingStationCollection/getProductNum',
90     method: 'get',
91     params: query
92   })
93 }