燕山石化溯源三维电子沙盘-【前端】-Web
surprise
2024-03-27 08d0c4ca9064c27be7b3e488bec497e87a05cc18
src/views/index.vue
@@ -35,7 +35,7 @@
              v-if="showFk"
              @FKclose="FKclose"
            ></SYFK>
            <YCWG v-show="checkMenuFlag == 'b2'"></YCWG>
            <YCWG v-if="checkMenuFlag == 'b2'"></YCWG>
            <div class="chart_box" v-if="chart_isshow">
              <div class="popout_title">曲线统计图</div>
              <div class="close" @click="popoutClose('QX')"></div>
@@ -63,11 +63,15 @@
            <YJlist v-if="checkMenuFlag == 'c2'"></YJlist>
            <gjfx v-if="checkMenuFlag == 'f1'"></gjfx>
            <zdmax v-if="checkMenuFlag == 'f1'"></zdmax>
            <PreCusPage v-if="checkMenuFlag == 'b5'"></PreCusPage>
          </div>
        </div>
      </div>
    </transition>
    <div class="video_box" v-show="checkMenuFlag == 'e3'">
    <div
      class="video_box"
      v-if="checkMenuFlag == 'e3' || checkMenuFlag == 'e5'"
    >
      <video
        :src="videoUrl"
        controls="controls"
@@ -109,6 +113,7 @@
//预警报警
import BJlist from "@/components/BJlist.vue";
import YJlist from "@/components/YJlist.vue";
import PreCusPage from "@/components/PreCusPage.vue";
//点位列表
import poiList from "@/components/poiList.vue";
//统计图
@@ -143,6 +148,7 @@
    reportList,
    dayzdmax,
    weekzdmax,
    PreCusPage
  },
  setup(props, { emit }) {
    const store = useStore();
@@ -223,6 +229,22 @@
          }config/燕山石化系统功能操作文档.pdf`
        );
      }
      if (res.id == "e3") {
        videoUrl.value = window.location.href.split("#")[0] + videoJS;
      }
      if (res.id == "e5") {
        videoUrl.value = window.location.href.split("#")[0] + SMvideoJS;
      }
      sgworld.Core.postMessage({
        func_name: "SetSmallWind",
        lon: "",
        lat: "",
        alt: 300,
        Scope: "",
        Direction: "",
        Hidden: "true",
      });
    };
    const toggleFK = (params) => {