diff --git a/ruoyi-admin/src/main/resources/templates/scada/NorthFoamerMesPlan.html b/ruoyi-admin/src/main/resources/templates/scada/NorthFoamerMesPlan.html index bf68aed..16f2322 100644 --- a/ruoyi-admin/src/main/resources/templates/scada/NorthFoamerMesPlan.html +++ b/ruoyi-admin/src/main/resources/templates/scada/NorthFoamerMesPlan.html @@ -536,7 +536,7 @@ autoUpdate('/system/FoamerMes/getInventoryInfo', INTERVAL, data => { repertoryChart.setOption({ xAxis: { - data: data['xAxisInfo'].map(value => value.split(",").find(value => /^[Ss][Cc]/.test(value)) ?? value), + data: data['xAxisInfo'], axisLabel: { rotate: -30, }, @@ -551,7 +551,6 @@ }) autoUpdate('/system/FoamerMes/getDeviceInfo', INTERVAL, data => { - console.log(data) updateStatus("status-a", data.status) updateStatus("status-b", data.status2) updateStatus("status-c", data.status3) @@ -811,12 +810,12 @@ { name: '数量', type: 'pie', - radius: ['55%', '70%'], + radius: ['40%', '55%'], label: { show: true, formatter: '{b}\n{d}%', textStyle: { - fontSize: '10px', + fontSize: '16px', }, color: '#ddd' },