diff --git a/src/assets/images/devmon/BZX.jpg b/src/assets/images/devmon/BZJ.jpg similarity index 100% rename from src/assets/images/devmon/BZX.jpg rename to src/assets/images/devmon/BZJ.jpg diff --git a/src/assets/images/devmon/CPJ.jpg b/src/assets/images/devmon/CPJ.jpg deleted file mode 100644 index 5b2c2ae..0000000 Binary files a/src/assets/images/devmon/CPJ.jpg and /dev/null differ diff --git a/src/assets/images/devmon/CPX.jpg b/src/assets/images/devmon/CPX.jpg deleted file mode 100644 index 6d9da7d..0000000 Binary files a/src/assets/images/devmon/CPX.jpg and /dev/null differ diff --git a/src/assets/images/devmon/CYHJ.jpg b/src/assets/images/devmon/CYHJ.jpg new file mode 100644 index 0000000..eb96db2 Binary files /dev/null and b/src/assets/images/devmon/CYHJ.jpg differ diff --git a/src/assets/images/devmon/DPJ.jpg b/src/assets/images/devmon/DTJ.jpg similarity index 100% rename from src/assets/images/devmon/DPJ.jpg rename to src/assets/images/devmon/DTJ.jpg diff --git a/src/assets/images/devmon/FJJXS.jpg b/src/assets/images/devmon/FJMDJXS.jpg similarity index 100% rename from src/assets/images/devmon/FJJXS.jpg rename to src/assets/images/devmon/FJMDJXS.jpg diff --git a/src/assets/images/devmon/RYHJ.jpg b/src/assets/images/devmon/RYHJ.jpg new file mode 100644 index 0000000..eb96db2 Binary files /dev/null and b/src/assets/images/devmon/RYHJ.jpg differ diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js index a11bf30..860b597 100644 --- a/src/assets/js/getData2.js +++ b/src/assets/js/getData2.js @@ -1,732 +1,12 @@ import {post} from './http.js' // 设备监控 -export const deviceMonitor = () => post('api/cockpit/deviceMonitor', { -}) -// export const deviceMonitor = () => { -// let res = { -// 'code': 200, -// 'desc': '操作成功', -// 'result': { -// 'HLJ': [ -// { -// 'device_code': 'HLJ01', -// 'device_name': '混料机1', -// 'device_model': '1', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': 'ZLMCZ1001C111122GM001BD20-8', -// 'work_time': '0', -// 'real_qty': '', -// 'realproducestart_date': '', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ_S' -// }, -// { -// 'device_code': 'HLJ02', -// 'device_name': '混料机2', -// 'device_model': '1', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ_S' -// }, -// { -// 'device_code': 'HLJ03', -// 'device_name': '混料机3', -// 'device_model': '1', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ_S' -// }, -// { -// 'device_code': 'HLJ04', -// 'device_name': '混料机4', -// 'device_model': '1', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ_S' -// }, -// { -// 'device_code': 'HLJ05', -// 'device_name': '混料机5', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ06', -// 'device_name': '混料机6', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ07', -// 'device_name': '混料机7', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ08', -// 'device_name': '混料机8', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ09', -// 'device_name': '混料机9', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ10', -// 'device_name': '混料机10', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ11', -// 'device_name': '混料机11', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ12', -// 'device_name': '混料机12', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ13', -// 'device_name': '混料机13', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ14', -// 'device_name': '混料机14', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ15', -// 'device_name': '混料机15', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// }, -// { -// 'device_code': 'HLJ16', -// 'device_name': '混料机16', -// 'device_model': '2', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'HLJ' -// } -// ], -// 'YZJ': [ -// { -// 'device_code': 'YJ01', -// 'device_name': '压机1', -// 'device_model': '3', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-17 14:18:58', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ_S' -// }, -// { -// 'device_code': 'YJ02', -// 'device_name': '压机2', -// 'device_model': '3', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-18 13:34:36', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ_S' -// }, -// { -// 'device_code': 'YJ03', -// 'device_name': '压机3', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-29 16:30:23', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ04', -// 'device_name': '压机4', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-20 10:43:55', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ05', -// 'device_name': '压机5', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-25 15:51:44', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ06', -// 'device_name': '压机6', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-27 09:28:22', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ07', -// 'device_name': '压机7', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-22 11:29:10', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ08', -// 'device_name': '压机8', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-27 09:28:27', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ09', -// 'device_name': '压机9', -// 'device_model': '4', -// 'device_status': null, -// 'device_status_name': null, -// 'material_name': '-', -// 'work_time': '0', -// 'real_qty': '0', -// 'realproducestart_date': '2023-04-27 09:28:31', -// 'vehicle_qty': null, -// 'vehicle_type': null, -// 'vehicle_max_qty': null, -// 'error': 0, -// 'open_time': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// }, -// { -// 'device_code': 'YJ10', -// 'device_name': '压机10', -// 'device_model': '4', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'YZJ' -// } -// ], -// 'MDJXS': [ -// { -// 'device_code': 'FJCDJXS0121', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0122', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0123', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// } -// ], -// 'YAO': [ -// { -// 'device_code': 'FJCDJXS0124', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0125', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0126', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// } -// ], -// 'FJJXS': [ -// { -// 'device_code': 'FJCDJXS0127', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0128', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// } -// ], -// 'BZX': [ -// { -// 'device_code': 'FJCDJXS0130', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0131', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// }, -// { -// 'device_code': 'FJCDJXS0132', -// 'device_name': '分拣拆垛机械手', -// 'device_model': '9', -// 'device_status': null, -// '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': null, -// 'stand_time': 0, -// 'error_time': 0, -// 'device_url': 'FJCDJXS' -// } -// ] -// } -// } -// 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 })