| | |
| | | <div> |
| | | <el-text type="info"> |
| | | <el-icon><MapLocation /></el-icon> |
| | | {{ |
| | | '风险区域:' + |
| | | (item.pollutedArea.address ? item.pollutedArea.address : '') |
| | | }} |
| | | {{ '风险区域:' + riskRegion }} |
| | | </el-text> |
| | | </div> |
| | | <!-- <div> |
| | |
| | | return indexArr; |
| | | }); |
| | | |
| | | const riskRegion = computed(() => { |
| | | const _riskRegion = []; |
| | | if (props.item.pollutedArea.address) { |
| | | _riskRegion.push(props.item.pollutedArea.address); |
| | | } |
| | | if (props.item.pollutedArea.streetNumber) { |
| | | _riskRegion.push(props.item.pollutedArea.streetNumber); |
| | | } |
| | | if (props.item.pollutedArea.roadinter) { |
| | | _riskRegion.push(props.item.pollutedArea.roadinter); |
| | | } |
| | | return _riskRegion.join(','); |
| | | }); |
| | | |
| | | const emits = defineEmits(['showMarksAndPolygon', 'update:modelValue']); |
| | | |
| | | function showMarksAndPolygon(item) { |