主页
This commit is contained in:
@@ -7,36 +7,38 @@ export const findDeviceById = (id) => post('api/cockpit/findDeviceById', {
|
||||
id: id
|
||||
})
|
||||
export const deviceMonitor = () => {
|
||||
let res = [
|
||||
{
|
||||
'point_id': '1',
|
||||
'point_code': 'HLJDJW01',
|
||||
'point_name': '混料机1对接位',
|
||||
'point_status': '3',
|
||||
'material_id': 1556534702800769024,
|
||||
'material_name': '木质花纹2cm',
|
||||
'ivt_weight': 29.500000,
|
||||
'work_time': '50',
|
||||
'ivt_qty': 600.000000,
|
||||
'vehicle_qty': 15,
|
||||
'vehicle_max_qty': 20,
|
||||
'device_url': 'hlj'
|
||||
},
|
||||
{
|
||||
'point_id': '1518105008862793728',
|
||||
'point_code': 'YZJ02XL01',
|
||||
'point_name': '压制机2下料位1',
|
||||
'point_status': '3',
|
||||
'material_id': 1556534702800769024,
|
||||
'material_name': '木质花纹2cm',
|
||||
'ivt_weight': 29.500000,
|
||||
'work_time': '50',
|
||||
'ivt_qty': 600.000000,
|
||||
'vehicle_qty': 15,
|
||||
'vehicle_max_qty': 20,
|
||||
'device_url': 'yzj'
|
||||
}
|
||||
]
|
||||
let res = {
|
||||
result: [
|
||||
{
|
||||
'point_id': '1',
|
||||
'point_code': 'HLJDJW01',
|
||||
'point_name': '混料机1对接位',
|
||||
'point_status': '3',
|
||||
'material_id': 1556534702800769024,
|
||||
'material_name': '木质花纹2cm',
|
||||
'ivt_weight': 29.500000,
|
||||
'work_time': '50',
|
||||
'ivt_qty': 600.000000,
|
||||
'vehicle_qty': 15,
|
||||
'vehicle_max_qty': '',
|
||||
'device_url': 'hlj'
|
||||
},
|
||||
{
|
||||
'point_id': '1518105008862793728',
|
||||
'point_code': 'YZJ02XL01',
|
||||
'point_name': '压制机2下料位1',
|
||||
'point_status': '3',
|
||||
'material_id': 1556534702800769024,
|
||||
'material_name': '木质花纹2cm',
|
||||
'ivt_weight': 29.500000,
|
||||
'work_time': '50',
|
||||
'ivt_qty': 600.000000,
|
||||
'vehicle_qty': 15,
|
||||
'vehicle_max_qty': 20,
|
||||
'device_url': 'yzj'
|
||||
}
|
||||
]
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user