From 9a2bf03bc5243917c8bd561204f4a464b835df01 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Tue, 12 Dec 2023 18:37:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=B0=E5=9B=BE=E5=8F=B0=E7=AB=99?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=B8=8D=E5=B1=95=E7=A4=BA=E6=A0=B8=E8=AE=BE?= =?UTF-8?q?=E6=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stationOperation/components/MapPane.vue | 2 +- src/views/stationOperation/index.vue | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/stationOperation/components/MapPane.vue b/src/views/stationOperation/components/MapPane.vue index 4f19197..376a5b8 100644 --- a/src/views/stationOperation/components/MapPane.vue +++ b/src/views/stationOperation/components/MapPane.vue @@ -288,7 +288,7 @@ const filterList = [ title: 'Nuclear Facilities', type: MarkerType.NuclearFacility, icon: FilterIcon[MarkerType.NuclearFacility], - checked: true, + checked: false, }, { title: 'Groud monitoring station', diff --git a/src/views/stationOperation/index.vue b/src/views/stationOperation/index.vue index 9c9f022..8196b6d 100644 --- a/src/views/stationOperation/index.vue +++ b/src/views/stationOperation/index.vue @@ -171,6 +171,7 @@ import DataListItem from './components/DataListItem.vue' import ScrollContainer from '@/components/ScrollContainer/index.vue' import { getAction } from '../../api/manage' import { cloneDeep } from 'lodash' +import { MarkerType } from './components/markerEnum' const key = 'updateList' export default { name: 'StationOperation', @@ -257,7 +258,9 @@ export default { const res = await getAction('/jeecg-station-operation/stationOperation/findList') this.originalDataList = res // 保留初始版本 this.dataList = cloneDeep(res) - this.markerList = cloneDeep(res) + + this.markerList = cloneDeep(res).filter((stationInfo) => stationInfo.stationType !== MarkerType.NuclearFacility) // 去除核设施 + this.markerList_clone = cloneDeep(res) this.getDataProvisionEfficiency(this.markerList_clone, 'one') // this.timer = setInterval(() => {