月球大数据地理空间分析展示平台-【前端】-月球2期前端
WX
2023-09-08 deaf4ddeccc554ce782213ebda24923158c23c5a
src/views/Index.vue
@@ -1,6 +1,5 @@
<template>
  <div class="body_box">
    <export-map
      v-if="layerExportshow"
      @SETexportMap="SETexportMap"
@@ -13,21 +12,16 @@
      v-if="layerSpatialshow"
      @SETspatialClose="SETspatialClose"
    ></spatial-box>
    <coord-location
      v-if="layerLocationshow"
      @SETcoordClose="setCoordLocation"
    >
    <coord-location v-if="layerLocationshow" @SETcoordClose="setCoordLocation">
    </coord-location>
    <details-query v-if="store.state.details.showDetails">
    </details-query>
    <details-query v-if="store.state.details.showDetails"> </details-query>
    <div v-if="store.state.isShowMap">
      <map-view></map-view>
    </div>
    <div v-if="!store.state.isShowMap">
      <ol-map></ol-map>
    </div>
    <plotting-inquire></plotting-inquire>
  </div>
</template>
@@ -60,6 +54,8 @@
import detailsQuery from "@/views/query/detailsQuery.vue";
//出图列表
import exportList from "./export/exportList.vue";
//标绘查询
import plottingInquire from "./plotting/plottingInquire.vue";
import router from "@/router";
import { useStore } from "vuex"; // 引入useStore 方法