派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-20 d7c50f6207f0f27f4c20aa96f75b7c0b610b2b23
管线弹框分析修改
3个文件已修改
10 ■■■■ 已修改文件
src/components/panel/topicSearch/EnterpriseEmergency/ResourcesQuery.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/topicSearch/SewersSearch.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/topicSearch/SewersSelect/SewersAnalysis.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/topicSearch/EnterpriseEmergency/ResourcesQuery.vue
@@ -44,7 +44,7 @@
                 :class="activeNum===index?'hover':''" @click="handleLocation(item,index)">
                <img class="state" :src="getImgSrc(item.properties.type)" style="background: none"/>
                <h3>{{changeAmount}}类型:{{item.properties.type}}</h3>
                <h5>{{changeAmount}}名称:{{item.properties.name}}</h5>
                <h5>{{changeAmount}}名称:{{item.properties.companyname}}</h5>
                <p>负责人:<span>{{item.properties.resperson}}</span></p>
                <p>电话:<span>{{item.properties.telephone}}</span></p>
            </div>
@@ -141,7 +141,7 @@
        this.wfsHelper.addLike('name', this.form.keyword)
      }
      const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {})
      // console.log(res)
      console.log(res)
      if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) {
        this.list = res.features
      }
src/components/panel/topicSearch/SewersSearch.vue
@@ -137,10 +137,10 @@
      console.log(tab, event)
      if (tab.label === '分析') {
        // 关闭弹窗
        window.layerFactory.clickSwitch = false
        window.mapManager.clickDialogSwitch = false
      } else {
        // 打开弹窗
        window.layerFactory.clickSwitch = true
        window.mapManager.clickDialogSwitch = true
      }
    },
    // 根据返回数据 确认展示图片
src/components/panel/topicSearch/SewersSelect/SewersAnalysis.vue
@@ -158,7 +158,7 @@
    selectPipeLine () {
      window.map.on('click', this.selectClick)
      // 关闭弹窗
      window.layerFactory.clickSwitch = false
      // window.mapManager.clickDialogSwitch = false
    },
    // 地图上点击回调
    selectClick (e) {