| | |
| | | }, |
| | | activeName: "first", |
| | | isShowModel: false, |
| | | options: [{ |
| | | options: [ |
| | | { |
| | | value: '倾斜模型', |
| | | label: '倾斜模型' |
| | | }, { |
| | |
| | | |
| | | 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", |
| | |
| | | |
| | | break; |
| | | case "d3": //路径分析 |
| | | this.closePipelinePop(); |
| | | this.isRouter = !this.isRouter; |
| | | let value; |
| | | if (this.isRouter) { |
| | |
| | | this.$bus.$emit("mapChangeBox", value); |
| | | break; |
| | | case "d4": //剖面分析 |
| | | this.closePipelinePop(); |
| | | if (window.AnalysisDXPM) { |
| | | window.AnalysisDXPM.end && window.AnalysisDXPM.end("cancel"); |
| | | this.clear(res); |
| | |
| | | } |
| | | break; |
| | | case "d5": //洪水淹没分析 |
| | | this.closePipelinePop(); |
| | | if (window.AnalysisFlood) { |
| | | this.clear(res); |
| | | } else { |
| | |
| | | } |
| | | break; |
| | | case "d6": //土方量分析 |
| | | this.closePipelinePop(); |
| | | if (window.TFvolumetricMeasurementTool) { |
| | | TFvolumetricMeasurementTool.cleanUp(); |
| | | if (TFvolumetricMeasurementTool._mouseHandler) { |
| | |
| | | } |
| | | break; |
| | | case "d7": //三维截面分析 |
| | | this.closePipelinePop(); |
| | | // if(window.MXModel) { |
| | | // Viewer.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK); |
| | | // window.MXModel=null; |
| | |
| | | |
| | | break; |
| | | case "d8": //影像对比 |
| | | this.closePipelinePop(); |
| | | if (this.isContrastFlag == false) { |
| | | this.isContrastFlag = true; |
| | | sgworld.Analysis.createCurtainContrast(2, 1); |
| | |
| | | } |
| | | break; |
| | | case "d10": //地面整平 |
| | | this.closePipelinePop(); |
| | | var val = { |
| | | name: "Trrain", |
| | | id: res, |
| | |
| | | break; |
| | | |
| | | case "d11": //地形开挖 |
| | | this.closePipelinePop(); |
| | | // this.$refs && |
| | | // this.$refs.terrainDig && |
| | | // this.$refs.terrainDig.open("管道空间分析", null, { |
| | |
| | | break; |
| | | |
| | | case "d12": //通视分析 |
| | | this.closePipelinePop(); |
| | | if (window.TSExcavation != null) { |
| | | window.TSExcavation._SimpleGraphic.drawHandler && |
| | | window.TSExcavation._SimpleGraphic.drawHandler.destroy(); |
| | |
| | | } |
| | | break; |
| | | case "d13": //视域分析 |
| | | this.closePipelinePop(); |
| | | if (window.SYExcavatio) { |
| | | window.SYExcavatio.end && window.SYExcavatio.end(); |
| | | window.SYExcavatio.close(); |
| | |
| | | } |
| | | break; |
| | | case "d14": //圆形时域分析 |
| | | this.closePipelinePop(); |
| | | if (window.YXSYExcavation) { |
| | | window.YXSYExcavation.end && window.YXSYExcavation.end(); |
| | | window.YXSYExcavation.close(); |
| | |
| | | break; |
| | | } |
| | | }, |
| | | //关闭管道信息弹窗 |
| | | closePipelinePop(){ |
| | | this.$refs && |
| | | this.$refs.queryinfo && |
| | | this.$refs.queryinfo.close("queryinfo"); |
| | | }, |
| | | setclippingModel() { |
| | | if (window.model) { |
| | | setTimeout(() => { |