From bbbc44406269abbddada5ae2d010223f32ca573e Mon Sep 17 00:00:00 2001 From: zhangzhang <1747194829@qq.com> Date: Mon, 19 Feb 2024 15:41:18 +0800 Subject: [PATCH] genggai --- .../perception/eventDetection/components/dayTotal/index.vue | 2 +- .../perception/eventDetection/components/railway/index.vue | 3 ++- .../perception/eventDetection/components/railwayDay/index.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue index fc5d25f1..42c25323 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue @@ -23,7 +23,7 @@ export default { }, data() { return { - + dataList: [] } }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue index 997a2604..784a1f57 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue @@ -37,9 +37,10 @@ export default { document.getElementById("situationEchartBox") ); - getSectionPerceivedList({}).then((res) => { + getSectionPerceivedList().then((res) => { console.log(res); if (res.code == 200) { + this.dataList = res.data let data = res.data; let texts = []; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue index 47044581..0d32fc65 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue @@ -38,7 +38,7 @@ export default { var myChart = echarts.init(document.getElementById('railwayDay')); getSectionPerceivedNumber().then((res) => { if (res.code == 200) { - dataList = res.data; + this.dataList = res.data; let data = res.data; if (data.length > 0) { let texts = [];