From 4f7793af2110bcb7b0ee757e7b49d7fc0e44e690 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 31 Jul 2023 17:25:12 +0800 Subject: [PATCH] demo --- src/assets/js/mork.js | 2212 +++++++++++++++++++++++++++++++++++ src/pages/shunhe/demo.vue | 2304 +++++++++++++++++++++++++++++++++++++ src/router/index.js | 6 + 3 files changed, 4522 insertions(+) create mode 100644 src/assets/js/mork.js create mode 100644 src/pages/shunhe/demo.vue diff --git a/src/assets/js/mork.js b/src/assets/js/mork.js new file mode 100644 index 0000000..56a8a2f --- /dev/null +++ b/src/assets/js/mork.js @@ -0,0 +1,2212 @@ +export const workshopCondition = () => { + let res = { + 'code': 200, + 'desc': '操作成功', + 'result': { + 'SemiFinishedProductShelfList': [ + { + 'point_name': '半成品货位1', + 'point_code': 'BCPHW01', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位3', + 'point_code': 'BCPHW03', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位5', + 'point_code': 'BCPHW05', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位7', + 'point_code': 'BCPHW07', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位9', + 'point_code': 'BCPHW09', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位11', + 'point_code': 'BCPHW11', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位13', + 'point_code': 'BCPHW13', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位15', + 'point_code': 'BCPHW15', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位17', + 'point_code': 'BCPHW17', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位19', + 'point_code': 'BCPHW19', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位21', + 'point_code': 'BCPHW21', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位23', + 'point_code': 'BCPHW23', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位25', + 'point_code': 'BCPHW25', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位27', + 'point_code': 'BCPHW27', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位29', + 'point_code': 'BCPHW29', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位31', + 'point_code': 'BCPHW31', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位33', + 'point_code': 'BCPHW33', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位35', + 'point_code': 'BCPHW35', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位37', + 'point_code': 'BCPHW37', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位39', + 'point_code': 'BCPHW39', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位41', + 'point_code': 'BCPHW41', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位43', + 'point_code': 'BCPHW43', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位45', + 'point_code': 'BCPHW45', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位47', + 'point_code': 'BCPHW47', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位49', + 'point_code': 'BCPHW49', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位51', + 'point_code': 'BCPHW51', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位2', + 'point_code': 'BCPHW02', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位4', + 'point_code': 'BCPHW04', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位6', + 'point_code': 'BCPHW06', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位8', + 'point_code': 'BCPHW08', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位10', + 'point_code': 'BCPHW10', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位12', + 'point_code': 'BCPHW12', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位14', + 'point_code': 'BCPHW14', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位16', + 'point_code': 'BCPHW16', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位18', + 'point_code': 'BCPHW18', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位20', + 'point_code': 'BCPHW20', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位22', + 'point_code': 'BCPHW22', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位24', + 'point_code': 'BCPHW24', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位26', + 'point_code': 'BCPHW26', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位28', + 'point_code': 'BCPHW28', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位30', + 'point_code': 'BCPHW30', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位32', + 'point_code': 'BCPHW32', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位34', + 'point_code': 'BCPHW34', + 'point_status': '1', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位36', + 'point_code': 'BCPHW36', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位38', + 'point_code': 'BCPHW38', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位40', + 'point_code': 'BCPHW40', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位42', + 'point_code': 'BCPHW42', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位44', + 'point_code': 'BCPHW44', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位46', + 'point_code': 'BCPHW46', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位48', + 'point_code': 'BCPHW48', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位50', + 'point_code': 'BCPHW50', + 'point_status': '0', + 'region_code': 'BCPHJ' + }, + { + 'point_name': '半成品货位52', + 'point_code': 'BCPHW52', + 'point_status': '0', + 'region_code': 'BCPHJ' + } + ], + 'IoKilnTrussTask': [ + { + 'error_time': 1, + 'stand_time': 25, + 'device_code': 'JYHJ01', + 'open_time': '2023-07-03 09:42:25', + 'work_time': 29, + 'error': 0, + 'status': 2 + }, + { + 'error_time': 0, + 'stand_time': 3, + 'device_code': 'CYHJ01', + 'open_time': '2023-07-03 09:11:35', + 'work_time': 52, + 'error': 0, + 'status': 2 + } + ], + 'HLDayList': [ + { + 'plan_qty': 10000, + 'real_qty': 3000, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ01', + 'material_code': null, + 'device_name': '混料机1', + 'region_code': 'HL' + }, + { + 'plan_qty': 10000, + 'real_qty': 4500, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ02', + 'material_code': null, + 'device_name': '混料机2', + 'region_code': 'HL' + }, + { + 'plan_qty': 10000, + 'real_qty': 4500, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ03', + 'material_code': null, + 'device_name': '混料机3', + 'region_code': 'HL' + }, + { + 'plan_qty': 10000, + 'real_qty': 6000, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ04', + 'material_code': null, + 'device_name': '混料机4', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ05', + 'material_code': null, + 'device_name': '混料机5', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ06', + 'material_code': null, + 'device_name': '混料机6', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ07', + 'material_code': null, + 'device_name': '混料机7', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ08', + 'material_code': null, + 'device_name': '混料机8', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ09', + 'material_code': null, + 'device_name': '混料机9', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ10', + 'material_code': null, + 'device_name': '混料机10', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ11', + 'material_code': null, + 'device_name': '混料机11', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ12', + 'material_code': null, + 'device_name': '混料机12', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ13', + 'material_code': null, + 'device_name': '混料机13', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ14', + 'material_code': null, + 'device_name': '混料机14', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ15', + 'material_code': null, + 'device_name': '混料机15', + 'region_code': 'HL' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'HLJ16', + 'material_code': null, + 'device_name': '混料机16', + 'region_code': 'HL' + } + ], + 'SortAndPalletizingList': { + 'cause': { + 'cause': null, + 'stackTrace': [ + { + 'methodName': 'lambda$workshopCondition$39', + 'fileName': 'BigScreenServiceImpl.java', + 'lineNumber': 360, + 'className': 'org.nl.wms.cockpit.service.impl.BigScreenServiceImpl', + 'nativeMethod': false + }, + { + 'methodName': 'run', + 'fileName': 'CompletableFuture.java', + 'lineNumber': 1590, + 'className': 'java.util.concurrent.CompletableFuture$AsyncSupply', + 'nativeMethod': false + }, + { + 'methodName': 'runWorker', + 'fileName': 'ThreadPoolExecutor.java', + 'lineNumber': 1142, + 'className': 'java.util.concurrent.ThreadPoolExecutor', + 'nativeMethod': false + }, + { + 'methodName': 'run', + 'fileName': 'ThreadPoolExecutor.java', + 'lineNumber': 617, + 'className': 'java.util.concurrent.ThreadPoolExecutor$Worker', + 'nativeMethod': false + }, + { + 'methodName': 'run', + 'fileName': 'Thread.java', + 'lineNumber': 748, + 'className': 'java.lang.Thread', + 'nativeMethod': false + } + ], + 'localizedMessage': null, + 'message': null, + 'suppressed': [] + }, + 'stackTrace': [ + { + 'methodName': 'encodeThrowable', + 'fileName': 'CompletableFuture.java', + 'lineNumber': 273, + 'className': 'java.util.concurrent.CompletableFuture', + 'nativeMethod': false + }, + { + 'methodName': 'completeThrowable', + 'fileName': 'CompletableFuture.java', + 'lineNumber': 280, + 'className': 'java.util.concurrent.CompletableFuture', + 'nativeMethod': false + }, + { + 'methodName': 'run', + 'fileName': 'CompletableFuture.java', + 'lineNumber': 1592, + 'className': 'java.util.concurrent.CompletableFuture$AsyncSupply', + 'nativeMethod': false + }, + { + 'methodName': 'runWorker', + 'fileName': 'ThreadPoolExecutor.java', + 'lineNumber': 1142, + 'className': 'java.util.concurrent.ThreadPoolExecutor', + 'nativeMethod': false + }, + { + 'methodName': 'run', + 'fileName': 'ThreadPoolExecutor.java', + 'lineNumber': 617, + 'className': 'java.util.concurrent.ThreadPoolExecutor$Worker', + 'nativeMethod': false + }, + { + 'methodName': 'run', + 'fileName': 'Thread.java', + 'lineNumber': 748, + 'className': 'java.lang.Thread', + 'nativeMethod': false + } + ], + 'localizedMessage': 'java.lang.NullPointerException', + 'message': 'java.lang.NullPointerException', + 'suppressed': [] + }, + 'LastMonthFailureList': [], + 'CPDayList': [ + { + 'qualified_in_qty': 1779, + 'unqualified_in_qty': 1948, + 'inventory_qty': 1672, + 'material_code': '成品1' + }, + { + 'qualified_in_qty': 937, + 'unqualified_in_qty': 1159, + 'inventory_qty': 1245, + 'material_code': '成品2' + }, + { + 'qualified_in_qty': 118, + 'unqualified_in_qty': 1684, + 'inventory_qty': 124, + 'material_code': '成品3' + }, + { + 'qualified_in_qty': 1330, + 'unqualified_in_qty': 498, + 'inventory_qty': 389, + 'material_code': '成品4' + }, + { + 'qualified_in_qty': 1799, + 'unqualified_in_qty': 518, + 'inventory_qty': 378, + 'material_code': '成品5' + } + ], + 'LastTenFailureList': [], + 'StackingPositionList': [ + { + 'mode': 0, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ01XL01', + 'point_name': '压机1下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 0, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ01XL02', + 'point_name': '压机1下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 2, + 'device_code': 'YJ02XL01', + 'point_name': '压机2下料位1', + 'error': 0, + 'encoder_qty': 30, + 'barcode': 5261, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 2, + 'device_code': 'YJ02XL02', + 'point_name': '压机2下料位2', + 'error': 0, + 'encoder_qty': 270, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 2, + 'device_code': 'YJ03XL01', + 'point_name': '压机3下料位1', + 'error': 0, + 'encoder_qty': 10, + 'barcode': 5337, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 2, + 'device_code': 'YJ03XL02', + 'point_name': '压机3下料位2', + 'error': 0, + 'encoder_qty': 324, + 'barcode': 5304, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 2, + 'device_code': 'YJ04XL01', + 'point_name': '压机4下料位1', + 'error': 0, + 'encoder_qty': 134, + 'barcode': 5364, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ04XL02', + 'point_name': '压机4下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 5050, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ05XL01', + 'point_name': '压机5下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ05XL02', + 'point_name': '压机5下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ06XL01', + 'point_name': '压机6下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ06XL02', + 'point_name': '压机6下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 0, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ07XL01', + 'point_name': '压机7下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 0, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ07XL02', + 'point_name': '压机7下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ08XL01', + 'point_name': '压机8下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ08XL02', + 'point_name': '压机8下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ09XL01', + 'point_name': '压机9下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 2, + 'color_status': 1, + 'device_code': 'YJ09XL02', + 'point_name': '压机9下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ10XL01', + 'point_name': '压机10下料位1', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + }, + { + 'mode': 2, + 'move': 0, + 'color_status': 3, + 'device_code': 'YJ10XL02', + 'point_name': '压机10下料位2', + 'error': 0, + 'encoder_qty': 0, + 'barcode': 0, + 'region_code': 'YZ' + } + ], + 'AGVStatusList': { + 'agv_2': { + 'device_code': '2', + 'status': '4' + }, + 'agv_1': { + 'device_code': '1', + 'status': '4' + } + }, + 'YZDayList': [ + { + 'plan_qty': 1500, + 'real_qty': 2353, + 'qualified_qty': 2353, + 'unqualified_qty': 0, + 'device_code': 'YJ01', + 'material_code': null, + 'device_name': '压机1', + 'region_code': 'YZ' + }, + { + 'plan_qty': 5000, + 'real_qty': 3086, + 'qualified_qty': 3070, + 'unqualified_qty': 16, + 'device_code': 'YJ02', + 'material_code': null, + 'device_name': '压机2', + 'region_code': 'YZ' + }, + { + 'plan_qty': 1600, + 'real_qty': 687, + 'qualified_qty': 661, + 'unqualified_qty': 26, + 'device_code': 'YJ03', + 'material_code': null, + 'device_name': '压机3', + 'region_code': 'YZ' + }, + { + 'plan_qty': 3000, + 'real_qty': 695, + 'qualified_qty': 675, + 'unqualified_qty': 20, + 'device_code': 'YJ04', + 'material_code': null, + 'device_name': '压机4', + 'region_code': 'YZ' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'YJ05', + 'material_code': null, + 'device_name': '压机5', + 'region_code': 'YZ' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'YJ06', + 'material_code': null, + 'device_name': '压机6', + 'region_code': 'YZ' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'YJ07', + 'material_code': null, + 'device_name': '压机7', + 'region_code': 'YZ' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'YJ08', + 'material_code': null, + 'device_name': '压机8', + 'region_code': 'YZ' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'YJ09', + 'material_code': null, + 'device_name': '压机9', + 'region_code': 'YZ' + }, + { + 'plan_qty': 0, + 'real_qty': 0, + 'qualified_qty': 0, + 'unqualified_qty': 0, + 'device_code': 'YJ10', + 'material_code': null, + 'device_name': '压机10', + 'region_code': 'YZ' + } + ], + 'DeviceConditionList': [ + { + 'device_name': '混料', + 'failure': 0, + 'shutdown': 16, + 'standby': 0, + 'running': 0 + }, + { + 'device_name': '压制', + 'failure': 0, + 'shutdown': 7, + 'standby': 0, + 'running': 7 + }, + { + 'device_name': '干燥', + 'failure': 0, + 'shutdown': 1, + 'standby': 0, + 'running': 2 + }, + { + 'device_name': '包装', + 'failure': 0, + 'shutdown': 3, + 'standby': 1, + 'running': 1 + } + ], + 'ManipulatorInfoList': [ + { + 'device_name': '码垛机械手1', + 'error_time': 0, + 'stand_time': 0, + 'color_status': 0, + 'device_code': 'MDJXS01', + 'open_time': '0', + 'work_time': 0, + 'error': 0, + 'region_code': 'YZ', + 'status': 0 + }, + { + 'device_name': '码垛机械手2', + 'error_time': 0, + 'stand_time': 0, + 'color_status': 2, + 'device_code': 'MDJXS02', + 'open_time': '2023-07-05 07:28:24', + 'work_time': 8, + 'error': 0, + 'region_code': 'YZ', + 'status': 2 + }, + { + 'device_name': '码垛机械手3', + 'error_time': 0, + 'stand_time': 1, + 'color_status': 2, + 'device_code': 'MDJXS03', + 'open_time': '2023-07-05 02:12:33', + 'work_time': 7, + 'error': 0, + 'region_code': 'YZ', + 'status': 2 + }, + { + 'device_name': '码垛机械手4', + 'error_time': 0, + 'stand_time': 0, + 'color_status': 0, + 'device_code': 'MDJXS04', + 'open_time': '0', + 'work_time': 0, + 'error': 0, + 'region_code': 'YZ', + 'status': 0 + }, + { + 'device_name': '分拣码垛机械手', + 'error_time': 0, + 'stand_time': 8710, + 'real_qty': 0, + 'color_status': 1, + 'device_code': 'FJMDJXS01', + 'open_time': ' 2023 7 5 2 17 52', + 'work_time': 0, + 'error': 0, + 'region_code': 'FJ', + 'status': 1 + }, + { + 'device_name': '分拣拆垛机械手', + 'error_time': 31425, + 'stand_time': 163587, + 'real_qty': 5058, + 'color_status': 0, + 'device_code': 'FJCDJXS01', + 'open_time': ' 2023 7 5 2 17 14', + 'work_time': 29552, + 'error': 0, + 'region_code': 'FJ', + 'status': 0 + } + ], + 'MixMachineList': [ + { + 'bom': '3016M3', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ01', + 'mix_num': 0, + 'open_time': '', + 'work_time': 7, + 'error': 0, + 'now_capacity': '3000', + 'status': 0 + }, + { + 'bom': '3016M3', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ02', + 'mix_num': 0, + 'open_time': '', + 'work_time': 7, + 'error': 0, + 'now_capacity': '4500', + 'status': 0 + }, + { + 'bom': '3019C1', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ03', + 'mix_num': 0, + 'open_time': '', + 'work_time': 7, + 'error': 0, + 'now_capacity': '4500', + 'status': 0 + }, + { + 'bom': '3019C1', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ04', + 'mix_num': 0, + 'open_time': '', + 'work_time': 7, + 'error': 0, + 'now_capacity': '6000', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ05', + 'mix_num': 0, + 'open_time': '', + 'work_time': 7, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ06', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ07', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ08', + 'mix_num': 0, + 'open_time': '', + 'work_time': 7, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ09', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ10', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ11', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ12', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ13', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ14', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ15', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + }, + { + 'bom': '-', + 'error_time': 0, + 'stand_time': 0, + 'real_qty': 0, + 'device_code': 'HLJ16', + 'mix_num': 0, + 'open_time': '', + 'work_time': 0, + 'error': 0, + 'now_capacity': '0', + 'status': 0 + } + ], + 'PressMachineList': [ + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机1', + 'real_qty': 0, + 'device_code': 'YJ01', + 'work_time': 0, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 0 + }, + { + 'qualified': 3070, + 'error_time': 40, + 'stand_time': 362, + 'open_time': '2023-07-05 07:28:24', + 'error': 5, + 'unqualified': 16, + 'device_name': '压机2', + 'real_qty': 3086, + 'device_code': 'YJ02', + 'work_time': 334, + 'current_weight': 1188565473, + 'material_code': 'GBMAC3019C1', + 'now_capacity': '3086', + 'status': 0 + }, + { + 'qualified': 661, + 'error_time': 439, + 'stand_time': 504, + 'open_time': '2023-07-05 02:12:33', + 'error': 0, + 'unqualified': 26, + 'device_name': '压机3', + 'real_qty': 687, + 'device_code': 'YJ03', + 'work_time': 305, + 'current_weight': 1168883712, + 'material_code': 'GBMCZ3016M3', + 'now_capacity': '687', + 'status': 0 + }, + { + 'qualified': 675, + 'error_time': 439, + 'stand_time': 505, + 'open_time': '2023-07-05 02:12:33', + 'error': 5, + 'unqualified': 20, + 'device_name': '压机4', + 'real_qty': 695, + 'device_code': 'YJ04', + 'work_time': 304, + 'current_weight': 1169014784, + 'material_code': 'GBMCZ3016M3', + 'now_capacity': '695', + 'status': 0 + }, + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '2023-07-04 07:21:35', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机5', + 'real_qty': 0, + 'device_code': 'YJ05', + 'work_time': 858, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 2 + }, + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '2023-07-04 07:21:35', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机6', + 'real_qty': 0, + 'device_code': 'YJ06', + 'work_time': 19565, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 2 + }, + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机7', + 'real_qty': 0, + 'device_code': 'YJ07', + 'work_time': 0, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 0 + }, + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '2023-07-04 07:21:35', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机8', + 'real_qty': 0, + 'device_code': 'YJ08', + 'work_time': 19565, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 2 + }, + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '2023-07-04 07:21:35', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机9', + 'real_qty': 0, + 'device_code': 'YJ09', + 'work_time': 19565, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 2 + }, + { + 'qualified': 0, + 'error_time': 0, + 'stand_time': 0, + 'open_time': '2023-07-04 07:21:35', + 'error': 0, + 'unqualified': 0, + 'device_name': '压机10', + 'real_qty': 0, + 'device_code': 'YJ10', + 'work_time': 19565, + 'current_weight': 0, + 'material_code': '', + 'now_capacity': '0', + 'status': 2 + } + ], + 'TrappedShelfList': [ + { + 'stand_status_color': '', + 'stand_status': '', + 'point_name': '压机1空盅货位', + 'point_code': 'KLHW41', + 'point_status': '0', + 'stand_status_name': '' + }, + { + 'stand_status_color': '', + 'stand_status': '', + 'point_name': '压机1困料货位1', + 'point_code': 'KLHW42', + 'point_status': '0', + 'stand_status_name': '' + }, + { + 'stand_status_color': '2', + 'stand_status': '3', + 'point_name': '压机1困料货位2', + 'point_code': 'KLHW43', + 'point_status': '2', + 'stand_status_name': '困料完成' + }, + { + 'stand_status_color': '', + 'stand_status': '', + 'point_name': '压机1困料货位3', + 'point_code': 'KLHW44', + 'point_status': '0', + 'stand_status_name': '' + }, + { + 'stand_status_color': '', + 'stand_status': '', + 'point_name': '压机2空盅货位', + 'point_code': 'KLHW45', + 'point_status': '0', + 'stand_status_name': '' + }, + { + 'stand_status_color': '', + 'stand_status': '', + 'point_name': '压机2困料货位1', + 'point_code': 'KLHW46', + 'point_status': '0', + 'stand_status_name': '' + }, + { + 'stand_status_color': '', + 'stand_status': '', + 'point_name': '压机2困料货位2', + 'point_code': 'KLHW47', + 'point_status': '0', + 'stand_status_name': '' + }, + { + 'stand_status_color': '2', + 'stand_status': '3', + 'point_name': '压机2困料货位3', + 'point_code': 'KLHW48', + 'point_status': '2', + 'stand_status_name': '困料完成' + } + ], + 'kilneye4InfoList': [ + { + 'error_time': 1, + 'stand_time': 25, + 'device_code': 'JYHJ01', + 'open_time': '2023-07-03 09:42:25', + 'work_time': 29, + 'error': 0, + 'status': 2 + }, + { + 'device_code': 'JYHJ02' + }, + { + 'device_code': 'JYHJ03' + }, + { + 'device_code': 'JYHJ04' + } + ], + 'TrappedMaterialShelfList': [ + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位1', + 'point_code': 'KLHW01', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位3', + 'point_code': 'KLHW03', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位5', + 'point_code': 'KLHW05', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位7', + 'point_code': 'KLHW07', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位9', + 'point_code': 'KLHW09', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位11', + 'point_code': 'KLHW11', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位13', + 'point_code': 'KLHW13', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位15', + 'point_code': 'KLHW15', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位17', + 'point_code': 'KLHW17', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位19', + 'point_code': 'KLHW19', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位21', + 'point_code': 'KLHW21', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位23', + 'point_code': 'KLHW23', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位25', + 'point_code': 'KLHW25', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位27', + 'point_code': 'KLHW27', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位29', + 'point_code': 'KLHW29', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位31', + 'point_code': 'KLHW31', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位33', + 'point_code': 'KLHW33', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位35', + 'point_code': 'KLHW35', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位37', + 'point_code': 'KLHW37', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位39', + 'point_code': 'KLHW39', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位2', + 'point_code': 'KLHW02', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位4', + 'point_code': 'KLHW04', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位6', + 'point_code': 'KLHW06', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位8', + 'point_code': 'KLHW08', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位10', + 'point_code': 'KLHW10', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位12', + 'point_code': 'KLHW12', + 'point_status': '1', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位14', + 'point_code': 'KLHW14', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位16', + 'point_code': 'KLHW16', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位18', + 'point_code': 'KLHW18', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位20', + 'point_code': 'KLHW20', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位22', + 'point_code': 'KLHW22', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位24', + 'point_code': 'KLHW24', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位26', + 'point_code': 'KLHW26', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位28', + 'point_code': 'KLHW28', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位30', + 'point_code': 'KLHW30', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位32', + 'point_code': 'KLHW32', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位34', + 'point_code': 'KLHW34', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位36', + 'point_code': 'KLHW36', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位38', + 'point_code': 'KLHW38', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + }, + { + 'stand_status_color': '0', + 'stand_status': '', + 'point_name': '困料货位40', + 'point_code': 'KLHW40', + 'point_status': '0', + 'region_code': 'KLHJ', + 'stand_status_name': '' + } + ], + 'MixBlankingList': [ + { + 'point_name': '混料机1下料位', + 'point_code': 'HLJ01XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机2下料位', + 'point_code': 'HLJ02XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机3下料位', + 'point_code': 'HLJ03XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机4下料位', + 'point_code': 'HLJ04XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机5下料位', + 'point_code': 'HLJ05XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机6下料位', + 'point_code': 'HLJ06XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机7下料位', + 'point_code': 'HLJ07XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机8下料位', + 'point_code': 'HLJ08XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机9下料位', + 'point_code': 'HLJ09XL01', + 'point_status': '0' + }, + { + 'point_name': '混料机10下料位', + 'point_code': 'HLJ10XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机11下料位', + 'point_code': 'HLJ11XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机12下料位', + 'point_code': 'HLJ12XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机13下料位', + 'point_code': 'HLJ13XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机14下料位', + 'point_code': 'HLJ14XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机15下料位', + 'point_code': 'HLJ15XL01', + 'point_status': '1' + }, + { + 'point_name': '混料机16下料位', + 'point_code': 'HLJ16XL01', + 'point_status': '1' + } + ] + } + } + return res +} + +export const sortingAndPackagingPopover = () => { + let res = { + 'code': 200, + 'desc': '操作成功', + 'result': { + 'SplitOrPalletizingList': [ + { + 'bom': '3012C1', + 'is_full': '是', + 'device_name': '压机1', + 'qty': '270', + 'mix_num': '20230606000', + 'point_name': '分拣拆垛1对接位1', + 'vehicle_code': '5070', + 'point_code': 'FJCD01DJ01', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '-', + 'is_full': '-', + 'device_name': '-', + 'qty': '-', + 'mix_num': '-', + 'point_name': '分拣拆垛1对接位2', + 'vehicle_code': '', + 'point_code': 'FJCD01DJ02', + 'point_status': '0', + 'material_code': '-' + }, + { + 'bom': '-', + 'is_full': '-', + 'device_name': '-', + 'qty': '-', + 'mix_num': '-', + 'point_name': '分拣码垛1对接位1', + 'vehicle_code': '0000', + 'point_code': 'FJMD01DJ01', + 'point_status': '1', + 'material_code': '-' + }, + { + 'bom': '-', + 'is_full': '-', + 'device_name': '-', + 'qty': '-', + 'mix_num': '-', + 'point_name': '分拣码垛1对接位2', + 'vehicle_code': '0000', + 'point_code': 'FJMD01DJ02', + 'point_status': '1', + 'material_code': '-' + } + ], + 'HalfSupportCacheList': [ + { + 'bom': '-', + 'device_name': '-', + 'instorage_time': '-', + 'qty': '-', + 'mix_num': '-', + 'point_name': '半托缓存位1', + 'point_status_name': '无货', + 'vehicle_code': '-', + 'point_code': 'BTHC01', + 'point_status': '0', + 'material_code': '-' + } + ], + 'DevicesInfoList': { + 'DT01': { + 'device_status': 2, + 'device_name': '叠托位', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'DT01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + }, + 'FJCDJXS01': { + 'device_status': 2, + 'device_name': '分拣拆垛机械手', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'FJCDJXS01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + }, + 'RGV01': { + 'device_status': 2, + 'device_name': 'RGV搬运车', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'RGV01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + }, + 'FJMDJXS01': { + 'device_status': 2, + 'device_name': '分拣码垛机械手', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'FJMDJXS01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + }, + 'CPJ01': { + 'device_status': 2, + 'device_name': '拆盘机', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'CPJ01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + }, + 'BZJ01': { + 'device_status': 2, + 'device_name': '包装机', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'BZJ01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + }, + 'FJRGCD01': { + 'device_status': 2, + 'device_name': '分拣人工拆垛', + 'device_status_name': '运行中', + 'error_time': '0', + 'stand_time': '2', + 'device_code': 'FJRGCD01', + 'open_time': '2023-06-02 11:12:02', + 'work_time': '7' + } + }, + 'PackagingLineList': [ + { + 'device_code': 'BZX01', + 'move': '1', + 'vehicle_type': '3', + 'vehicle_code': '0001' + }, + { + 'device_code': 'BZX02', + 'move': '1', + 'vehicle_type': '2', + 'vehicle_code': '0000' + }, + { + 'device_code': 'BZX03', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX04', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX05', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX06', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX07', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX08', + 'move': '1', + 'vehicle_type': '2', + 'vehicle_code': '1111' + }, + { + 'device_code': 'BZX09', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX10', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX11', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX12', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX13', + 'move': '0', + 'vehicle_type': '', + 'vehicle_code': '' + }, + { + 'device_code': 'BZX14', + 'move': '1', + 'vehicle_type': '2', + 'vehicle_code': '0000' + }, + { + 'device_code': 'BZX15', + 'move': '1', + 'vehicle_type': '2', + 'vehicle_code': '0000' + } + ] + } + } + return res +} diff --git a/src/pages/shunhe/demo.vue b/src/pages/shunhe/demo.vue new file mode 100644 index 0000000..e4c93a6 --- /dev/null +++ b/src/pages/shunhe/demo.vue @@ -0,0 +1,2304 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index f3c4d25..07361c1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -26,6 +26,8 @@ const TakeShapeTwo = r => require.ensure([], () => r(require('@page/modules/take const SortPackOne = r => require.ensure([], () => r(require('@page/modules/sortpack/one')), 'takeshape') const SortPackTwo = r => require.ensure([], () => r(require('@page/modules/sortpack/two')), 'takeshape') +const shunheDemo = r => require.ensure([], () => r(require('@page/shunhe/demo')), 'shuhe') + export default new Router({ linkActiveClass: 'tab-active', routes: [ @@ -112,6 +114,10 @@ export default new Router({ { path: '/test', component: Test + }, + { + path: '/shunheDemo', + component: shunheDemo } ] })