管道基础大数据平台系统开发-【前端】-新系統界面
src/views/Tools/queryinfo.vue
@@ -12,10 +12,10 @@
    >
      <div>
        <div style="width:940px;height:400px;">
          <map-menu-pop v-if="$store.state.mapPopBoxFlag == '1'" />
          <map-space-pop v-if="$store.state.mapPopBoxFlag == '2'" />
          <pipe-line-analy v-if="$store.state.mapPopBoxFlag == '3'" />
          <map-pick-up-pop v-if="$store.state.mapPopBoxFlag == '4'" />
        </div>
      </div>
    </Popup>
@@ -26,6 +26,7 @@
import Popup from './Popup.vue';
import mapMenuPop from '../../components/MapView/mapMenuPop.vue';
import mapSpacePop from '../../components/MapView/mapSpacePop.vue';
import mapPickUpPop from '../../components/MapView/mapPickUpPop';
import pipeLineAnaly from './pipeLineAnaly.vue'
export default {
  name: 'queryinfo',
@@ -34,7 +35,8 @@
    Popup,
    mapMenuPop,
    mapSpacePop,
    pipeLineAnaly
    pipeLineAnaly,
    mapPickUpPop
  },
  data() {
    return {
@@ -64,6 +66,7 @@
        console.log(item);
        return item.id === id;
      });
      this.$store.state.showPopBoxFlag = false;
      let data = this.PopupData.splice(index, 1)[0];
      if (this.$store.state.pipelineEntity.length != 0) {
        for (var i in this.$store.state.pipelineEntity) {
@@ -80,6 +83,12 @@
        for (var i in this.$store.state.histogramLayer) {
          Viewer.entities.remove(this.$store.state.histogramLayer[i])
        }
      }
      if (window.histogramHandler != null && Cesium.defined(window.histogramHandler)) {
        window.histogramHandler.removeInputAction(
          Cesium.ScreenSpaceEventType.MOUSE_MOVE
        )
        window.histogramHandler = null
      }
    },
    // 打开弹窗
@@ -110,4 +119,4 @@
};
</script>