From 083edcbf38fb2c784ad21335633d576e3586b9b9 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 14 四月 2021 20:02:25 +0800 Subject: [PATCH] 查询展示 --- src/components/BaseNav/PublicBounced/common/PublicChart.vue | 8 +------- src/components/panel/topicSearch/GasWasteSearch.vue | 4 +--- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/common/PublicChart.vue b/src/components/BaseNav/PublicBounced/common/PublicChart.vue index 0428a38..b7d1745 100644 --- a/src/components/BaseNav/PublicBounced/common/PublicChart.vue +++ b/src/components/BaseNav/PublicBounced/common/PublicChart.vue @@ -51,12 +51,6 @@ EChartsDateWasteWater, EChartsWasteWaterTable }, - mounted () { - this.$refs.Echatrs.CreateChart() - }, - updated () { - this.$refs.Echats.CreateChart() - }, data () { return { currentTab: this.current(), @@ -65,7 +59,7 @@ }, methods: { tabTaggle (taggleMenu, num) { - this.currentTab = this.current() + this.currentTab = taggleMenu this.active = num // debugger }, diff --git a/src/components/panel/topicSearch/GasWasteSearch.vue b/src/components/panel/topicSearch/GasWasteSearch.vue index 443be7f..6a60695 100644 --- a/src/components/panel/topicSearch/GasWasteSearch.vue +++ b/src/components/panel/topicSearch/GasWasteSearch.vue @@ -163,6 +163,7 @@ }, // 寮圭獥灞曠ず async handleLocation (val) { + debugger console.log(val) const pos = [val.Latitude, val.Longitude] window.map.flyTo(pos, 11) @@ -189,10 +190,7 @@ endTime: ' 2020-04-07 15:13:20' } const ManualData = await mapApi.getWasteGasManualData(GasManualData) - console.log(ManualData) const Mondata = await mapApi.getWasteGasMonData(GasOnlinedata) - // console.log(Mondata) - // const result = await mapApi.getWasteGasDetails(dataValue) // 缁戝畾寮规瀹炰緥 this.instance && this.instance.closePopup() const PublicBounced = window.Vue.extend(publicBounced) -- Gitblit v1.8.0