diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js
index d8f1687..1d8387b 100644
--- a/src/assets/js/getData2.js
+++ b/src/assets/js/getData2.js
@@ -521,39 +521,24 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {})
// ],
// 'LastMonthFailureList': [
// {
-// 'device_name': '机器1',
-// 'failure': 27,
-// 'shutdown': null,
-// 'standby': null,
-// 'running': null
+// 'device_name': '压机3',
+// 'failure': '2'
// },
// {
-// 'device_name': '机器2',
-// 'failure': 11,
-// 'shutdown': null,
-// 'standby': null,
-// 'running': null
+// 'device_name': '压机1',
+// 'failure': '2'
// },
// {
-// 'device_name': '机器3',
-// 'failure': 28,
-// 'shutdown': null,
-// 'standby': null,
-// 'running': null
+// 'device_name': '压机6',
+// 'failure': '1'
// },
// {
-// 'device_name': '机器4',
-// 'failure': 20,
-// 'shutdown': null,
-// 'standby': null,
-// 'running': null
+// 'device_name': '压机5',
+// 'failure': '1'
// },
// {
-// 'device_name': '机器5',
-// 'failure': 23,
-// 'shutdown': null,
-// 'standby': null,
-// 'running': null
+// 'device_name': '压机2',
+// 'failure': '1'
// }
// ],
// 'CPDayList': [
@@ -590,39 +575,60 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {})
// ],
// 'LastTenFailureList': [
// {
-// 'failure_time': '05-30 09:50:12',
-// 'device_code': 'hl01',
-// 'device_name': '混料01',
-// 'failure_info': '机器故障',
-// 'device_status_name': '待机'
+// 'failure_info': '未排产报警',
+// 'device_name': '压机5',
+// 'data_id': '1655172926997131432',
+// 'device_code': 'YJ05',
+// 'failure_time': '2023-06-21 16:19:41'
// },
// {
-// 'failure_time': '05-30 09:50:12',
-// 'device_code': 'hl01',
-// 'device_name': '混料01',
-// 'failure_info': '机器故障',
-// 'device_status_name': '待机'
+// 'failure_info': '未排产报警',
+// 'device_name': '压机3',
+// 'data_id': '1655172926997132452',
+// 'device_code': 'YJ03',
+// 'failure_time': '2023-06-21 16:19:41'
// },
// {
-// 'failure_time': '05-30 09:50:12',
-// 'device_code': 'hl01',
-// 'device_name': '混料01',
-// 'failure_info': '机器故障',
-// 'device_status_name': '待机'
+// 'failure_info': '未排产报警',
+// 'device_name': '压机2',
+// 'data_id': '1655172926997139426',
+// 'device_code': 'YJ02',
+// 'failure_time': '2023-06-21 16:19:41'
// },
// {
-// 'failure_time': '05-30 09:50:12',
-// 'device_code': 'hl01',
-// 'device_name': '混料01',
-// 'failure_info': '机器故障',
-// 'device_status_name': '待机'
+// 'failure_info': '未排产报警',
+// 'device_name': '压机9',
+// 'data_id': '1655172926997139432',
+// 'device_code': 'YJ09',
+// 'failure_time': '2023-06-21 16:19:41'
// },
// {
-// 'failure_time': '05-30 09:50:12',
-// 'device_code': 'hl01',
-// 'device_name': '混料01',
-// 'failure_info': '机器故障',
-// 'device_status_name': '待机'
+// 'failure_info': '未排产报警',
+// 'device_name': '压机3',
+// 'data_id': '1655172926997139452',
+// 'device_code': 'YJ03',
+// 'failure_time': '2023-06-21 16:19:41'
+// },
+// {
+// 'failure_info': '未排产报警',
+// 'device_name': '压机1',
+// 'data_id': '1655172926997139456',
+// 'device_code': 'YJ01',
+// 'failure_time': '2023-06-21 16:19:41'
+// },
+// {
+// 'failure_info': '未排产报警',
+// 'device_name': '压机1',
+// 'data_id': '1655172926997139433',
+// 'device_code': 'YJ01',
+// 'failure_time': '2023-06-20 16:19:41'
+// },
+// {
+// 'failure_info': '未排产报警',
+// 'device_name': '压机6',
+// 'data_id': '1655172926997111432',
+// 'device_code': 'YJ06',
+// 'failure_time': '2023-06-18 16:19:41'
// }
// ],
// 'StackingPositionList': [
@@ -913,116 +919,228 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {})
// ],
// 'MixMachineList': [
// {
-// 'bom': '3038C2',
+// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ01',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '7500'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 194,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
-// 'bom': '3038C2',
+// 'bom': '3008C1',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ02',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '9000'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 196,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
-// 'bom': '3034C2',
+// 'bom': '3008C1',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ03',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '3000'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 196,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
-// 'bom': '3034C2',
+// 'bom': '3004M1',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ04',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '3000'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 196,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
-// 'bom': '3038C2',
+// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ05',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '42000'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 1,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ06',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ07',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ08',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 1,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ09',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ10',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ11',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ12',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ13',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ14',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ15',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '1501'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
// 'bom': '-',
// 'device_status': 1,
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'HLJ16',
-// 'open_time': '06-14 17:02:48',
-// 'now_capacity': '0'
+// 'mix_num': 0,
+// 'open_time': '',
+// 'work_time': 0,
+// 'error': 0,
+// 'now_capacity': '0',
+// 'status': 0
// }
// ],
// 'TrappedShelfList': [
@@ -1093,84 +1211,144 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {})
// ],
// 'PressMachineList': [
// {
-// 'device_status': 1,
// 'device_name': '压机1',
+// 'error_time': 8,
+// 'stand_time': 15,
+// 'real_qty': 250,
// 'device_code': 'YJ01',
-// 'open_time': '2023-06-14 17:02:48',
-// 'material_code': 'GBMCZ3039M4',
-// 'now_capacity': '7304'
+// 'open_time': '2023-06-27 07:47:16',
+// 'work_time': 37,
+// 'current_weight': 1172266814,
+// 'error': 0,
+// 'material_code': 'GBMAC3008C1',
+// 'now_capacity': '719',
+// 'status': 0
// },
// {
-// 'device_status': 1,
// 'device_name': '压机2',
+// 'error_time': 39,
+// 'stand_time': 361,
+// 'real_qty': 226,
// 'device_code': 'YJ02',
-// 'open_time': '2023-06-14 17:02:48',
-// 'material_code': '',
-// 'now_capacity': '7250'
+// 'open_time': '2023-06-27 07:46:41',
+// 'work_time': 276,
+// 'current_weight': 1169393295,
+// 'error': 5,
+// 'material_code': 'GBMCZ3004M1',
+// 'now_capacity': '680',
+// 'status': 0
// },
// {
-// 'device_status': 1,
// 'device_name': '压机3',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ03',
-// 'open_time': '2023-06-14 17:02:48',
-// 'material_code': 'GBMAC3003C1',
-// 'now_capacity': '2040'
+// 'open_time': '',
+// 'work_time': 0,
+// 'current_weight': 0,
+// 'error': 0,
+// 'material_code': '',
+// 'now_capacity': '345',
+// 'status': 0
// },
// {
-// 'device_status': 1,
// 'device_name': '压机4',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ04',
-// 'open_time': '2023-06-14 17:02:48',
-// 'material_code': 'GBMCZ3013L3',
-// 'now_capacity': '1586'
+// 'open_time': '',
+// 'work_time': 0,
+// 'current_weight': 0,
+// 'error': 0,
+// 'material_code': '',
+// 'now_capacity': '349',
+// 'status': 0
// },
// {
-// 'device_status': 1,
// 'device_name': '压机5',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ05',
-// 'open_time': '2023-06-14 17:02:48',
+// 'open_time': '2023-06-20 08:03:23',
+// 'work_time': 741,
+// 'current_weight': 0,
+// 'error': 0,
// 'material_code': '',
-// 'now_capacity': '0'
+// 'now_capacity': '0',
+// 'status': 2
// },
// {
-// 'device_status': 1,
// 'device_name': '压机6',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ06',
-// 'open_time': '2023-06-14 17:02:48',
+// 'open_time': '2023-06-20 08:03:23',
+// 'work_time': 19448,
+// 'current_weight': 0,
+// 'error': 0,
// 'material_code': '',
-// 'now_capacity': '0'
+// 'now_capacity': '0',
+// 'status': 2
// },
// {
-// 'device_status': 1,
// 'device_name': '压机7',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ07',
-// 'open_time': '2023-06-14 17:02:48',
+// 'open_time': '',
+// 'work_time': 0,
+// 'current_weight': 0,
+// 'error': 0,
// 'material_code': '',
-// 'now_capacity': '0'
+// 'now_capacity': '0',
+// 'status': 0
// },
// {
-// 'device_status': 1,
// 'device_name': '压机8',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ08',
-// 'open_time': '2023-06-14 17:02:48',
+// 'open_time': '2023-06-20 08:03:23',
+// 'work_time': 19448,
+// 'current_weight': 0,
+// 'error': 0,
// 'material_code': '',
-// 'now_capacity': '0'
+// 'now_capacity': '0',
+// 'status': 2
// },
// {
-// 'device_status': 1,
// 'device_name': '压机9',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ09',
-// 'open_time': '2023-06-14 17:02:48',
+// 'open_time': '2023-06-20 08:03:23',
+// 'work_time': 19448,
+// 'current_weight': 0,
+// 'error': 0,
// 'material_code': '',
-// 'now_capacity': '0'
+// 'now_capacity': '0',
+// 'status': 2
// },
// {
-// 'device_status': 1,
// 'device_name': '压机10',
+// 'error_time': 0,
+// 'stand_time': 0,
+// 'real_qty': 0,
// 'device_code': 'YJ10',
-// 'open_time': '2023-06-14 17:02:48',
+// 'open_time': '2023-06-20 08:03:23',
+// 'work_time': 19448,
+// 'current_weight': 0,
+// 'error': 0,
// 'material_code': '',
-// 'now_capacity': '0'
+// 'now_capacity': '0',
+// 'status': 2
// }
// ],
// 'TrappedMaterialShelfList': [
@@ -2973,7 +3151,241 @@ export const moldingTableDate = () => post('api/cockpit/moldingTableDate', {})
// 分拣包装左
export const sortingAndPackagingPopover = () => post('api/cockpit/sortingAndPackagingPopover', {})
// 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': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'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'}}}}
+// 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/fetch/api.js b/src/fetch/api.js
deleted file mode 100644
index 8e36353..0000000
--- a/src/fetch/api.js
+++ /dev/null
@@ -1,68 +0,0 @@
-import axios from 'axios'
-import qs from 'qs'
-import { toast } from '@js/mUtils.js'
-import store from '../vuex/store'
-
-axios.defaults.timeout = 50000
-// axios.defaults.retry = 4
-// axios.defaults.retryDelay = 5000
-axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'
-
-axios.interceptors.request.use(
- config => {
- if (config.method === 'post') {
- if (!config.data.flag) {
- config.data = qs.stringify(config.data)
- } else {
- config.data = config.data.formData
- }
- }
- return config
- },
- error => {
- toast(error.message)
- return Promise.reject(error)
- // let config = error.config
- // if (!config || !config.retry) return Promise.reject(error)
- // config.__retryCount = config.__retryCount || 0
- // if (config.__retryCount >= config.retry) {
- // return Promise.reject(error)
- // }
- // config.__retryCount += 1
- // let backoff = new Promise(resolve => {
- // setTimeout(() => {
- // resolve()
- // }, config.retryDelay || 1)
- // })
- // return backoff.then(() => {
- // return axios(config)
- // })
- }
-)
-
-axios.interceptors.response.use(
- response => {
- return Promise.resolve(response)
- },
- error => {
- toast('网络错误')
- return Promise.reject(error)
- }
-)
-
-export const post = (params) => {
- return new Promise((resolve, reject) => {
- axios.post(`${store.getters.baseUrl}/wdk?action=wdk.pub&method=call_service&ajaxparam=` + new Date().getTime(), params)
- .then(response => {
- // if (response.data.code === '0') {
- // toast(response.data.desc)
- // }
- resolve(response.data)
- }, error => {
- reject(error.message)
- })
- .catch((error) => {
- reject(error)
- })
- })
-}
diff --git a/src/main.js b/src/main.js
index 0b4ab64..37e8bfd 100644
--- a/src/main.js
+++ b/src/main.js
@@ -9,7 +9,6 @@ import '@css/layout.styl'
import '@js/rem.js'
import filter from '@js/filter.js'
import { Dialog, toast } from '@js/mUtils.js'
-import {post} from '@fetch/api.js'
import * as echarts from 'echarts'
import VueParticles from 'vue-particles'
import scroll from 'vue-seamless-scroll'
@@ -20,7 +19,6 @@ for (let k in filter) {
Vue.prototype.$echarts = echarts
Vue.prototype.Dialog = Dialog
Vue.prototype.toast = toast
-Vue.prototype.$post = post
Vue.use(VueParticles)
Vue.use(scroll)
Vue.config.productionTip = false
diff --git a/src/pages/modules/homepage/one.vue b/src/pages/modules/homepage/one.vue
index 26af210..2c24591 100644
--- a/src/pages/modules/homepage/one.vue
+++ b/src/pages/modules/homepage/one.vue
@@ -140,10 +140,10 @@
-
-
-
+
+
+
+
{{ PressMachineList[0].device_name }}
@@ -153,8 +153,8 @@
- 200
+{{ StackingPositionList[0].encoder_qty }}
- 200
+{{ StackingPositionList[1].encoder_qty }}
-
-
-
+
+
+
+
{{ PressMachineList[1].device_name }}
@@ -210,8 +210,8 @@
- 200
+{{ StackingPositionList[2].encoder_qty }}
- 200
+{{ StackingPositionList[3].encoder_qty }}
{{ PressMachineList[2].device_name }}
-
-
-
-
+
+
+
+
{{ PressMachineList[3].device_name }}
-
-
-
-
+
+
+
+
- 200
+{{StackingPositionList[4].encoder_qty}}
- 200
+{{StackingPositionList[5].encoder_qty}}
- 200
+{{ StackingPositionList[6].encoder_qty }}
- 200
+{{ StackingPositionList[7].encoder_qty }}
{{ PressMachineList[4].device_name }}
-
-
-
-
+
+
+
+
{{ PressMachineList[5].device_name }}
-
-
-
-
+
+
+
+
{{ PressMachineList[6].device_name }}
-
-
-
-
+
+
+
+
- 200
+{{StackingPositionList[12].encoder_qty}}
- 200
+{{ StackingPositionList[13].encoder_qty }}
{{ PressMachineList[7].device_name }}
-
-
-
-
+
+
+
+
{{ PressMachineList[8].device_name }}
-
-
-
-
+
+
+
+
{{ PressMachineList[9].device_name }}
-
-
-
-
+
+
+
+
-
-
-
-
-
@@ -279,9 +262,33 @@
+
+
+
+
+
+
+
+
+
+