From 240e417a44965d5fdd16016c01909e843635dac2 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Sun, 14 May 2023 14:07:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/getData2.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js index 860b597..e4c499f 100644 --- a/src/assets/js/getData2.js +++ b/src/assets/js/getData2.js @@ -1,12 +1,12 @@ import {post} from './http.js' // 设备监控 -// export const deviceMonitor = () => post('api/cockpit/deviceMonitor', { -// }) -export const deviceMonitor = () => { - let res = {'code': 200, 'desc': '操作成功', 'result': {'BZX': [{'device_code': 'DT01', 'device_name': '叠托位', 'device_model': '13', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '2', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:46:29', 'stand_time': 0, 'error_time': 0, 'device_url': 'DTJ'}, {'device_code': 'BZJ01', 'device_name': '包装机', 'device_model': '12', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'BZJ'}, {'device_code': 'RGV01', 'device_name': 'RGV搬运车', 'device_model': '11', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '363', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-12 09:19:13', 'stand_time': 0, 'error_time': 0, 'device_url': 'RGV'}], 'MDJXS': [{'device_code': 'MDJXS04', 'device_name': '码垛机械手4', 'device_model': '5', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'MDJXS'}, {'device_code': 'MDJXS03', 'device_name': '码垛机械手3', 'device_model': '5', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 02:47:36', 'stand_time': 2, 'error_time': 0, 'device_url': 'MDJXS'}, {'device_code': 'MDJXS02', 'device_name': '码垛机械手2', 'device_model': '5', 'device_status': '3', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:34', 'stand_time': 0, 'error_time': 1, 'device_url': 'MDJXS'}, {'device_code': 'MDJXS01', 'device_name': '码垛机械手1', 'device_model': '5', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:47', 'stand_time': 1, 'error_time': 0, 'device_url': 'MDJXS'}], 'YAO': [{'device_code': 'CYHJ01', 'device_name': '出窑桁架', 'device_model': '8', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '41', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-09 11:07:47', 'stand_time': 78, 'error_time': 31, 'device_url': 'CYHJ'}, {'device_code': 'Y01', 'device_name': '窑1', 'device_model': '7', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'YAO'}, {'device_code': 'JYHJ01', 'device_name': '进窑桁架', 'device_model': '6', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:46:38', 'stand_time': 2, 'error_time': 0, 'device_url': 'RYHJ'}], 'HLJ': [{'device_code': 'HLJ16', 'device_name': '混料机16', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ15', 'device_name': '混料机15', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ14', 'device_name': '混料机14', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ13', 'device_name': '混料机13', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:53', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ12', 'device_name': '混料机12', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ11', 'device_name': '混料机11', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ10', 'device_name': '混料机10', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ09', 'device_name': '混料机9', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ08', 'device_name': '混料机8', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ07', 'device_name': '混料机7', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:47', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ06', 'device_name': '混料机6', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ05', 'device_name': '混料机5', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ04', 'device_name': '混料机4', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:42', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}, {'device_code': 'HLJ03', 'device_name': '混料机3', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:39', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}, {'device_code': 'HLJ02', 'device_name': '混料机2', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:36', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}, {'device_code': 'HLJ01', 'device_name': '混料机1', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:33', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}], 'YZJ': [{'device_code': 'YJ10', 'device_name': '压机10', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ09', 'device_name': '压机9', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ08', 'device_name': '压机8', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ07', 'device_name': '压机7', 'device_model': '4', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ06', 'device_name': '压机6', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ05', 'device_name': '压机5', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '229', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ04', 'device_name': '压机4', 'device_model': '4', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C422222GM001BD20-8', 'work_time': '18', 'real_qty': '0', 'realproducestart_date': '2023-05-13 10:10:32', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 02:47:36', 'stand_time': 456, 'error_time': 422, 'device_url': 'YZJ'}, {'device_code': 'YJ03', 'device_name': '压机3', 'device_model': '4', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C322222GM001BD20-8', 'work_time': '19', 'real_qty': '0', 'realproducestart_date': '2023-05-13 10:10:18', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 02:47:36', 'stand_time': 455, 'error_time': 422, 'device_url': 'YZJ'}, {'device_code': 'YJ02', 'device_name': '压机2', 'device_model': '3', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C222222GM001BD20-8', 'work_time': '24', 'real_qty': '2649', 'realproducestart_date': '2023-05-13 10:09:17', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:34', 'stand_time': 332, 'error_time': 8, 'device_url': 'YZJ_S'}, {'device_code': 'YJ01', 'device_name': '压机1', 'device_model': '3', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C122222GM001BD20-8', 'work_time': '20', 'real_qty': '1963', 'realproducestart_date': '2023-05-13 10:08:36', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:47', 'stand_time': 274, 'error_time': 13, 'device_url': 'YZJ_S'}], 'FJJXS': [{'device_code': 'FJCDJXS01', 'device_name': '分拣拆垛机械手', 'device_model': '9', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'FJCDJXS'}, {'device_code': 'FJMDJXS01', 'device_name': '分拣码垛机械手1', 'device_model': '10', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'FJMDJXS'}]}} - return res -} +export const deviceMonitor = () => post('api/cockpit/deviceMonitor', { +}) +// export const deviceMonitor = () => { +// let res = {'code': 200, 'desc': '操作成功', 'result': {'BZX': [{'device_code': 'DT01', 'device_name': '叠托位', 'device_model': '13', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '2', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:46:29', 'stand_time': 0, 'error_time': 0, 'device_url': 'DTJ'}, {'device_code': 'BZJ01', 'device_name': '包装机', 'device_model': '12', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'BZJ'}, {'device_code': 'RGV01', 'device_name': 'RGV搬运车', 'device_model': '11', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '363', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-12 09:19:13', 'stand_time': 0, 'error_time': 0, 'device_url': 'RGV'}], 'MDJXS': [{'device_code': 'MDJXS04', 'device_name': '码垛机械手4', 'device_model': '5', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'MDJXS'}, {'device_code': 'MDJXS03', 'device_name': '码垛机械手3', 'device_model': '5', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 02:47:36', 'stand_time': 2, 'error_time': 0, 'device_url': 'MDJXS'}, {'device_code': 'MDJXS02', 'device_name': '码垛机械手2', 'device_model': '5', 'device_status': '3', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:34', 'stand_time': 0, 'error_time': 1, 'device_url': 'MDJXS'}, {'device_code': 'MDJXS01', 'device_name': '码垛机械手1', 'device_model': '5', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:47', 'stand_time': 1, 'error_time': 0, 'device_url': 'MDJXS'}], 'YAO': [{'device_code': 'CYHJ01', 'device_name': '出窑桁架', 'device_model': '8', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '41', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-09 11:07:47', 'stand_time': 78, 'error_time': 31, 'device_url': 'CYHJ'}, {'device_code': 'Y01', 'device_name': '窑1', 'device_model': '7', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'YAO'}, {'device_code': 'JYHJ01', 'device_name': '进窑桁架', 'device_model': '6', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:46:38', 'stand_time': 2, 'error_time': 0, 'device_url': 'RYHJ'}], 'HLJ': [{'device_code': 'HLJ16', 'device_name': '混料机16', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ15', 'device_name': '混料机15', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ14', 'device_name': '混料机14', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ13', 'device_name': '混料机13', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:53', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ12', 'device_name': '混料机12', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ11', 'device_name': '混料机11', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ10', 'device_name': '混料机10', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ09', 'device_name': '混料机9', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ08', 'device_name': '混料机8', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ07', 'device_name': '混料机7', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:47', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ06', 'device_name': '混料机6', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ05', 'device_name': '混料机5', 'device_model': '2', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ'}, {'device_code': 'HLJ04', 'device_name': '混料机4', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:42', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}, {'device_code': 'HLJ03', 'device_name': '混料机3', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:39', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}, {'device_code': 'HLJ02', 'device_name': '混料机2', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:36', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}, {'device_code': 'HLJ01', 'device_name': '混料机1', 'device_model': '1', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '2023-05-13 09:52:33', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '', 'stand_time': 0, 'error_time': 0, 'device_url': 'HLJ_S'}], 'YZJ': [{'device_code': 'YJ10', 'device_name': '压机10', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ09', 'device_name': '压机9', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ08', 'device_name': '压机8', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ07', 'device_name': '压机7', 'device_model': '4', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ06', 'device_name': '压机6', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '18936', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ05', 'device_name': '压机5', 'device_model': '4', 'device_status': '2', 'device_status_name': null, 'material_name': '-', 'work_time': '229', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 08:47:53', 'stand_time': 0, 'error_time': 0, 'device_url': 'YZJ'}, {'device_code': 'YJ04', 'device_name': '压机4', 'device_model': '4', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C422222GM001BD20-8', 'work_time': '18', 'real_qty': '0', 'realproducestart_date': '2023-05-13 10:10:32', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 02:47:36', 'stand_time': 456, 'error_time': 422, 'device_url': 'YZJ'}, {'device_code': 'YJ03', 'device_name': '压机3', 'device_model': '4', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C322222GM001BD20-8', 'work_time': '19', 'real_qty': '0', 'realproducestart_date': '2023-05-13 10:10:18', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 02:47:36', 'stand_time': 455, 'error_time': 422, 'device_url': 'YZJ'}, {'device_code': 'YJ02', 'device_name': '压机2', 'device_model': '3', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C222222GM001BD20-8', 'work_time': '24', 'real_qty': '2649', 'realproducestart_date': '2023-05-13 10:09:17', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:34', 'stand_time': 332, 'error_time': 8, 'device_url': 'YZJ_S'}, {'device_code': 'YJ01', 'device_name': '压机1', 'device_model': '3', 'device_status': '0', 'device_status_name': null, 'material_name': 'ZLMCZ1001C122222GM001BD20-8', 'work_time': '20', 'real_qty': '1963', 'realproducestart_date': '2023-05-13 10:08:36', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '2023-05-14 09:53:47', 'stand_time': 274, 'error_time': 13, 'device_url': 'YZJ_S'}], 'FJJXS': [{'device_code': 'FJCDJXS01', 'device_name': '分拣拆垛机械手', 'device_model': '9', 'device_status': '0', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'FJCDJXS'}, {'device_code': 'FJMDJXS01', 'device_name': '分拣码垛机械手1', 'device_model': '10', 'device_status': '1', 'device_status_name': null, 'material_name': '-', 'work_time': '0', 'real_qty': '0', 'realproducestart_date': '', 'vehicle_qty': null, 'vehicle_type': null, 'vehicle_max_qty': null, 'error': 0, 'open_time': '0', 'stand_time': 0, 'error_time': 0, 'device_url': 'FJMDJXS'}]}} +// return res +// } export const findDeviceById = (id) => post('api/cockpit/findDeviceById', { id: id })