import request from '@/utils/request'
|
|
// 查询产品过站采集列表
|
export function listPassingStationCollection(query) {
|
return request({
|
url: '/da/passingStationCollection/list',
|
method: 'get',
|
params: query
|
})
|
}
|
//查询首页top五数据
|
export function getTopProcess() {
|
return request({
|
url: '/da/passingStationCollection/getTopProcess',
|
method: 'get'
|
})
|
}
|
// 不分页查询产品过站采集列表
|
export function noPageList(query) {
|
return request({
|
url: '/da/passingStationCollection/noPageList',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取首页单日累计量产数据
|
export function getProduceNumToday(query) {
|
return request({
|
url: '/da/passingStationCollection/getProduceNumToday',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询产品过站采集列表
|
export function insertRepairRecordByIds(query) {
|
return request({
|
url: '/da/passingStationCollection/insertRepairRecordByIds',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询产品过站采集详细
|
export function getPassingStationCollection(id) {
|
return request({
|
url: '/da/passingStationCollection/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增产品过站采集
|
export function addPassingStationCollection(data) {
|
return request({
|
url: '/da/passingStationCollection',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改产品过站采集
|
export function updatePassingStationCollection(data) {
|
return request({
|
url: '/da/passingStationCollection',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除产品过站采集
|
export function delPassingStationCollection(id) {
|
return request({
|
url: '/da/passingStationCollection/' + id,
|
method: 'delete'
|
})
|
}
|