From d0f5933cb7fe9196ca0250252efc820a1a9d947e Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 08 五月 2024 22:47:30 +0800
Subject: [PATCH] 新增历史轨迹菜单

---
 src/views/historymode/HistoryMode.vue |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/views/historymode/HistoryMode.vue b/src/views/historymode/HistoryMode.vue
index 817a150..f9b89f9 100644
--- a/src/views/historymode/HistoryMode.vue
+++ b/src/views/historymode/HistoryMode.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="p-events-none m-t-2">
-    <el-row justify="center">
+    <el-row v-show="status == 0" justify="center">
       <SearchBar
         :search-time="searchTime"
         @search="fetchHistroyData"
@@ -32,6 +32,11 @@
       :factor-datas="factorDatas"
       :device-type="deviceType"
     ></DataSheet>
+    <el-row class="historical" justify="center">
+      <HistoricalTrajectory
+        @change="(e) => (status = e)"
+      ></HistoricalTrajectory>
+    </el-row>
   </div>
 </template>
 
@@ -70,7 +75,9 @@
       drawMode: 0,
       searchTime: [],
       // 褰撳墠閫変腑楂樹寒鐨勬暟鎹偣绱㈠紩
-      locateIndex: undefined
+      locateIndex: undefined,
+      // 杞ㄨ抗鍔ㄧ敾鐘舵��
+      status: 0
     };
   },
   watch: {
@@ -192,4 +199,11 @@
   right: 0;
   top: 0;
 }
+
+.historical {
+  position: absolute;
+  bottom: 0;
+  left: 0;
+  right: 0;
+}
 </style>

--
Gitblit v1.9.3