亮度设置

This commit is contained in:
wxs 2026-02-09 10:24:24 +08:00
parent d7af94032b
commit a66c79d9eb
3 changed files with 15 additions and 5 deletions

View File

@ -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)

View File

@ -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 = {

View File

@ -138,6 +138,7 @@
<el-slider
v-model="lightPercent"
show-input
max="30"
input-size="mini"
:show-input-controls="false"
@input="onLightChange"