From eb6cfd90fd89f11263146dc4c38069c8a4845fab Mon Sep 17 00:00:00 2001 From: 584911253@qq.com <584911253@qq.com> Date: 星期五, 10 三月 2023 15:36:37 +0800 Subject: [PATCH] bug修改 --- src/views/Synthesis/LeftMenu.vue | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue index da21a69..24c3923 100644 --- a/src/views/Synthesis/LeftMenu.vue +++ b/src/views/Synthesis/LeftMenu.vue @@ -647,7 +647,8 @@ }, activeName: "first", isShowModel: false, - options: [{ + options: [ + { value: '鍊炬枩妯″瀷', label: '鍊炬枩妯″瀷' }, { @@ -1413,15 +1414,17 @@ setAnalsy(res) { //this.$refs && this.$refs.queryinfo && this.$refs.queryinfo.close("queryinfo"); - + this.$bus.$emit("closeMenuPop", res); var that = this; switch (res) { case "d1": //绛夐珮绾垮垎鏋� + this.closePipelinePop(); that.isolineFlag = !that.isolineFlag; elevationTool.tf = that.isolineFlag; elevationTool.render(); break; case "d2": //鍧″害鍒嗘瀽 + this.closePipelinePop(); that.isslopeFlag = !that.isslopeFlag; var val = { name: "Lengend", @@ -1440,6 +1443,7 @@ break; case "d3": //璺緞鍒嗘瀽 + this.closePipelinePop(); this.isRouter = !this.isRouter; let value; if (this.isRouter) { @@ -1458,6 +1462,7 @@ this.$bus.$emit("mapChangeBox", value); break; case "d4": //鍓栭潰鍒嗘瀽 + this.closePipelinePop(); if (window.AnalysisDXPM) { window.AnalysisDXPM.end && window.AnalysisDXPM.end("cancel"); this.clear(res); @@ -1466,6 +1471,7 @@ } break; case "d5": //娲按娣规病鍒嗘瀽 + this.closePipelinePop(); if (window.AnalysisFlood) { this.clear(res); } else { @@ -1473,6 +1479,7 @@ } break; case "d6": //鍦熸柟閲忓垎鏋� + this.closePipelinePop(); if (window.TFvolumetricMeasurementTool) { TFvolumetricMeasurementTool.cleanUp(); if (TFvolumetricMeasurementTool._mouseHandler) { @@ -1505,6 +1512,7 @@ } break; case "d7": //涓夌淮鎴潰鍒嗘瀽 + this.closePipelinePop(); // if(window.MXModel) { // Viewer.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK); // window.MXModel=null; @@ -1549,6 +1557,7 @@ break; case "d8": //褰卞儚瀵规瘮 + this.closePipelinePop(); if (this.isContrastFlag == false) { this.isContrastFlag = true; sgworld.Analysis.createCurtainContrast(2, 1); @@ -1558,6 +1567,7 @@ } break; case "d10": //鍦伴潰鏁村钩 + this.closePipelinePop(); var val = { name: "Trrain", id: res, @@ -1595,6 +1605,7 @@ break; case "d11": //鍦板舰寮�鎸� + this.closePipelinePop(); // this.$refs && // this.$refs.terrainDig && // this.$refs.terrainDig.open("绠¢亾绌洪棿鍒嗘瀽", null, { @@ -1619,6 +1630,7 @@ break; case "d12": //閫氳鍒嗘瀽 + this.closePipelinePop(); if (window.TSExcavation != null) { window.TSExcavation._SimpleGraphic.drawHandler && window.TSExcavation._SimpleGraphic.drawHandler.destroy(); @@ -1635,6 +1647,7 @@ } break; case "d13": //瑙嗗煙鍒嗘瀽 + this.closePipelinePop(); if (window.SYExcavatio) { window.SYExcavatio.end && window.SYExcavatio.end(); window.SYExcavatio.close(); @@ -1654,6 +1667,7 @@ } break; case "d14": //鍦嗗舰鏃跺煙鍒嗘瀽 + this.closePipelinePop(); if (window.YXSYExcavation) { window.YXSYExcavation.end && window.YXSYExcavation.end(); window.YXSYExcavation.close(); @@ -1675,6 +1689,12 @@ break; } }, + //鍏抽棴绠¢亾淇℃伅寮圭獥 + closePipelinePop(){ + this.$refs && + this.$refs.queryinfo && + this.$refs.queryinfo.close("queryinfo"); + }, setclippingModel() { if (window.model) { setTimeout(() => { -- Gitblit v1.9.3