派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-03-12 231ed8b3de4866ceb5bbb9833c0a7afaee9583d6
src/views/MapTemplate.vue
@@ -13,7 +13,8 @@
    <tool-box-panel ref="toolBox"></tool-box-panel>
    <menu-special></menu-special>
    <legend-panel></legend-panel>
    <summary-sheets></summary-sheets>
    <summary-sheets v-show="isShowbtn"></summary-sheets>
    <el-button id="mapbtn" type="primary" icon="el-icon-c-scale-to-original" circle @click="isshowhidden"></el-button>
  </div>
</template>
@@ -48,6 +49,7 @@
  },
  data () {
    return {
      isShowbtn: false,
      map: null,
      lcServiceLayerVisible: false,
      basemapHelper: {},
@@ -66,6 +68,9 @@
    })
  },
  methods: {
    isshowhidden () {
      this.isShowbtn = !this.isShowbtn
    },
    saveMapStatus () {
      window.serviceLayerHelper = this.serviceLayerHelper
      this.$store.commit('setMapObj', this.map)