亮度设置
This commit is contained in:
parent
d7af94032b
commit
a66c79d9eb
@ -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)
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -138,6 +138,7 @@
|
||||
<el-slider
|
||||
v-model="lightPercent"
|
||||
show-input
|
||||
max="30"
|
||||
input-size="mini"
|
||||
:show-input-controls="false"
|
||||
@input="onLightChange"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user