From bb2cd3998d1b85b9590d3a5e7015a43a3af11605 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 23 Jan 2026 11:21:01 +0800
Subject: [PATCH] feat:数据驾驶舱、设备应用配置、侦测范围管理,增加按钮级别日志

---
 applications/drone-command/src/views/detectionCountermeasure/detectionRange/DetectionRangeDialog.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/applications/drone-command/src/views/detectionCountermeasure/detectionRange/DetectionRangeDialog.vue b/applications/drone-command/src/views/detectionCountermeasure/detectionRange/DetectionRangeDialog.vue
index 31337cb..176171b 100644
--- a/applications/drone-command/src/views/detectionCountermeasure/detectionRange/DetectionRangeDialog.vue
+++ b/applications/drone-command/src/views/detectionCountermeasure/detectionRange/DetectionRangeDialog.vue
@@ -160,6 +160,8 @@
 } from '@/api/detectionCountermeasure/detectionRange'
 import CommonCesiumMap from '@/components/map-container/common-cesium-map.vue'
 import * as Cesium from 'cesium'
+import { saveOperationLog } from '@ztzf/apis'
+import { useRoute } from 'vue-router'
 
 import equipment from '@/assets/images/dataCockpit/legend/equipment.png'
 
@@ -183,6 +185,7 @@
 const deviceOptions = ref([])
 const dialogReadonly = computed(() => dialogMode.value === 'view')
 const mapRef = ref(null)
+const route = useRoute()
 let viewer
 let redPointEntity
 let rangeCircleEntity
@@ -249,6 +252,14 @@
 		}
 		delete payload.deviceId
 		await detectionRangeSubmitApi(payload)
+
+		const actionText = dialogMode.value === 'add' ? '新增' : '修改'
+		saveOperationLog({
+			requestUri: route.path,
+			title: `${route.name || '侦测范围管理'}-${actionText}`,
+			type: 1
+		})
+
 		ElMessage.success(dialogMode.value === 'add' ? '新增成功' : '更新成功')
 		visible.value = false
 		emit('success')

--
Gitblit v1.9.3