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 42384bc..a91ed74 100644 --- a/productionboard/src/main/resources/static/js/common/echarts.common.js +++ b/productionboard/src/main/resources/static/js/common/echarts.common.js @@ -565,6 +565,7 @@ const threeDimensionalCylindrical = (res, ids) => { //多个折线面积图 const multipleBrokenLineAreaDiagram = (res, ids) => { let mycharts = echarts.init(ids); + console.log(res); let option = { tooltip: { diff --git a/productionboard/src/main/resources/static/js/foamBox/index.js b/productionboard/src/main/resources/static/js/foamBox/index.js index 1bed0f4..de03917 100644 --- a/productionboard/src/main/resources/static/js/foamBox/index.js +++ b/productionboard/src/main/resources/static/js/foamBox/index.js @@ -28,7 +28,9 @@ $(() => { }); //发泡参数 - multipleBrokenLineAreaDiagram(null, document.getElementById("foamingParameters")); + $.getJSON(`/foamBox/getParamTemperature?ids=${ids}`, function (result) { + multipleBrokenLineAreaDiagram(result, document.getElementById("foamingParameters")); + }); // 模具温度1 diff --git a/productionboard/target/classes/static/js/common/echarts.common.js b/productionboard/target/classes/static/js/common/echarts.common.js index 42384bc..a91ed74 100644 --- a/productionboard/target/classes/static/js/common/echarts.common.js +++ b/productionboard/target/classes/static/js/common/echarts.common.js @@ -565,6 +565,7 @@ const threeDimensionalCylindrical = (res, ids) => { //多个折线面积图 const multipleBrokenLineAreaDiagram = (res, ids) => { let mycharts = echarts.init(ids); + console.log(res); let option = { tooltip: { diff --git a/productionboard/target/classes/static/js/foamBox/index.js b/productionboard/target/classes/static/js/foamBox/index.js index 1bed0f4..de03917 100644 --- a/productionboard/target/classes/static/js/foamBox/index.js +++ b/productionboard/target/classes/static/js/foamBox/index.js @@ -28,7 +28,9 @@ $(() => { }); //发泡参数 - multipleBrokenLineAreaDiagram(null, document.getElementById("foamingParameters")); + $.getJSON(`/foamBox/getParamTemperature?ids=${ids}`, function (result) { + multipleBrokenLineAreaDiagram(result, document.getElementById("foamingParameters")); + }); // 模具温度1