feat: 增加修改关注台站后刷新Focus Data功能
This commit is contained in:
parent
f55ca0eb3b
commit
05c64441a7
|
@ -697,6 +697,7 @@ export default {
|
||||||
this.$message.success('Save Success')
|
this.$message.success('Save Success')
|
||||||
await this.getDataRecieveSettings()
|
await this.getDataRecieveSettings()
|
||||||
this.startGetDataReceiveStatusList()
|
this.startGetDataReceiveStatusList()
|
||||||
|
this.$emit('focusStationChange')
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,6 +156,7 @@
|
||||||
@filterMarker="onFilterMarker"
|
@filterMarker="onFilterMarker"
|
||||||
@drawCircle="onDrawCircle"
|
@drawCircle="onDrawCircle"
|
||||||
@mapSourceChange="handleMapSourceChange"
|
@mapSourceChange="handleMapSourceChange"
|
||||||
|
@focusStationChange="getFollowedStationList"
|
||||||
/>
|
/>
|
||||||
</Map>
|
</Map>
|
||||||
</div>
|
</div>
|
||||||
|
@ -200,6 +201,9 @@ export default {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
this.timer = null
|
this.timer = null
|
||||||
},
|
},
|
||||||
|
activated() {
|
||||||
|
this.getFollowedStationList()
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeKey: '1',
|
activeKey: '1',
|
||||||
|
@ -240,7 +244,6 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getStationList()
|
this.getStationList()
|
||||||
this.getFollowedStationList()
|
|
||||||
this.getStationTypeList()
|
this.getStationTypeList()
|
||||||
this.getStationTree()
|
this.getStationTree()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user