From 270b06c2faed5f2aa564c4a3b1246a5891188bc7 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期二, 13 四月 2021 16:01:14 +0800 Subject: [PATCH] 废气图表点击显示 --- src/components/BaseNav/PublicBounced/PublicBounced.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/PublicBounced.vue b/src/components/BaseNav/PublicBounced/PublicBounced.vue index 19b17c6..abfd8a6 100644 --- a/src/components/BaseNav/PublicBounced/PublicBounced.vue +++ b/src/components/BaseNav/PublicBounced/PublicBounced.vue @@ -15,6 +15,7 @@ :value="value" :getQueryOnlineMonData="getQueryOnlineMonData" :getWasteWaterMonitoringDetails='getWasteWaterMonitoringDetails' + :ManualData="ManualData" ref="PublicChart" > </public-chart> @@ -55,14 +56,15 @@ value: '', getWasteGasDetails: [], getWasteWaterMonitoringDetails: [], - getQueryOnlineMonData: [] + getQueryOnlineMonData: [], + ManualData: [] // getGasQueryOnlineMonData: [] } }, mounted () { // this.$nextTick(() => { // console.log(this.$refs.publicBounced) - // console.log(this.$refs.PublicChart) + console.log(this.$refs.PublicChart) // }) }, methods: { @@ -80,11 +82,13 @@ this.flag = true this.value = value }, - setGasData (data, dataDetails, GasHourData, value) { + setGasData (data, dataDetails, GasHourData, ManualData, value) { + // console.log(this.$refs) this.setWasteGasdata = data this.getWasteGasDetails = dataDetails this.getQueryOnlineMonData = GasHourData - console.log(this.getQueryOnlineMonData) + this.ManualData = ManualData + // console.log(this.getQueryOnlineMonData) this.displayContentTitle = data.Name this.flag = true this.value = value -- Gitblit v1.8.0