From 4f1fb28dad6a4df83752dc9b60f504764f8e3dcb Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 03 一月 2025 10:08:54 +0800
Subject: [PATCH] 完善数据融合功能(未完成)

---
 src/views/satellitetelemetry/component/SatelliteManage.vue |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/views/satellitetelemetry/component/SatelliteManage.vue b/src/views/satellitetelemetry/component/SatelliteManage.vue
index 75ba069..cfa584a 100644
--- a/src/views/satellitetelemetry/component/SatelliteManage.vue
+++ b/src/views/satellitetelemetry/component/SatelliteManage.vue
@@ -22,6 +22,14 @@
         >
           {{ dataVisible ? '闅愯棌鏁版嵁' : '鏄剧ず鏁版嵁' }}
         </el-button>
+        <el-button
+          type="primary"
+          class="el-button-custom"
+          size="small"
+          @click="handleColorClick"
+        >
+          {{ isStandardColor ? '缁樺埗瀵规瘮鑹�' : '缁樺埗鏍囧噯鑹�' }}
+        </el-button>
         <el-table
           :data="gridDataList"
           table-layout="fixed"
@@ -42,6 +50,11 @@
             align="center"
             width="50"
           />
+          <!-- <el-table-column type="expand">
+            <template #default="props">
+              
+            </template>
+          </el-table-column> -->
           <el-table-column
             prop="dataTime"
             label="鏃堕棿"
@@ -98,8 +111,9 @@
 
 const rankVisible = ref(true);
 const dataVisible = ref(true);
+const isStandardColor = ref(true)
 
-const emits = defineEmits(['search', 'rowClick', 'showRank', 'showData']);
+const emits = defineEmits(['search', 'rowClick', 'showRank', 'showData', 'changeColor']);
 
 // 鏌ヨ缃戞牸淇℃伅鍜岄仴鎰熸暟鎹粍
 function onSearch(options) {
@@ -116,6 +130,11 @@
   emits('showData', dataVisible.value);
 }
 
+function handleColorClick() {
+  isStandardColor.value = !isStandardColor.value
+  emits('changeColor', isStandardColor.value);
+}
+
 function handleRowClick(row, col, event) {
   emits('rowClick', row);
 }

--
Gitblit v1.9.3