You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 工单计划
|
|
|
|
export function workOrderProgress(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/selectOrderMonth',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 最近工单完成情况
|
|
|
|
export function selectLatestWorkOrder(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/selectLatestWorkOrder',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取设备状态
|
|
|
|
export function getLineStatus(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/getLineStatus',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 小时产量
|
|
|
|
export function getHourProduction(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/getHourProduction',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function getDayProduction(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/getDayProduction',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function dustAnalysis(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/dustAnalysis',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function deviceTimeCount(query) {
|
|
|
|
return request({
|
|
|
|
url: '/mes/SecondMesBorder/deviceTimeCount',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|