From f67945d53b20f6a45ae50b27d74c966eb1355bb4 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 16 十一月 2025 22:53:54 +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..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