亮度设置
This commit is contained in:
parent
d7af94032b
commit
a66c79d9eb
@ -86,4 +86,7 @@ export const changePayloadRadarOpenState = params =>
|
|||||||
|
|
||||||
|
|
||||||
export const changeJobStatus = 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,
|
getTaskItemDetail,
|
||||||
getTaskListData,
|
getTaskListData,
|
||||||
getUavListData,
|
getUavListData,
|
||||||
reRunTask, stopTaskFly, getExecJobs
|
reRunTask, stopTaskFly, getExecJobs, execBrightnessexport
|
||||||
} from '@/api/task'
|
} from '@/api/task'
|
||||||
import UavTarget from './uavTarget'
|
import UavTarget from './uavTarget'
|
||||||
import PicturesUpload from '../pictures-upload/index.vue'
|
import PicturesUpload from '../pictures-upload/index.vue'
|
||||||
@ -395,7 +395,7 @@ export default {
|
|||||||
data: []
|
data: []
|
||||||
},
|
},
|
||||||
emptyImg: require('@/assets/img/common/empty.svg'),
|
emptyImg: require('@/assets/img/common/empty.svg'),
|
||||||
lightPercent: 10,
|
lightPercent: 0,
|
||||||
contrastPercent: 10
|
contrastPercent: 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -588,8 +588,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 亮度设置变化
|
// 亮度设置变化
|
||||||
onLightChange: debounce(function (value) {
|
onLightChange: debounce(function (value) {
|
||||||
|
execBrightnessexport({
|
||||||
}, 200),
|
jobId: this.detailUav.id,
|
||||||
|
brightness: value
|
||||||
|
}).then(res => {
|
||||||
|
console.log('亮度调整成功');
|
||||||
|
// this.$message.success('亮度调整成功')
|
||||||
|
})
|
||||||
|
}, 500),
|
||||||
// startTest() {
|
// startTest() {
|
||||||
// let testHeight = 1000
|
// let testHeight = 1000
|
||||||
// window.detectType = {
|
// window.detectType = {
|
||||||
|
|||||||
@ -138,6 +138,7 @@
|
|||||||
<el-slider
|
<el-slider
|
||||||
v-model="lightPercent"
|
v-model="lightPercent"
|
||||||
show-input
|
show-input
|
||||||
|
max="30"
|
||||||
input-size="mini"
|
input-size="mini"
|
||||||
:show-input-controls="false"
|
:show-input-controls="false"
|
||||||
@input="onLightChange"
|
@input="onLightChange"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user