管道基础大数据平台系统开发-【前端】-新系統界面
src/views/Tools/queryinfo.vue
@@ -7,7 +7,7 @@
      :title="data.title || '提示'"
      maxHeight="400"
      @close="close(data.id)"
      left="calc(100% - 960px)"
      left="calc(90% - 900px)"
      top="calc(100% - 470px) "
    >
      <div>
@@ -65,13 +65,18 @@
        return item.id === id;
      });
      let data = this.PopupData.splice(index, 1)[0];
      // data.close && data.close();
      if(this.$store.state.primitLayer != null){
sgworld.Viewer.entities.remove(this.$store.state.primitLayer);
      sgworld.Creator.DeleteObject(this.$store.state.primitLayer);
      this.$store.state.primitLayer = null
      if (this.$store.state.pipelineEntity.length != 0) {
        for (var i in this.$store.state.pipelineEntity) {
          sgworld.Viewer.entities.remove(this.$store.state.pipelineEntity[i]);
        }
      }
      if (this.$store.state.primitLayer != null) {
        sgworld.Viewer.entities.remove(this.$store.state.primitLayer);
        sgworld.Creator.DeleteObject(this.$store.state.primitLayer);
        this.$store.state.primitLayer = null
      }
    },
    // 打开弹窗
    open(title, value, style = {}) {