派生自 wuyushui/SewerAndRainNetwork

YANGDL
2021-01-05 e1d9c933e8ad4c63400a1c2cec73f98faeffbdb1
修改eslint配置增加mock配置
2个文件已修改
13 ■■■■ 已修改文件
src/components/panel/TopEnterprisePanel.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/MapTemplate.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/TopEnterprisePanel.vue
@@ -79,7 +79,7 @@
        label: '茂名润滑油'
      }],
      form: {
        regionType: '',
        regionType: ''
      }
    }
  },
src/views/MapTemplate.vue
@@ -21,7 +21,7 @@
import LcServiceLayer from '@components/LayerController/modules/LcServiceLayer'
import LcServiceLayerFilter from '@components/LayerController/modules/LcServiceLayerFilter'
import MonitorPanel from '@components/panel/MonitorPanel'
import TopEnterprisePanel from "@components/panel/TopEnterprisePanel";
import TopEnterprisePanel from '@components/panel/TopEnterprisePanel'
export default {
  name: 'MapTemplate',
@@ -48,10 +48,10 @@
  },
  methods:{
    saveMapStatus(){
      this.$store.commit('setMapObj', this.mapObj);
      this.$store.commit('setBasemapHelper', this.basemapHelper);
      this.$store.commit('setServiceLayerHelper', this.serviceLayerHelper);
      this.$store.commit('setVectorLayerHelper', this.vectorLayerHelper);
      this.$store.commit('setMapObj', this.mapObj)
      this.$store.commit('setBasemapHelper', this.basemapHelper)
      this.$store.commit('setServiceLayerHelper', this.serviceLayerHelper)
      this.$store.commit('setVectorLayerHelper', this.vectorLayerHelper)
    },
      init() {
        const mapcontainer = this.$refs.rootmap
@@ -65,7 +65,6 @@
        this.vectorLayerHelper = Sgis.initVectorLayersHelper(this.mapObj.map, this.mapObj.L) // 初始化动态要素图层助手
        this.vectorLayerHelper.initVectorLayers(this.mapConfig)
        this.saveMapStatus()
        // this.setMapObj(this.mapObj)