From 0bda79a1d5f0de3a1885f13763c516650bc19007 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 29 十月 2024 16:00:38 +0800
Subject: [PATCH] ll

---
 screen/src/views/SecurityControl.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/screen/src/views/SecurityControl.vue b/screen/src/views/SecurityControl.vue
index 5bd8fd1..e2bcac9 100644
--- a/screen/src/views/SecurityControl.vue
+++ b/screen/src/views/SecurityControl.vue
@@ -438,8 +438,10 @@
 import VScaleScreen from 'v-scale-screen'
 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']
 const weekMap = ['鏄熸湡鏃�', '鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�',]
 const date = ref(dayjs().format('YYYY.MM.DD'))
@@ -721,8 +723,11 @@
     myChart.resize()
   })
 }
-
+const ininDate = () => {
+  getEnergyCenterData()
+}
 onMounted(() => {
+  ininDate()
   initEchart3()
   initEchart1()
   initEchart2()

--
Gitblit v1.9.3