2026-04-11 10:09:40 +08:00
|
|
|
<!-- 基础组件 -->
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<!-- 地图组件 -->
|
|
|
|
|
<MapComponent />
|
|
|
|
|
|
|
|
|
|
<!-- 隐患点组件 -->
|
2026-04-13 10:30:03 +08:00
|
|
|
<HiddenPointComponent
|
|
|
|
|
:disaster-type="props.disasterType"
|
2026-04-18 16:40:04 +08:00
|
|
|
v-if="
|
|
|
|
|
useStatusStore().appLoadingCompleted &&
|
|
|
|
|
useStatusStore().mapLayers.hiddenDangerPointShow.loading
|
|
|
|
|
"
|
2026-04-13 10:30:03 +08:00
|
|
|
/>
|
2026-04-11 10:09:40 +08:00
|
|
|
|
|
|
|
|
<!-- 风险点组件 -->
|
2026-04-18 16:40:04 +08:00
|
|
|
<RiskPointComponent
|
|
|
|
|
v-if="
|
|
|
|
|
useStatusStore().appLoadingCompleted &&
|
|
|
|
|
useStatusStore().mapLayers.riskPointShow.loading
|
|
|
|
|
"
|
|
|
|
|
/>
|
2026-04-11 10:09:40 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2026-04-13 10:30:03 +08:00
|
|
|
import MapComponent from '@/component/map/MapComponent.vue';
|
2026-04-14 08:08:01 +08:00
|
|
|
import type { DisasterType } from '@/types/common/DisasterType.ts';
|
2026-04-21 19:50:57 +08:00
|
|
|
import HiddenPointComponent from '@/component/rain-earthquake/basic/HiddenPointComponent.vue';
|
|
|
|
|
import RiskPointComponent from '@/component/rain-earthquake/basic/RiskPointComponent.vue';
|
2026-04-14 08:59:05 +08:00
|
|
|
import { useStatusStore } from '@/stores/useStatusStore';
|
2026-04-11 10:09:40 +08:00
|
|
|
|
2026-04-13 10:30:03 +08:00
|
|
|
// 获取父组件传递德数据
|
|
|
|
|
const props = defineProps<{
|
|
|
|
|
disasterType: DisasterType;
|
|
|
|
|
}>();
|
2026-04-11 10:09:40 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped></style>
|