管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-05-27 0af4ecb9b2047b8ba6d00e891050cf2d68b829a6
src/views/Tools/queryinfo.vue
@@ -1,16 +1,20 @@
<template>
  <div class="InfoPopup">
    <Popup ref="pop"
    <Popup
      ref="pop"
           v-for="(data, index) in PopupData"
           :key="data.id"
           :title="data.title || '提示'"
           maxHeight="400"
           @close="close(data.id)"
           left="calc(90% - 900px)"
           top="calc(100% - 470px) ">
      top="calc(100% - 470px) "
    >
      <div>
        <div style="width:940px;height:400px;"
             v-drag>
        <div
          style="width:940px;height:400px;"
          v-drag
        >
          <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'" />
@@ -46,7 +50,11 @@
    };
  },
  computed: {},
  mounted () { },
  mounted() {
  },
  directives: {
    drag: {
      inserted: function (el) {
@@ -57,8 +65,7 @@
          const disX = e.clientX;
          const w = dragDom.clientWidth;
          const minW = 500;
          const maxW = 1024;
          const maxW = 940;
          var nw;
          document.onmousemove = function (e) {
            // 通过事件委托,计算移动的距离
@@ -98,6 +105,7 @@
        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);
@@ -155,3 +163,5 @@
  },
};
</script>