ll
liukangdong
2024-10-29 0bda79a1d5f0de3a1885f13763c516650bc19007
screen/src/views/SecurityControl.vue
@@ -439,6 +439,7 @@
import Percent from '@/components/percent.vue'
import dayjs from 'dayjs'
import * as echarts from 'echarts'
import { getEnergyCenterData, getSecurityDeviceData, getVisitRetentionData } from '@/api'
const colors = ['#FEAF01', '#01ABFE', '#51F9E4']
@@ -722,8 +723,11 @@
    myChart.resize()
  })
}
const ininDate = () => {
  getEnergyCenterData()
}
onMounted(() => {
  ininDate()
  initEchart3()
  initEchart1()
  initEchart2()