From 16e4eb39307903ed396360818b6365953abdf5a7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 16 Jan 2026 15:56:41 +0800
Subject: [PATCH] feat: 圆环
---
applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue b/applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue
index d5343de..6998603 100644
--- a/applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue
+++ b/applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue
@@ -64,7 +64,7 @@
<el-table-column prop="deviceSn" show-overflow-tooltip width="140" label="设备编码" />
<el-table-column prop="status" show-overflow-tooltip width="100" label="设备状态">
<template v-slot="{ row }">
- {{ getDictLabel(row.status, dictObj.deviceStatus) }}
+ {{ formatDeployLocation(row) }}
</template>
</el-table-column>
<el-table-column prop="areaName" show-overflow-tooltip width="120" label="区域" />
@@ -157,7 +157,10 @@
}
return row.dispatchStartTime || row.dispatchEndTime || ''
}
-
+function formatDeployLocation(row) {
+ if (!row.longitude || !row.latitude) return ''
+ return `${row.longitude}, ${row.latitude}`
+}
// 获取列表
async function getList() {
loading.value = true
--
Gitblit v1.9.3