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 3f2f8a8..f103293 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 @@ -396,7 +396,8 @@ export default { }, emptyImg: require('@/assets/img/common/empty.svg'), lightPercent: 0, - contrastPercent: 10 + contrastPercent: 10, + imageInfos: undefined } }, computed: { @@ -588,10 +589,9 @@ export default { }, // 亮度设置变化 onLightChange: debounce(function (value) { - execBrightnessexport({ - jobId: this.detailUav.id, - brightness: value - }).then(res => { + const imageInfos = { ...this.imageInfos } + imageInfos.brightness = value + execBrightnessexport(imageInfos).then(res => { console.log('亮度调整成功'); // this.$message.success('亮度调整成功') }) @@ -2825,6 +2825,7 @@ export default { handleWebsocketImage(info) { // console.log('SAR图像', info.body) let data = JSON.parse(info.body) + this.imageInfos = data console.log('SAR图像2', data) this.addMarkPicture2(data) // console.log('灭有匹配到吗taskUavCollection', taskUavCollection, taskUavCollection[data.jobId]) 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 0b914c9..9f4da1c 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 @@ -132,7 +132,10 @@ -