diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js index 1d8387b..1644bcc 100644 --- a/src/assets/js/getData2.js +++ b/src/assets/js/getData2.js @@ -10,7 +10,10 @@ export const deviceMonitor = () => post('api/cockpit/deviceMonitor', { export const findDeviceById = (id) => post('api/cockpit/findDeviceById', { id: id }) -// 首页车间情况 + +/** + * 首页车间情况 + */ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // export const workshopCondition = () => { // let res = { @@ -19,15 +22,21 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'result': { // 'SemiFinishedProductShelfList': [ // { +// 'point_name': '半成品货位12', +// 'point_code': 'BCPHW12', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { // 'point_name': '半成品货位1', // 'point_code': 'BCPHW01', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位3', // 'point_code': 'BCPHW03', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { @@ -39,67 +48,67 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // { // 'point_name': '半成品货位7', // 'point_code': 'BCPHW07', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位9', // 'point_code': 'BCPHW09', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位11', // 'point_code': 'BCPHW11', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位13', // 'point_code': 'BCPHW13', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位15', // 'point_code': 'BCPHW15', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位17', // 'point_code': 'BCPHW17', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位19', // 'point_code': 'BCPHW19', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位21', // 'point_code': 'BCPHW21', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位23', // 'point_code': 'BCPHW23', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位25', // 'point_code': 'BCPHW25', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位27', // 'point_code': 'BCPHW27', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { @@ -117,7 +126,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // { // 'point_name': '半成品货位33', // 'point_code': 'BCPHW33', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { @@ -177,37 +186,31 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // { // 'point_name': '半成品货位2', // 'point_code': 'BCPHW02', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位4', // 'point_code': 'BCPHW04', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位6', // 'point_code': 'BCPHW06', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位8', // 'point_code': 'BCPHW08', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位10', // 'point_code': 'BCPHW10', -// 'point_status': '0', -// 'region_code': 'BCPHJ' -// }, -// { -// 'point_name': '半成品货位12', -// 'point_code': 'BCPHW12', -// 'point_status': '0', +// 'point_status': '1', // 'region_code': 'BCPHJ' // }, // { @@ -219,13 +222,13 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // { // 'point_name': '半成品货位16', // 'point_code': 'BCPHW16', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位18', // 'point_code': 'BCPHW18', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { @@ -237,25 +240,25 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // { // 'point_name': '半成品货位22', // 'point_code': 'BCPHW22', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位24', // 'point_code': 'BCPHW24', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位26', // 'point_code': 'BCPHW26', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { // 'point_name': '半成品货位28', // 'point_code': 'BCPHW28', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'BCPHJ' // }, // { @@ -333,8 +336,8 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // ], // 'HLDayList': [ // { -// 'plan_qty': 46000, -// 'real_qty': 7500, +// 'plan_qty': 0, +// 'real_qty': 0, // 'qualified_qty': 0, // 'unqualified_qty': 0, // 'device_code': 'HLJ01', @@ -343,8 +346,8 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'HL' // }, // { -// 'plan_qty': 68000, -// 'real_qty': 9000, +// 'plan_qty': 10000, +// 'real_qty': 3000, // 'qualified_qty': 0, // 'unqualified_qty': 0, // 'device_code': 'HLJ02', @@ -353,8 +356,8 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'HL' // }, // { -// 'plan_qty': 60000, -// 'real_qty': 3000, +// 'plan_qty': 10000, +// 'real_qty': 0, // 'qualified_qty': 0, // 'unqualified_qty': 0, // 'device_code': 'HLJ03', @@ -363,7 +366,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'HL' // }, // { -// 'plan_qty': 60000, +// 'plan_qty': 40000, // 'real_qty': 3000, // 'qualified_qty': 0, // 'unqualified_qty': 0, @@ -373,8 +376,8 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'HL' // }, // { -// 'plan_qty': 52000, -// 'real_qty': 42000, +// 'plan_qty': 40000, +// 'real_qty': 0, // 'qualified_qty': 0, // 'unqualified_qty': 0, // 'device_code': 'HLJ05', @@ -473,9 +476,9 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'HL' // }, // { -// 'plan_qty': 100000000, -// 'real_qty': 1501, -// 'qualified_qty': 1, +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, // 'unqualified_qty': 0, // 'device_code': 'HLJ15', // 'material_code': null, @@ -493,332 +496,42 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'HL' // } // ], -// 'SortAndPalletizingList': [ -// { -// 'color_status': 3, -// 'point_name': '分拣拆垛1对接位1', -// 'point_code': 'FJCD01DJ01', -// 'region_code': 'FJ' -// }, -// { -// 'color_status': 3, -// 'point_name': '分拣拆垛1对接位2', -// 'point_code': 'FJCD01DJ02', -// 'region_code': 'FJ' -// }, -// { -// 'color_status': 3, -// 'point_name': '分拣码垛1对接位1', -// 'point_code': 'FJMD01DJ01', -// 'region_code': 'FJ' -// }, -// { -// 'color_status': 3, -// 'point_name': '分拣码垛1对接位2', -// 'point_code': 'FJMD01DJ02', -// 'region_code': 'FJ' -// } -// ], -// 'LastMonthFailureList': [ -// { -// 'device_name': '压机3', -// 'failure': '2' -// }, -// { -// 'device_name': '压机1', -// 'failure': '2' -// }, -// { -// 'device_name': '压机6', -// 'failure': '1' -// }, -// { -// 'device_name': '压机5', -// 'failure': '1' -// }, -// { -// 'device_name': '压机2', -// 'failure': '1' -// } -// ], -// 'CPDayList': [ -// { -// 'qualified_in_qty': 986, -// 'unqualified_in_qty': 1111, -// 'inventory_qty': 660, -// 'material_code': '成品1' -// }, -// { -// 'qualified_in_qty': 1149, -// 'unqualified_in_qty': 736, -// 'inventory_qty': 522, -// 'material_code': '成品2' -// }, -// { -// 'qualified_in_qty': 1978, -// 'unqualified_in_qty': 245, -// 'inventory_qty': 1899, -// 'material_code': '成品3' -// }, -// { -// 'qualified_in_qty': 1480, -// 'unqualified_in_qty': 1024, -// 'inventory_qty': 539, -// 'material_code': '成品4' -// }, -// { -// 'qualified_in_qty': 1826, -// 'unqualified_in_qty': 1439, -// 'inventory_qty': 1212, -// 'material_code': '成品5' -// } -// ], -// 'LastTenFailureList': [ -// { -// 'failure_info': '未排产报警', -// 'device_name': '压机5', -// 'data_id': '1655172926997131432', -// 'device_code': 'YJ05', -// 'failure_time': '2023-06-21 16:19:41' -// }, -// { -// 'failure_info': '未排产报警', -// 'device_name': '压机3', -// 'data_id': '1655172926997132452', -// 'device_code': 'YJ03', -// 'failure_time': '2023-06-21 16:19:41' -// }, -// { -// 'failure_info': '未排产报警', -// 'device_name': '压机2', -// 'data_id': '1655172926997139426', -// 'device_code': 'YJ02', -// 'failure_time': '2023-06-21 16:19:41' -// }, -// { -// 'failure_info': '未排产报警', -// 'device_name': '压机9', -// 'data_id': '1655172926997139432', -// 'device_code': 'YJ09', -// 'failure_time': '2023-06-21 16:19:41' -// }, -// { -// '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': [ -// { -// 'color_status': 3, -// 'device_code': 'YJ01XL01', -// 'point_name': '压机1下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ01XL02', -// 'point_name': '压机1下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ02XL01', -// 'point_name': '压机2下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ02XL02', -// 'point_name': '压机2下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ03XL01', -// 'point_name': '压机3下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ03XL02', -// 'point_name': '压机3下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ04XL01', -// 'point_name': '压机4下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ04XL02', -// 'point_name': '压机4下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ05XL01', -// 'point_name': '压机5下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ05XL02', -// 'point_name': '压机5下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ06XL01', -// 'point_name': '压机6下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ06XL02', -// 'point_name': '压机6下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ07XL01', -// 'point_name': '压机7下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ07XL02', -// 'point_name': '压机7下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ08XL01', -// 'point_name': '压机8下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ08XL02', -// 'point_name': '压机8下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ09XL01', -// 'point_name': '压机9下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ09XL02', -// 'point_name': '压机9下料位2', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ10XL01', -// 'point_name': '压机10下料位1', -// 'region_code': 'YZ' -// }, -// { -// 'color_status': 3, -// 'device_code': 'YJ10XL02', -// 'point_name': '压机10下料位2', -// 'region_code': 'YZ' -// } -// ], -// 'DeviceConditionList': [ -// { -// 'device_name': '混料', -// 'failure': 0, -// 'shutdown': 16, -// 'standby': 0, -// 'running': 0 -// }, -// { -// 'device_name': '压制', -// 'failure': 0, -// 'shutdown': 14, -// 'standby': 0, -// 'running': 0 -// }, -// { -// 'device_name': '干燥', -// 'failure': 0, -// 'shutdown': 3, -// 'standby': 0, -// 'running': 0 -// }, -// { -// 'device_name': '包装', -// 'failure': 0, -// 'shutdown': 5, -// 'standby': 0, -// 'running': 0 -// } -// ], // 'YZDayList': [ // { -// 'plan_qty': 15430, -// 'real_qty': 7304, -// 'qualified_qty': 7241, -// 'unqualified_qty': 63, +// 'plan_qty': 5000, +// 'real_qty': 270, +// 'qualified_qty': 270, +// 'unqualified_qty': 0, // 'device_code': 'YJ01', // 'material_code': null, // 'device_name': '压机1', // 'region_code': 'YZ' // }, // { -// 'plan_qty': 27900, -// 'real_qty': 7250, -// 'qualified_qty': 7236, -// 'unqualified_qty': 14, +// 'plan_qty': 10000, +// 'real_qty': 1350, +// 'qualified_qty': 1350, +// 'unqualified_qty': 0, // 'device_code': 'YJ02', // 'material_code': null, // 'device_name': '压机2', // 'region_code': 'YZ' // }, // { -// 'plan_qty': 19100, -// 'real_qty': 2040, -// 'qualified_qty': 1975, -// 'unqualified_qty': 65, +// 'plan_qty': 8200, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, // 'device_code': 'YJ03', // 'material_code': null, // 'device_name': '压机3', // 'region_code': 'YZ' // }, // { -// 'plan_qty': 10140, -// 'real_qty': 1586, -// 'qualified_qty': 1485, -// 'unqualified_qty': 101, +// 'plan_qty': 4200, +// 'real_qty': 270, +// 'qualified_qty': 270, +// 'unqualified_qty': 0, // 'device_code': 'YJ04', // 'material_code': null, // 'device_name': '压机4', @@ -885,42 +598,115 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'region_code': 'YZ' // } // ], +// 'DeviceConditionList': [ +// { +// 'device_name': '混料', +// 'failure': 0, +// 'shutdown': 16, +// 'standby': 0, +// 'running': 0 +// }, +// { +// 'device_name': '压制', +// 'failure': 0, +// 'shutdown': 5, +// 'standby': 1, +// 'running': 8 +// }, +// { +// 'device_name': '干燥', +// 'failure': 1, +// 'shutdown': 2, +// 'standby': 0, +// 'running': 0 +// }, +// { +// 'device_name': '包装', +// 'failure': 0, +// 'shutdown': 3, +// 'standby': 1, +// 'running': 1 +// } +// ], // 'ManipulatorInfoList': [ // { // 'device_name': '码垛机械手1', -// 'color_status': 3, +// 'error_time': 0, +// 'stand_time': 0, +// 'color_status': 2, // 'device_code': 'MDJXS01', -// 'region_code': 'YZ' +// 'open_time': '2023-06-28 07:36:51', +// 'work_time': 4, +// 'error': 0, +// 'region_code': 'YZ', +// 'status': 2 // }, // { // 'device_name': '码垛机械手2', -// 'color_status': 3, +// 'error_time': 0, +// 'stand_time': 0, +// 'color_status': 2, // 'device_code': 'MDJXS02', -// 'region_code': 'YZ' +// 'open_time': '2023-06-28 07:36:17', +// 'work_time': 4, +// 'error': 0, +// 'region_code': 'YZ', +// 'status': 2 // }, // { // 'device_name': '码垛机械手3', -// 'color_status': 3, +// 'error_time': 0, +// 'stand_time': 0, +// 'color_status': 2, // 'device_code': 'MDJXS03', -// 'region_code': 'YZ' +// 'open_time': '2023-06-28 01:46:06', +// 'work_time': 4, +// 'error': 0, +// 'region_code': 'YZ', +// 'status': 2 // }, // { // 'device_name': '码垛机械手4', -// 'color_status': 3, +// 'error_time': 0, +// 'stand_time': 1, +// 'color_status': 1, // 'device_code': 'MDJXS04', -// 'region_code': 'YZ' +// 'open_time': '2023-06-28 08:06:33', +// 'work_time': 2, +// 'error': 0, +// 'region_code': 'YZ', +// 'status': 1 +// }, +// { +// 'device_name': '分拣码垛机械手', +// 'error_time': 0, +// 'stand_time': 3586, +// 'real_qty': 0, +// 'color_status': 1, +// 'device_code': 'FJMDJXS01', +// 'open_time': ' 2023 6 28 2 24 25', +// 'work_time': 0, +// 'error': 0, +// 'region_code': 'FJ', +// 'status': 1 // }, // { // 'device_name': '分拣拆垛机械手', -// 'color_status': 3, +// 'error_time': 31378, +// 'stand_time': 87498, +// 'real_qty': 5058, +// 'color_status': 0, // 'device_code': 'FJCDJXS01', -// 'region_code': 'FJ' +// 'open_time': ' 2023 6 28 2 23 50', +// 'work_time': 29552, +// 'error': 0, +// 'region_code': 'FJ', +// 'status': 0 // } // ], // 'MixMachineList': [ // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -933,64 +719,59 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'status': 0 // }, // { -// 'bom': '3008C1', -// 'device_status': 1, +// 'bom': '3009L3', // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, // 'device_code': 'HLJ02', // 'mix_num': 0, // 'open_time': '', -// 'work_time': 196, +// 'work_time': 217, // 'error': 0, -// 'now_capacity': '0', +// 'now_capacity': '3000', // 'status': 0 // }, // { -// 'bom': '3008C1', -// 'device_status': 1, +// 'bom': '3009L3', // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, // 'device_code': 'HLJ03', // 'mix_num': 0, // 'open_time': '', -// 'work_time': 196, +// 'work_time': 217, // 'error': 0, // 'now_capacity': '0', // 'status': 0 // }, // { // 'bom': '3004M1', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, // 'device_code': 'HLJ04', // 'mix_num': 0, // 'open_time': '', -// 'work_time': 196, +// 'work_time': 217, // 'error': 0, -// 'now_capacity': '0', +// 'now_capacity': '3000', // 'status': 0 // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, // 'device_code': 'HLJ05', // 'mix_num': 0, // 'open_time': '', -// 'work_time': 1, +// 'work_time': 23, // 'error': 0, // 'now_capacity': '0', // 'status': 0 // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1004,7 +785,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1018,21 +798,19 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, // 'device_code': 'HLJ08', // 'mix_num': 0, // 'open_time': '', -// 'work_time': 1, +// 'work_time': 23, // 'error': 0, // 'now_capacity': '0', // 'status': 0 // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1046,7 +824,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1060,7 +837,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1074,7 +850,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1088,7 +863,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1102,7 +876,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1116,7 +889,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1130,7 +902,6 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'bom': '-', -// 'device_status': 1, // 'error_time': 0, // 'stand_time': 0, // 'real_qty': 0, @@ -1153,24 +924,24 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // '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_name': '压机1困料货位1', +// 'point_code': 'KLHW42', // 'point_status': '2', // 'stand_status_name': '困料完成' // }, // { // 'stand_status_color': '', // 'stand_status': '', +// 'point_name': '压机1困料货位2', +// 'point_code': 'KLHW43', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', // 'point_name': '压机1困料货位3', // 'point_code': 'KLHW44', // 'point_status': '0', @@ -1213,57 +984,57 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // { // 'device_name': '压机1', // 'error_time': 8, -// 'stand_time': 15, -// 'real_qty': 250, +// 'stand_time': 16, +// 'real_qty': 312, // 'device_code': 'YJ01', -// 'open_time': '2023-06-27 07:47:16', -// 'work_time': 37, -// 'current_weight': 1172266814, -// 'error': 0, -// 'material_code': 'GBMAC3008C1', -// 'now_capacity': '719', +// 'open_time': '2023-06-28 07:36:51', +// 'work_time': 45, +// 'current_weight': 1174602207, +// 'error': 5, +// 'material_code': 'GBMCZ3009L3', +// 'now_capacity': '270', // 'status': 0 // }, // { // 'device_name': '压机2', // 'error_time': 39, // 'stand_time': 361, -// 'real_qty': 226, +// 'real_qty': 1371, // 'device_code': 'YJ02', -// 'open_time': '2023-06-27 07:46:41', -// 'work_time': 276, -// 'current_weight': 1169393295, +// 'open_time': '2023-06-28 07:36:17', +// 'work_time': 284, +// 'current_weight': 1178578472, // 'error': 5, // 'material_code': 'GBMCZ3004M1', -// 'now_capacity': '680', +// 'now_capacity': '1350', // 'status': 0 // }, // { // 'device_name': '压机3', -// 'error_time': 0, -// 'stand_time': 0, +// 'error_time': 437, +// 'stand_time': 497, // 'real_qty': 0, // 'device_code': 'YJ03', -// 'open_time': '', -// 'work_time': 0, +// 'open_time': '2023-06-28 01:46:06', +// 'work_time': 262, // 'current_weight': 0, // 'error': 0, // 'material_code': '', -// 'now_capacity': '345', +// 'now_capacity': '0', // 'status': 0 // }, // { // 'device_name': '压机4', -// 'error_time': 0, -// 'stand_time': 0, -// 'real_qty': 0, +// 'error_time': 437, +// 'stand_time': 494, +// 'real_qty': 242, // 'device_code': 'YJ04', -// 'open_time': '', -// 'work_time': 0, -// 'current_weight': 0, -// 'error': 0, -// 'material_code': '', -// 'now_capacity': '349', +// 'open_time': '2023-06-28 01:46:06', +// 'work_time': 265, +// 'current_weight': 1156710400, +// 'error': 5, +// 'material_code': 'GBMCZ3016M3', +// 'now_capacity': '270', // 'status': 0 // }, // { @@ -1273,7 +1044,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'real_qty': 0, // 'device_code': 'YJ05', // 'open_time': '2023-06-20 08:03:23', -// 'work_time': 741, +// 'work_time': 763, // 'current_weight': 0, // 'error': 0, // 'material_code': '', @@ -1287,7 +1058,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'real_qty': 0, // 'device_code': 'YJ06', // 'open_time': '2023-06-20 08:03:23', -// 'work_time': 19448, +// 'work_time': 19470, // 'current_weight': 0, // 'error': 0, // 'material_code': '', @@ -1296,14 +1067,14 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // }, // { // 'device_name': '压机7', -// 'error_time': 0, -// 'stand_time': 0, -// 'real_qty': 0, +// 'error_time': 12, +// 'stand_time': 34, +// 'real_qty': 2487, // 'device_code': 'YJ07', -// 'open_time': '', -// 'work_time': 0, -// 'current_weight': 0, -// 'error': 0, +// 'open_time': '2023-06-28 08:06:33', +// 'work_time': 155, +// 'current_weight': 1187138560, +// 'error': 5, // 'material_code': '', // 'now_capacity': '0', // 'status': 0 @@ -1315,7 +1086,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'real_qty': 0, // 'device_code': 'YJ08', // 'open_time': '2023-06-20 08:03:23', -// 'work_time': 19448, +// 'work_time': 19470, // 'current_weight': 0, // 'error': 0, // 'material_code': '', @@ -1329,7 +1100,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'real_qty': 0, // 'device_code': 'YJ09', // 'open_time': '2023-06-20 08:03:23', -// 'work_time': 19448, +// 'work_time': 19470, // 'current_weight': 0, // 'error': 0, // 'material_code': '', @@ -1343,7 +1114,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'real_qty': 0, // 'device_code': 'YJ10', // 'open_time': '2023-06-20 08:03:23', -// 'work_time': 19448, +// 'work_time': 19470, // 'current_weight': 0, // 'error': 0, // 'material_code': '', @@ -1353,7 +1124,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // ], // 'TrappedMaterialShelfList': [ // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位1', // 'point_code': 'KLHW01', @@ -1362,52 +1133,52 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位3', // 'point_code': 'KLHW03', -// 'point_status': '1', -// 'region_code': 'KLHJ', -// 'stand_status_name': '' -// }, -// { -// 'stand_status_color': '2', -// 'stand_status': '3', -// 'point_name': '困料货位5', -// 'point_code': 'KLHW05', -// 'point_status': '2', -// 'region_code': 'KLHJ', -// 'stand_status_name': '困料完成' -// }, -// { -// 'stand_status_color': '', -// 'stand_status': '', -// 'point_name': '困料货位7', -// 'point_code': 'KLHW07', -// 'point_status': '1', -// 'region_code': 'KLHJ', -// 'stand_status_name': '' -// }, -// { -// 'stand_status_color': '', -// 'stand_status': '', -// 'point_name': '困料货位9', -// 'point_code': 'KLHW09', -// 'point_status': '1', -// 'region_code': 'KLHJ', -// 'stand_status_name': '' -// }, -// { -// 'stand_status_color': '', -// 'stand_status': '', -// 'point_name': '困料货位11', -// 'point_code': 'KLHW11', // 'point_status': '0', // 'region_code': 'KLHJ', // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// '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': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '0', +// 'stand_status': '', +// 'point_name': '困料货位9', +// 'point_code': 'KLHW09', +// 'point_status': '0', +// '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', @@ -1416,7 +1187,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位15', // 'point_code': 'KLHW15', @@ -1425,7 +1196,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位17', // 'point_code': 'KLHW17', @@ -1434,7 +1205,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位19', // 'point_code': 'KLHW19', @@ -1443,7 +1214,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位21', // 'point_code': 'KLHW21', @@ -1452,7 +1223,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位23', // 'point_code': 'KLHW23', @@ -1461,7 +1232,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位25', // 'point_code': 'KLHW25', @@ -1470,7 +1241,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位27', // 'point_code': 'KLHW27', @@ -1479,7 +1250,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位29', // 'point_code': 'KLHW29', @@ -1488,7 +1259,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位31', // 'point_code': 'KLHW31', @@ -1497,7 +1268,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位33', // 'point_code': 'KLHW33', @@ -1506,7 +1277,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位35', // 'point_code': 'KLHW35', @@ -1515,7 +1286,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位37', // 'point_code': 'KLHW37', @@ -1524,7 +1295,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位39', // 'point_code': 'KLHW39', @@ -1533,7 +1304,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位2', // 'point_code': 'KLHW02', @@ -1542,7 +1313,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位4', // 'point_code': 'KLHW04', @@ -1551,7 +1322,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位6', // 'point_code': 'KLHW06', @@ -1560,16 +1331,16 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位8', // 'point_code': 'KLHW08', -// 'point_status': '1', +// 'point_status': '0', // 'region_code': 'KLHJ', // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位10', // 'point_code': 'KLHW10', @@ -1578,7 +1349,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位12', // 'point_code': 'KLHW12', @@ -1587,7 +1358,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位14', // 'point_code': 'KLHW14', @@ -1596,7 +1367,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位16', // 'point_code': 'KLHW16', @@ -1605,7 +1376,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位18', // 'point_code': 'KLHW18', @@ -1614,7 +1385,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位20', // 'point_code': 'KLHW20', @@ -1623,7 +1394,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位22', // 'point_code': 'KLHW22', @@ -1632,7 +1403,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位24', // 'point_code': 'KLHW24', @@ -1641,7 +1412,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位26', // 'point_code': 'KLHW26', @@ -1650,7 +1421,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位28', // 'point_code': 'KLHW28', @@ -1659,7 +1430,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位30', // 'point_code': 'KLHW30', @@ -1668,7 +1439,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位32', // 'point_code': 'KLHW32', @@ -1677,7 +1448,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位34', // 'point_code': 'KLHW34', @@ -1686,7 +1457,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位36', // 'point_code': 'KLHW36', @@ -1695,7 +1466,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位38', // 'point_code': 'KLHW38', @@ -1704,7 +1475,7 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'stand_status_name': '' // }, // { -// 'stand_status_color': '', +// 'stand_status_color': '0', // 'stand_status': '', // 'point_name': '困料货位40', // 'point_code': 'KLHW40', @@ -1794,13 +1565,47 @@ export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) // 'point_code': 'HLJ16XL01', // 'point_status': '1' // } +// ], +// 'CPDayList': [ +// { +// 'qualified_in_qty': 101, +// 'unqualified_in_qty': 534, +// 'inventory_qty': 970, +// 'material_code': '成品1' +// }, +// { +// 'qualified_in_qty': 1793, +// 'unqualified_in_qty': 1180, +// 'inventory_qty': 338, +// 'material_code': '成品2' +// }, +// { +// 'qualified_in_qty': 787, +// 'unqualified_in_qty': 1758, +// 'inventory_qty': 1325, +// 'material_code': '成品3' +// }, +// { +// 'qualified_in_qty': 1453, +// 'unqualified_in_qty': 612, +// 'inventory_qty': 994, +// 'material_code': '成品4' +// }, +// { +// 'qualified_in_qty': 1798, +// 'unqualified_in_qty': 724, +// 'inventory_qty': 1931, +// 'material_code': '成品5' +// } // ] // } // } // return res // } -// 成型左 +/** + * 成型左 + */ export const moldingMaterialCondition = () => post('api/cockpit/moldingMaterialCondition', {}) // export const moldingMaterialCondition = () => { // let res = { @@ -2268,7 +2073,9 @@ export const moldingMaterialCondition = () => post('api/cockpit/moldingMaterialC // return res // } -// 成型右 +/** + *成型右 + */ export const moldingTableDate = () => post('api/cockpit/moldingTableDate', {}) // export const moldingTableDate = () => { // let res = { @@ -3148,7 +2955,9 @@ export const moldingTableDate = () => post('api/cockpit/moldingTableDate', {}) // return res // } -// 分拣包装左 +/** + *分拣包装左 + */ export const sortingAndPackagingPopover = () => post('api/cockpit/sortingAndPackagingPopover', {}) // export const sortingAndPackagingPopover = () => { // let res = { @@ -3389,7 +3198,9 @@ export const sortingAndPackagingPopover = () => post('api/cockpit/sortingAndPack // return res // } -// 分拣包装右 +/** + *分拣包装右 + */ export const sortingAndPackaging = () => post('api/cockpit/sortingAndPackaging', {}) // export const sortingAndPackaging = () => { // let res = { diff --git a/src/pages/modules/homepage/one.vue b/src/pages/modules/homepage/one.vue index 2c24591..2fb8cfe 100644 --- a/src/pages/modules/homepage/one.vue +++ b/src/pages/modules/homepage/one.vue @@ -19,10 +19,10 @@
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+