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 69a8da2..72d75bd 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 @@ -375,7 +375,7 @@ export default { lightPercent: 0, contrastPercent: 10, imageInfos: { - brightness: 10 + brightness: 1 }, } }, @@ -487,7 +487,7 @@ export default { // ) orthoManager = new OrthoImageryManager(viewer, DT.Cesium, { maxLayers: 400, - brightness: 1.2, // 默认亮度 + brightness: 1, // 默认亮度 alpha: 1.0 // 默认透明度 }) // this.startTest() @@ -580,7 +580,7 @@ export default { // 亮度设置变化 onLightChange: debounce(function (val) { const imageInfos = { ...this.imageInfos } - orthoManager.setBrightness(val / 10) + orthoManager.setBrightness(val) // execBrightnessexport(imageInfos).then(res => { // console.log('亮度调整成功'); // // this.$message.success('亮度调整成功') @@ -2821,7 +2821,7 @@ export default { // this.imageInfos = Object.assign({}, this.imageInfos, data) // this.imageInfos.brightness = data.brightness console.log('SAR图像2', data) - orthoManager.add(data, this.imageInfos.brightness / 10) + orthoManager.add(data, this.imageInfos.brightness) // this.addMarkPicture2(data) // console.log('灭有匹配到吗taskUavCollection', taskUavCollection, taskUavCollection[data.jobId]) // if (taskUavCollection[data.jobId]) { @@ -3040,6 +3040,10 @@ export default { viewer.entities.remove(item) } }) + if (orthoManager) { + orthoManager.clearAll() + orthoManager = null + } } if (data.jobStatus === 1 && this.detailUav.id === data.jobId) { this.updateUavInfo(data.sarStatus) 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 b6293dd..37b4d19 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 @@ -14,7 +14,7 @@ - {{ $t('task.executingTasks') }} + {{ $t('task.executingTasks') }}