|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
import request from '@/utils/request2'
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 工单计划
|
|
|
|
|
export function workOrderProgress(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/selectOrderMonth',
|
|
|
|
|
url: '/mes/SecondMesBorder/selectOrderMonth',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
@ -12,7 +12,7 @@ export function workOrderProgress(query) {
|
|
|
|
|
// 最近工单完成情况
|
|
|
|
|
export function selectLatestWorkOrder(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/selectLatestWorkOrder',
|
|
|
|
|
url: '/mes/SecondMesBorder/selectLatestWorkOrder',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
@ -21,7 +21,7 @@ export function selectLatestWorkOrder(query) {
|
|
|
|
|
// 获取设备状态
|
|
|
|
|
export function getLineStatus(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/getLineStatus',
|
|
|
|
|
url: '/mes/SecondMesBorder/getLineStatus',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
@ -30,7 +30,7 @@ export function getLineStatus(query) {
|
|
|
|
|
// 小时产量
|
|
|
|
|
export function getHourProduction(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/getHourProduction',
|
|
|
|
|
url: '/mes/SecondMesBorder/getHourProduction',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
@ -38,7 +38,7 @@ export function getHourProduction(query) {
|
|
|
|
|
|
|
|
|
|
export function getDayProduction(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/getDayProduction',
|
|
|
|
|
url: '/mes/SecondMesBorder/getDayProduction',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
@ -46,7 +46,7 @@ export function getDayProduction(query) {
|
|
|
|
|
|
|
|
|
|
export function dustAnalysis(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/dustAnalysis',
|
|
|
|
|
url: '/mes/SecondMesBorder/dustAnalysis',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
@ -54,7 +54,7 @@ export function dustAnalysis(query) {
|
|
|
|
|
|
|
|
|
|
export function deviceTimeCount(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/SecondMesBorder/deviceTimeCount',
|
|
|
|
|
url: '/mes/SecondMesBorder/deviceTimeCount',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|