From 05c64441a76baa6471d946fdc109164d576cc198 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Tue, 20 Feb 2024 17:21:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=85=B3=E6=B3=A8=E5=8F=B0=E7=AB=99=E5=90=8E=E5=88=B7=E6=96=B0?= =?UTF-8?q?Focus=20Data=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stationOperation/components/MapPane.vue | 1 + src/views/stationOperation/index.vue | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/stationOperation/components/MapPane.vue b/src/views/stationOperation/components/MapPane.vue index 3085a9d..907df4a 100644 --- a/src/views/stationOperation/components/MapPane.vue +++ b/src/views/stationOperation/components/MapPane.vue @@ -697,6 +697,7 @@ export default { this.$message.success('Save Success') await this.getDataRecieveSettings() this.startGetDataReceiveStatusList() + this.$emit('focusStationChange') } else { this.$message.error(message) } diff --git a/src/views/stationOperation/index.vue b/src/views/stationOperation/index.vue index 8d50ac1..783d58a 100644 --- a/src/views/stationOperation/index.vue +++ b/src/views/stationOperation/index.vue @@ -156,6 +156,7 @@ @filterMarker="onFilterMarker" @drawCircle="onDrawCircle" @mapSourceChange="handleMapSourceChange" + @focusStationChange="getFollowedStationList" /> @@ -200,6 +201,9 @@ export default { clearInterval(this.timer) this.timer = null }, + activated() { + this.getFollowedStationList() + }, data() { return { activeKey: '1', @@ -240,7 +244,6 @@ export default { }, created() { this.getStationList() - this.getFollowedStationList() this.getStationTypeList() this.getStationTree() },