From a55625f79b5bea88a04dc5cebf264a61cd594547 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期五, 30 十二月 2022 18:02:18 +0800 Subject: [PATCH] 管道分析,IE判斷,上传Loading --- src/views/Synthesis/LeftMenu.vue | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue index 1b87891..a21ad2a 100644 --- a/src/views/Synthesis/LeftMenu.vue +++ b/src/views/Synthesis/LeftMenu.vue @@ -14,6 +14,7 @@ </div> <mapinfo ref="mapinfo" /> <maplayer ref="maplayer" /> + <queryinfo ref="queryinfo" /> <input type="file" accept=".kml" @@ -27,9 +28,9 @@ import { transform } from 'ol/proj'; import mapinfo from '../Tools/mapinfo.vue'; import maplayer from '../Tools/maplayer.vue'; - +import queryinfo from '../Tools/queryinfo.vue' export default { - components: { mapinfo, maplayer }, + components: { mapinfo, maplayer, queryinfo }, data() { return { showTwoMenuFlag: false, @@ -364,7 +365,7 @@ sgworld.Creator.SimpleGraphic.edit(true, { editProp: true }); this.setPlot(res.id); break; - + } }, setPlot(res) { @@ -760,6 +761,19 @@ } ); break; + case 'd9': + this.$store.state.mapPopBoxFlag = '3'; + this.$refs && this.$refs.queryinfo && this.$refs.queryinfo.open("绠¢亾绌洪棿鍒嗘瀽", null, { + close: () => { + if (this.$store.state.pipelineEntity.length != 0) { + for (var i in this.$store.state.pipelineEntity) { + var item = this.$store.state.pipelineEntity[i] + sgworld.Viewer.entities.remove(item); + } + } + } + }); + break; case 'd8': if (this.isContrastFlag == false) { this.isContrastFlag = true; @@ -793,6 +807,7 @@ ); } break; + case 'd11': if (window.Excavation) { window.Excavation.clear(); -- Gitblit v1.9.3