From e7534557b6cefd4bd7fffcdf72396f0b031bdc81 Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期三, 26 三月 2025 16:10:38 +0800
Subject: [PATCH] 优化

---
 src/views/DataScreen.vue |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/views/DataScreen.vue b/src/views/DataScreen.vue
index 272346a..bd00ef0 100644
--- a/src/views/DataScreen.vue
+++ b/src/views/DataScreen.vue
@@ -4,7 +4,7 @@
     <div v-if="loading" class="main-content">
       <LeftPanel :staticsData="staticsData" :rentRank="rentRank" />
       <MapPanel />
-      <RightPanel :staticsData="staticsData" :realTimeRentData="realTimeRentData" />
+      <RightPanel :staticsData="staticsData" />
     </div>
     <BottomCharts v-if="loading" :rentIncomeTrend="rentIncomeTrend" :tenantCountTrend="tenantCountTrend" />
     <div class="footer"></div>
@@ -17,7 +17,7 @@
 import MapPanel from '@/components/MapPanel.vue'
 import RightPanel from '@/components/RightPanel.vue'
 import BottomCharts from '@/components/BottomCharts.vue'
-import { getStaticsData, getRentRank, getRentIncomeTrend, getTenantCountTrend, getRealTimeRentData } from '@/components/service'
+import { getStaticsData, getRentRank, getRentIncomeTrend, getTenantCountTrend } from '@/components/service'
 
 export default {
   name: 'DataScreen',
@@ -34,7 +34,6 @@
       rentRank: [],
       rentIncomeTrend: [],
       tenantCountTrend: [],
-      realTimeRentData: [],
       loading: false
     }
   },
@@ -46,12 +45,11 @@
   },
   methods: {
     fetchData() {
-      Promise.all([getStaticsData(), getRentRank(), getRentIncomeTrend(), getTenantCountTrend(), getRealTimeRentData()]).then(res => {
+      Promise.all([getStaticsData(), getRentRank(), getRentIncomeTrend(), getTenantCountTrend()]).then(res => {
         this.staticsData = res[0].data
         this.rentRank = res[1].data
         this.rentIncomeTrend = res[2].data
         this.tenantCountTrend = res[3].data
-        this.realTimeRentData = res[4].data
         this.loading = true
       })
     }

--
Gitblit v1.7.1