diff --git a/src/views/monitoring/equipmentProcessAmount/index.vue b/src/views/monitoring/equipmentProcessAmount/index.vue new file mode 100644 index 00000000..b183e91b --- /dev/null +++ b/src/views/monitoring/equipmentProcessAmount/index.vue @@ -0,0 +1,182 @@ + + + + + + + diff --git a/src/views/monitoring/equipmentRecentHours/index.vue b/src/views/monitoring/equipmentRecentHours/index.vue index 45ac1e59..402d24c7 100644 --- a/src/views/monitoring/equipmentRecentHours/index.vue +++ b/src/views/monitoring/equipmentRecentHours/index.vue @@ -503,7 +503,7 @@ export default { // 设置span的行数 this.spanInfo[rowIndex] = data.length; for (const equipment of data) { - rowIndex+=1 + rowIndex += 1; for (const [key, hourData] of Object.entries(equipment.hourData)) { const { equipmentName, totalQuantity } = equipment; const { inQuantity, outQuantity, nokQuantity, scrapRatio } = @@ -518,12 +518,10 @@ export default { row[key + '__out'] = outQuantity; row[key + '__nok'] = nokQuantity; row[key + '__ratio'] = scrapRatio; - console.log('row', row); - return; this.list.push(row); } - return; } + console.log('list:', this.list, 'spanInfo:', this.spanInfo); } },