From 2f66c1634aad641ae396b8ae9ed64c0377968e08 Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期一, 12 五月 2025 18:11:39 +0800
Subject: [PATCH] fix:修复地图展示,通过订单号来获取车牌号

---
 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..c92678e 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/mapNeed',
+        query: {
+          vehicleNo: row.vehicleNo
+        }
+      });
     }
   }
 };

--
Gitblit v1.9.1