http
This commit is contained in:
38
src/assets/js/getData2.js
Normal file
38
src/assets/js/getData2.js
Normal file
@@ -0,0 +1,38 @@
|
||||
// import {post} from './http.js'
|
||||
|
||||
// 设备监控
|
||||
// export const deviceMonitor = () => post('api/cockpit/deviceMonitor', {
|
||||
// })
|
||||
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'
|
||||
}
|
||||
]
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user