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.
80 lines
1.4 KiB
JavaScript
80 lines
1.4 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询产量
|
|
export function dryRoomDataCarousel(query) {
|
|
return request({
|
|
url: '/mes/wcsInterface/dryRoomDataCarousel',
|
|
method: 'post',
|
|
data: {
|
|
"factory": "999"
|
|
}
|
|
});
|
|
}
|
|
|
|
// 查询产量
|
|
export function getHourProductionList(query) {
|
|
return request({
|
|
url: '/mes/reportWork/getHourProductionList',
|
|
method: 'get',
|
|
params: query,
|
|
header:{
|
|
PoolName:'ds_999'
|
|
}
|
|
});
|
|
}
|
|
|
|
export function EnergyExpend(query) {
|
|
return request({
|
|
url: '/mes/h5/EnergyExpend',
|
|
method: 'get',
|
|
params: query,
|
|
header:{
|
|
PoolName:'ds_1000'
|
|
}
|
|
});
|
|
}
|
|
|
|
export function agvdata(query) {
|
|
return request({
|
|
url: 'http://192.168.202.25:9001/api/scada/agvdata',
|
|
method: 'get',
|
|
params: query,
|
|
header:{
|
|
PoolName:'ds_999'
|
|
}
|
|
});
|
|
}
|
|
|
|
export function PlanAchievementRate(query) {
|
|
return request({
|
|
url: '/mes/reportWork/PlanAchievementRate',
|
|
method: 'get',
|
|
params: query,
|
|
header:{
|
|
PoolName:'ds_999'
|
|
}
|
|
});
|
|
}
|
|
|
|
export function getHfChartDatas(query) {
|
|
return request({
|
|
url: '/quality/qcProCheck/getHfChartDatas',
|
|
method: 'get',
|
|
params: query,
|
|
header:{
|
|
PoolName:'ds_999'
|
|
}
|
|
});
|
|
}
|
|
|
|
export function getHourProductionLists(query) {
|
|
return request({
|
|
url: '/mes/reportWork/getHourProductionLists',
|
|
method: 'get',
|
|
params: query,
|
|
header:{
|
|
PoolName:'ds_999'
|
|
}
|
|
});
|
|
}
|