This commit is contained in:
xiaoguangbin 2023-12-12 19:16:48 +08:00
commit d689449fca
2 changed files with 5 additions and 2 deletions

View File

@ -288,7 +288,7 @@ const filterList = [
title: 'Nuclear Facilities', title: 'Nuclear Facilities',
type: MarkerType.NuclearFacility, type: MarkerType.NuclearFacility,
icon: FilterIcon[MarkerType.NuclearFacility], icon: FilterIcon[MarkerType.NuclearFacility],
checked: true, checked: false,
}, },
{ {
title: 'Groud monitoring station', title: 'Groud monitoring station',

View File

@ -171,6 +171,7 @@ import DataListItem from './components/DataListItem.vue'
import ScrollContainer from '@/components/ScrollContainer/index.vue' import ScrollContainer from '@/components/ScrollContainer/index.vue'
import { getAction } from '../../api/manage' import { getAction } from '../../api/manage'
import { cloneDeep } from 'lodash' import { cloneDeep } from 'lodash'
import { MarkerType } from './components/markerEnum'
const key = 'updateList' const key = 'updateList'
export default { export default {
name: 'StationOperation', name: 'StationOperation',
@ -257,7 +258,9 @@ export default {
const res = await getAction('/jeecg-station-operation/stationOperation/findList') const res = await getAction('/jeecg-station-operation/stationOperation/findList')
this.originalDataList = res // this.originalDataList = res //
this.dataList = cloneDeep(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.markerList_clone = cloneDeep(res)
this.getDataProvisionEfficiency(this.markerList_clone, 'one') this.getDataProvisionEfficiency(this.markerList_clone, 'one')
// this.timer = setInterval(() => { // this.timer = setInterval(() => {