| | |
| | | <div> |
| | | <h3 @click="handleLocation(item)">{{ item.properties.pipename }}</h3> |
| | | <p>所属企业:<span>{{ item.properties.orgcode }}</span> |
| | | <p>设施类型:<span>{{ item.properties.teetype }}</span></p> |
| | | <p>设施类型:<span>{{ item.properties.teetype }}</span> <el-button class="rt" size="mini" style="margin-right: 0.04rem" @click="btnAffiliatedFacilities(item)" >附属设施</el-button></p> |
| | | </div> |
| | | </div> |
| | | </el-scrollbar> |
| | |
| | | <SewersHistory></SewersHistory> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <!-- 附属设施面板 --> |
| | | <affiliated-facilities></affiliated-facilities> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import WfsHelper from '@components/helpers/WfsHelper' |
| | | import AjaxUtils from '@utils/AjaxUtils' |
| | | |
| | | import AffiliatedFacilities from '@components/BaseNav/pipeline/AffiliatedFacilities' |
| | | |
| | | // 引入组件内容 |
| | | import SewersAnalysis from '@components/panel/topicSearch/SewersSelect/SewersAnalysis' |
| | | import SewersHistory from '@components/panel/topicSearch/SewersSelect/SewersHistory' |
| | |
| | | name: 'SewersSearch', |
| | | components: { |
| | | SewersAnalysis, |
| | | SewersHistory |
| | | SewersHistory, |
| | | AffiliatedFacilities |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | handleLocation (val) { |
| | | const bound = this.L.geoJSON([val], {}).getBounds() |
| | | window.map.flyToBounds(bound) |
| | | window.layerFactory.flyByLayerId(this.form.dataType.code, val.id) |
| | | window.layerFactory.flyByFeature(val, this.form.dataType.code) |
| | | // layer && layer.openPopup() |
| | | }, |
| | | btnAffiliatedFacilities (item) { |
| | | console.log(item) |
| | | } |
| | | } |
| | | } |