From a296c6bfa83cd0a4bbc92d93c015a010248e8455 Mon Sep 17 00:00:00 2001
From: wanglizhong <wlz>
Date: 星期六, 03 五月 2025 19:49:45 +0800
Subject: [PATCH] feat:增加gps显示

---
 ruoyi-ui/src/views/system/gps/index.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/views/system/gps/index.vue b/ruoyi-ui/src/views/system/gps/index.vue
index e36349a..c019c5e 100644
--- a/ruoyi-ui/src/views/system/gps/index.vue
+++ b/ruoyi-ui/src/views/system/gps/index.vue
@@ -101,6 +101,12 @@
             @click="handleDelete(scope.row)"
             v-hasPermi="['system:gps:remove']"
           >鍒犻櫎</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-map-location"
+            @click="handleMap(scope.row)"
+          >鏌ョ湅杞ㄨ抗</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -323,6 +329,15 @@
       this.download('system/gps/export', {
         ...this.queryParams
       }, `gps_${new Date().getTime()}.xlsx`)
+    },
+    /** 鏌ョ湅杞ㄨ抗鎸夐挳鎿嶄綔 */
+    handleMap(row) {
+      this.$router.push({
+        path: '/system/gps/map',
+        query: {
+          vehicleNo: row.vehicleNo
+        }
+      });
     }
   }
 };

--
Gitblit v1.9.1