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-15 22:41:06 +08:00
|
|
|
v-if="useStatusStore().appLoadingCompleted"
|
2026-04-13 10:30:03 +08:00
|
|
|
/>
|
2026-04-11 10:09:40 +08:00
|
|
|
|
|
|
|
|
<!-- 风险点组件 -->
|
2026-04-15 22:41:06 +08:00
|
|
|
<RiskPointComponent v-if="useStatusStore().appLoadingCompleted" />
|
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-13 10:30:03 +08:00
|
|
|
import HiddenPointComponent from './HiddenPointComponent.vue';
|
|
|
|
|
import RiskPointComponent from './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>
|