图标
This commit is contained in:
@@ -3879,4 +3879,11 @@ export const sortingAndPackaging = () => post('api/cockpit/sortingAndPackaging',
|
||||
*/
|
||||
export const homepageDataLeft = () => post('api/dashboard/homepageDataLeft', {})
|
||||
export const homepageDataRight = () => post('api/dashboard/homepageDataRight', {})
|
||||
// 大屏-中间设备运行情况
|
||||
export const deviceCondition = () => post('api/cockpit/deviceCondition', {})
|
||||
// 出、入窑输送线弹窗
|
||||
export const inOutKilnDetail = () => post('api/cockpit/inOutKilnDetail', {})
|
||||
// 窑弹出框
|
||||
export const kilnDetail = () => post('api/cockpit/kilnDetail', {})
|
||||
// 大屏-两侧图表
|
||||
export const screenTableData = () => post('api/cockpit/screenTableData', {})
|
||||
|
||||
@@ -615,6 +615,24 @@ export const deviceCondition = () => {
|
||||
'error': 0,
|
||||
'encoder_qty': 100,
|
||||
'barcode': 10010
|
||||
},
|
||||
{
|
||||
'mode': 3,
|
||||
'move': 2,
|
||||
'color_status': 2,
|
||||
'device_code': 'FJ01MDW01',
|
||||
'error': 0,
|
||||
'encoder_qty': 100,
|
||||
'barcode': 10010
|
||||
},
|
||||
{
|
||||
'mode': 3,
|
||||
'move': 2,
|
||||
'color_status': 2,
|
||||
'device_code': 'FJ01MDW02',
|
||||
'error': 0,
|
||||
'encoder_qty': 100,
|
||||
'barcode': 10010
|
||||
}
|
||||
],
|
||||
'PressMachineList': [
|
||||
@@ -906,3 +924,144 @@ export const deviceCondition = () => {
|
||||
}
|
||||
return res
|
||||
}
|
||||
/**
|
||||
* 出、入窑输送线弹窗
|
||||
*/
|
||||
export const inOutKilnDetail = () => {
|
||||
let res = [
|
||||
{
|
||||
'stat': '1',
|
||||
'pointName': '入窑输送线',
|
||||
'workTime': '3.5',
|
||||
'palletNum': '0',
|
||||
'materialNum': '25000',
|
||||
'deliveredPalletNum': '0',
|
||||
'deliveredMaterialNum': null
|
||||
},
|
||||
{
|
||||
'stat': '1',
|
||||
'pointName': '出窑输送线',
|
||||
'workTime': '3.5',
|
||||
'palletNum': '0',
|
||||
'materialNum': '25000',
|
||||
'deliveredPalletNum': '0',
|
||||
'deliveredMaterialNum': '25000'
|
||||
}
|
||||
]
|
||||
return res
|
||||
}
|
||||
/**
|
||||
* 窑弹出框
|
||||
*/
|
||||
export const kilnDetail = () => {
|
||||
let res = {
|
||||
'pointName': '窑1',
|
||||
'workTime': 'string',
|
||||
'palletNum': 'string',
|
||||
'materialNum': 'string',
|
||||
'produceNum': 'string',
|
||||
'materialInfos': [
|
||||
'string'
|
||||
]
|
||||
}
|
||||
return res
|
||||
}
|
||||
/**
|
||||
* 大屏-两侧图表
|
||||
*/
|
||||
export const screenTableData = () => {
|
||||
let res = {
|
||||
'deviceErrorRecordList': [
|
||||
{
|
||||
'deviceCode': 'YJ06',
|
||||
'deviceName': '压机06',
|
||||
'errorInfo': '故障',
|
||||
'errorTime': '2024-02-28 13:02:44'
|
||||
},
|
||||
{
|
||||
'deviceCode': 'YJ01',
|
||||
'deviceName': '压机01',
|
||||
'errorInfo': '故障',
|
||||
'errorTime': '2024-02-28 13:02:44'
|
||||
},
|
||||
{
|
||||
'deviceCode': 'YJ02',
|
||||
'deviceName': '压机02',
|
||||
'errorInfo': '故障',
|
||||
'errorTime': '2024-02-28 13:02:44'
|
||||
},
|
||||
{
|
||||
'deviceCode': 'YJ03',
|
||||
'deviceName': '压机03',
|
||||
'errorInfo': '故障',
|
||||
'errorTime': '2024-02-28 13:02:44'
|
||||
},
|
||||
{
|
||||
'deviceCode': 'YJ03',
|
||||
'deviceName': '压机03',
|
||||
'errorInfo': '故障',
|
||||
'errorTime': '2024-02-28 13:02:44'
|
||||
}
|
||||
],
|
||||
'mixingList': [
|
||||
{
|
||||
'materialName': '004',
|
||||
'planQty': '0',
|
||||
'realQty': '0'
|
||||
}
|
||||
],
|
||||
'historyList': [
|
||||
{
|
||||
'produceDate': '03-06',
|
||||
'suppressedNum': '800',
|
||||
'finishedNum': '0'
|
||||
}
|
||||
],
|
||||
'deviceErrorList': [
|
||||
{
|
||||
'deviceName': '压机03',
|
||||
'errorNum': '2'
|
||||
},
|
||||
{
|
||||
'deviceName': '压机06',
|
||||
'errorNum': '1'
|
||||
},
|
||||
{
|
||||
'deviceName': '压机01',
|
||||
'errorNum': '1'
|
||||
},
|
||||
{
|
||||
'deviceName': '压机02',
|
||||
'errorNum': '1'
|
||||
}
|
||||
],
|
||||
'deviceRunStat': {
|
||||
'total': 240,
|
||||
'runNum': 0,
|
||||
'unProducedNum': 240,
|
||||
'freeNum': 0,
|
||||
'errorNum': 0
|
||||
},
|
||||
'productList': [
|
||||
{
|
||||
'materialName': '001',
|
||||
'requiredNum': '1000',
|
||||
'suppressedNum': '378',
|
||||
'finishedNum': '0'
|
||||
},
|
||||
{
|
||||
'materialName': '003',
|
||||
'requiredNum': '1000',
|
||||
'suppressedNum': '756',
|
||||
'finishedNum': '0'
|
||||
},
|
||||
{
|
||||
'materialName': '004',
|
||||
'requiredNum': '6000',
|
||||
'suppressedNum': '7846',
|
||||
'finishedNum': '0'
|
||||
}
|
||||
]
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user