From a030cd7ebede3762fda4dcb6511f43712a417a58 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 20 六月 2025 13:25:45 +0800
Subject: [PATCH] 2025.6.20

---
 src/views/inspection/problem/component/ProblemTable.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/views/inspection/problem/component/ProblemTable.vue b/src/views/inspection/problem/component/ProblemTable.vue
index 7c8753c..e85bda7 100644
--- a/src/views/inspection/problem/component/ProblemTable.vue
+++ b/src/views/inspection/problem/component/ProblemTable.vue
@@ -29,7 +29,7 @@
     </el-table-column>
   </el-table>
   <div v-if="showMoreBtn" class="btn-more font-small">
-    <el-link type="primary" @click="showMore = !showMore">
+    <el-link type="success" @click="showMore = !showMore">
       {{ showMore ? '鏀惰捣鏇村' : '鏌ョ湅鏇村' }}
     </el-link>
   </div>
@@ -61,9 +61,9 @@
 
 const tableData = computed(() => {
   const l = props.data.map((value) => {
-    const time = value.subtask.executionendtime
-      ? value.subtask.executionendtime
-      : value.subtask.executionstarttime
+    const time = value.subtask.executionstarttime
+      ? value.subtask.executionstarttime
+      : value.subtask.executionendtime
     value.updateTime = time
     return value
   })
@@ -105,9 +105,11 @@
   const title = row.scene.name
   const lnglat = [row.scene.longitude, row.scene.latitude]
   const img = scene_1
-  mapUtil.clearViews()
-  marks.drawMarker(title, lnglat, img)
-  mapUtil.setFitView()
+  // mapUtil.clearViews()
+  // marks.drawMarker(title, lnglat, img)
+  // mapUtil.setFitView()
+  mapUtil.setCenter(lnglat)
+  mapUtil.setZoomSmall()
 
   mapStore.focusMarker = row
 }

--
Gitblit v1.9.3