fix: 修复点击地图上的台站时,获取该台站的状态不正确的问题
This commit is contained in:
parent
6dbf6f99aa
commit
183bc52071
|
@ -521,12 +521,6 @@ export default {
|
||||||
*/
|
*/
|
||||||
onFilterMarker({ filterType, filterDataQuality }) {
|
onFilterMarker({ filterType, filterDataQuality }) {
|
||||||
this.updataFilterType = filterType
|
this.updataFilterType = filterType
|
||||||
console.log(
|
|
||||||
'%c [ filterType, filterDataQuality ]-343',
|
|
||||||
'font-size:13px; background:pink; color:#bf2c9f;',
|
|
||||||
filterType,
|
|
||||||
filterDataQuality
|
|
||||||
)
|
|
||||||
this.updataFilterDataQuality = []
|
this.updataFilterDataQuality = []
|
||||||
filterDataQuality.forEach((item) => {
|
filterDataQuality.forEach((item) => {
|
||||||
if (item === 'Excellent data quality') {
|
if (item === 'Excellent data quality') {
|
||||||
|
@ -548,7 +542,13 @@ export default {
|
||||||
|
|
||||||
// 地图图标点击
|
// 地图图标点击
|
||||||
onMarkerClick(stationInfo) {
|
onMarkerClick(stationInfo) {
|
||||||
const { stationType, status } = stationInfo
|
const { stationType, stationName } = stationInfo
|
||||||
|
const find = this.orgStationList.find(item => item.stationCode == stationName)
|
||||||
|
if(!find) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const status = find.status
|
||||||
if (stationType !== 'NRL' && stationType !== 'Nuclear Facility' && status !== 'Unoperating') {
|
if (stationType !== 'NRL' && stationType !== 'Nuclear Facility' && status !== 'Unoperating') {
|
||||||
this.$refs.mapPane.handleOpenAnalyzeModal(stationInfo)
|
this.$refs.mapPane.handleOpenAnalyzeModal(stationInfo)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user