diff --git a/productionboard/src/main/resources/static/js/common/echarts.common.js b/productionboard/src/main/resources/static/js/common/echarts.common.js index 75dce9f..ed22707 100644 --- a/productionboard/src/main/resources/static/js/common/echarts.common.js +++ b/productionboard/src/main/resources/static/js/common/echarts.common.js @@ -2329,7 +2329,7 @@ const energyConsumption = (res, ids) => { // max: 40, // interval: 10, axisLabel: { - formatter: '{value} ml' + formatter: '{value} t' }, splitLine: { show: false, @@ -2350,7 +2350,7 @@ const energyConsumption = (res, ids) => { // max: 20, // interval: 5, axisLabel: { - formatter: '{value} °C' + formatter: '{value} kw·h' }, splitLine: { show: false, diff --git a/productionboard/src/main/resources/static/js/foamBox/index.js b/productionboard/src/main/resources/static/js/foamBox/index.js index 4c6c5b4..18b021c 100644 --- a/productionboard/src/main/resources/static/js/foamBox/index.js +++ b/productionboard/src/main/resources/static/js/foamBox/index.js @@ -6,10 +6,10 @@ $(() => { }); //设备运行状态 - // $.getJSON(`/foamBox/getRunStatusJson?ids=${ids}`, function (result) { - // deviceStatus(result); - // }); - deviceStatus([1,1,1,1,1,1]); + $.getJSON(`/foamBox/getRunStatusJson?ids=${ids}`, function (result) { + deviceStatus(result); + }); + // deviceStatus([1,1,1,1,1,1]); //库存统计