From a66c79d9eb91e6ac7f480c832aeea335288db50a Mon Sep 17 00:00:00 2001 From: wxs <211789910@qq.com> Date: Mon, 9 Feb 2026 10:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AE=E5=BA=A6=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/Skyeye-sys-ui/src/api/task.js | 5 ++++- .../views/home/components/twin-situation/index.js | 14 ++++++++++---- .../views/home/components/twin-situation/index.vue | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/frontend/Skyeye-sys-ui/src/api/task.js b/frontend/Skyeye-sys-ui/src/api/task.js index ea685c1..ae9a118 100644 --- a/frontend/Skyeye-sys-ui/src/api/task.js +++ b/frontend/Skyeye-sys-ui/src/api/task.js @@ -86,4 +86,7 @@ export const changePayloadRadarOpenState = params => export const changeJobStatus = params => - req('post', '/sar/job/status/', params) + req('post', '/sar/job/status', params) + +export const execBrightnessexport = params => + req('post', '/jm/job/exec/brightnessexport', params) diff --git a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js index 4b7a493..3f2f8a8 100644 --- a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js +++ b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js @@ -21,7 +21,7 @@ import { getTaskItemDetail, getTaskListData, getUavListData, - reRunTask, stopTaskFly, getExecJobs + reRunTask, stopTaskFly, getExecJobs, execBrightnessexport } from '@/api/task' import UavTarget from './uavTarget' import PicturesUpload from '../pictures-upload/index.vue' @@ -395,7 +395,7 @@ export default { data: [] }, emptyImg: require('@/assets/img/common/empty.svg'), - lightPercent: 10, + lightPercent: 0, contrastPercent: 10 } }, @@ -588,8 +588,14 @@ export default { }, // 亮度设置变化 onLightChange: debounce(function (value) { - - }, 200), + execBrightnessexport({ + jobId: this.detailUav.id, + brightness: value + }).then(res => { + console.log('亮度调整成功'); + // this.$message.success('亮度调整成功') + }) + }, 500), // startTest() { // let testHeight = 1000 // window.detectType = { diff --git a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue index 0778be3..0b914c9 100644 --- a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue +++ b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.vue @@ -138,6 +138,7 @@