diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue index 8f219e30..5038ce60 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue @@ -158,8 +158,8 @@ export default { let endStakeMark = formData.endStakeMark; formData.dcEventAbnormalWeather.endStakeMark = (endStakeMark && endStakeMark.length > 0) ? ('K' + endStakeMark[0] + '+' + endStakeMark[1]) : ''; } - console.log('formData',formData) - return; + // console.log('formData',formData) + // return; let stakeMark = formData.stakeMark; request({ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue index 77ce8d43..2241ecdb 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue @@ -175,6 +175,7 @@ export default { if (res.code == 200) { let data = res.data; chart1.series[0].data = []; + chart1.xAxis.data = []; if (data.length > 0) { const maxObject = data.reduce((prev, current) => (current.number > prev.number ? current : prev)); let xData = []; @@ -332,7 +333,8 @@ export default { }).then(res => { chart3.series[0].data = []; chart3.series[1].data = []; - if (res.code == 200) { + chart3.xAxis.data = []; + if (res.code == 200 && res.data.length > 0) { let data = res.data; if (this.type != "quarter") { const maxObject = data.filter(it => it.sectionNumber > 0).reduce((prev, current) => (current.sectionNumber > prev.sectionNumber ? current : prev));