From 99ddd642e0137fb6158a39ac1b93e102142633a7 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Sat, 12 Oct 2024 16:20:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=87=E6=8D=A2=E5=9B=9E=E5=8F=B0?= =?UTF-8?q?=E7=AB=99=E9=A1=B5=E9=9D=A2=E6=97=B6=EF=BC=8C=E5=B7=B2=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E6=8E=89=E7=9A=84=E5=8F=B0=E7=AB=99=E5=8F=88=E5=87=BA?= =?UTF-8?q?=E6=9D=A5=E4=BA=86=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stationOperation/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/stationOperation/index.vue b/src/views/stationOperation/index.vue index c9ddbc0..f13b438 100644 --- a/src/views/stationOperation/index.vue +++ b/src/views/stationOperation/index.vue @@ -253,8 +253,12 @@ export default { }) this.originalDataList = res // 保留初始版本 this.dataList = cloneDeep(res) - - this.markerList = cloneDeep(res).filter((stationInfo) => stationInfo.stationType !== MarkerType.NuclearFacility) // 去除核设施 + this.markerList = cloneDeep(res).filter((stationInfo) => { + return ( + stationInfo.stationType !== MarkerType.NuclearFacility && + (!this.updataFilterType.length || this.updataFilterType.includes(stationInfo.stationType)) + ) + }) // 去除核设施 this.markerList_clone = cloneDeep(res) this.getDataProvisionEfficiency(this.markerList_clone)