From 2f63f26c3240f9d8f9e8696df7037d2ac5c744a6 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 25 三月 2026 09:16:30 +0800
Subject: [PATCH] 新增标签页面以及跳转路径和大屏内容调整

---
 src/views/dataAnalysis/components/DataReGasStation.vue |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/views/dataAnalysis/components/DataReGasStation.vue b/src/views/dataAnalysis/components/DataReGasStation.vue
index 6c4dca0..bb3ed28 100644
--- a/src/views/dataAnalysis/components/DataReGasStation.vue
+++ b/src/views/dataAnalysis/components/DataReGasStation.vue
@@ -64,7 +64,7 @@
         <a-range-picker style="width: 300px; margin: 0 12px" v-if="isContrast" @change="contrastTimeChange" />
       </div>
       <div class="fueling-overview-block">
-        <div class="fueling-overview-item">
+        <div class="fueling-overview-item" id="traffic-flow-card">
           <div class="fueling-overview-name">杞︽祦閲�</div>
           <div class="fueling-overview-num">
             <span style="margin-right: 24px">{{ statisTotalObj.carCount }}</span>
@@ -78,7 +78,7 @@
             <span style="color: #16b777" v-if="isContrast">{{ contrastObj.appearCount }}</span>
           </div>
         </div>
-        <div class="fueling-overview-item">
+        <div class="fueling-overview-item" id="oil-count-card">
           <div class="fueling-overview-name">鍔犳补鏁�</div>
           <div class="fueling-overview-num">
             <span style="margin-right: 24px">{{ statisTotalObj.oilCount }}</span>
@@ -405,6 +405,26 @@
   created() {
     this.initData()
   },
+  mounted() {
+    this.$nextTick(() => {
+      setTimeout(() => {
+        const scrollTarget = localStorage.getItem('scrollToTarget')
+        if (scrollTarget) {
+          const element = document.getElementById(scrollTarget)
+          if (element) {
+            element.scrollIntoView({ behavior: 'smooth', block: 'center' })
+            localStorage.removeItem('scrollToTarget')
+          }
+        }
+        const trendType = localStorage.getItem('trendAnalysisType')
+        if (trendType) {
+          this.trendAnalysisType = parseInt(trendType)
+          localStorage.removeItem('trendAnalysisType')
+          this.getTrendAnalysis()
+        }
+      }, 500)
+    })
+  },
 }
 </script>
 <style scoped lang="less">

--
Gitblit v1.8.0