2026-04-13 10:30:03 +08:00
|
|
|
<template>
|
|
|
|
|
<div>
|
2026-04-14 16:00:39 +08:00
|
|
|
<!-- 基础组件 -->
|
2026-04-13 10:30:03 +08:00
|
|
|
<BasicComponent
|
|
|
|
|
:disaster-type="DisasterType.RAINSTORM"
|
|
|
|
|
:key="route.fullPath"
|
|
|
|
|
/>
|
2026-04-13 19:27:32 +08:00
|
|
|
|
2026-04-14 16:00:39 +08:00
|
|
|
<!-- 灾害链影响列表组件 -->
|
2026-04-13 19:27:32 +08:00
|
|
|
<DisasterChainPointComponent
|
2026-04-18 16:40:04 +08:00
|
|
|
v-if="
|
|
|
|
|
useStatusStore().appLoadingCompleted &&
|
|
|
|
|
useStatusStore().uiComponents.disasterChainPointShow.loading
|
|
|
|
|
"
|
2026-04-13 19:27:32 +08:00
|
|
|
:select-options="selectOptions"
|
|
|
|
|
:table-data-list="tableDatas"
|
|
|
|
|
:table-columns="tableColumns"
|
|
|
|
|
:page-option="paginationConfig"
|
|
|
|
|
@change-conditions="changeConditions"
|
|
|
|
|
@change-current-page="changeCurrentPage"
|
|
|
|
|
/>
|
2026-04-13 20:55:32 +08:00
|
|
|
|
2026-04-14 16:00:39 +08:00
|
|
|
<!-- 左侧按钮组件 -->
|
2026-04-18 16:40:04 +08:00
|
|
|
<LeftButtonComponent
|
|
|
|
|
v-if="
|
|
|
|
|
useStatusStore().appLoadingCompleted &&
|
|
|
|
|
useStatusStore().uiComponents.leftButton.loading
|
|
|
|
|
"
|
|
|
|
|
:button-list="leftButtonInfo"
|
|
|
|
|
/>
|
2026-04-14 16:33:23 +08:00
|
|
|
|
2026-05-06 17:44:30 +08:00
|
|
|
<!-- 左侧图例组件 -->
|
|
|
|
|
<LeftLegendComponent
|
|
|
|
|
v-if="
|
|
|
|
|
useStatusStore().appLoadingCompleted &&
|
|
|
|
|
useStatusStore().uiComponents.leftLegend.loading
|
|
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
|
2026-04-14 16:33:23 +08:00
|
|
|
<!-- 右侧按钮组件 -->
|
2026-04-18 16:40:04 +08:00
|
|
|
<RightButtonComponent
|
|
|
|
|
v-if="
|
|
|
|
|
useStatusStore().appLoadingCompleted &&
|
|
|
|
|
useStatusStore().uiComponents.rightButton.loading
|
|
|
|
|
"
|
|
|
|
|
:button-list="rightButtonInfo"
|
|
|
|
|
/>
|
2026-04-15 22:41:06 +08:00
|
|
|
|
|
|
|
|
<!-- 控制显示组件 -->
|
|
|
|
|
<ControlShowComponent :constrol-show-list="controlPanel" />
|
2026-04-18 16:40:04 +08:00
|
|
|
|
|
|
|
|
<!-- 控制显示详情组件 -->
|
|
|
|
|
<ControlShowDetailComponent />
|
2026-04-21 19:50:57 +08:00
|
|
|
|
|
|
|
|
<!-- 功能组件 -->
|
|
|
|
|
<FunctionComponent />
|
2026-05-06 19:22:10 +08:00
|
|
|
|
|
|
|
|
<!-- 步骤组件 -->
|
|
|
|
|
<StepComponent />
|
2026-04-13 10:30:03 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import BasicComponent from '@/component/rain-earthquake/BasicComponent.vue';
|
2026-04-15 22:41:06 +08:00
|
|
|
import ControlShowComponent from '@/component/rain-earthquake/ControlShowComponent.vue';
|
2026-04-18 16:40:04 +08:00
|
|
|
import ControlShowDetailComponent from '@/component/rain-earthquake/ControlShowDetailComponent.vue';
|
2026-04-13 19:27:32 +08:00
|
|
|
import DisasterChainPointComponent from '@/component/rain-earthquake/DisasterChainPointComponent.vue';
|
2026-04-21 19:50:57 +08:00
|
|
|
import FunctionComponent from '@/component/rain-earthquake/FunctionComponent.vue';
|
2026-04-14 16:00:39 +08:00
|
|
|
import LeftButtonComponent from '@/component/rain-earthquake/LeftButtonComponent.vue';
|
2026-05-06 17:44:30 +08:00
|
|
|
import LeftLegendComponent from '@/component/rain-earthquake/LeftLegendComponent.vue';
|
2026-04-14 16:33:23 +08:00
|
|
|
import RightButtonComponent from '@/component/rain-earthquake/RightButtonComponent.vue';
|
2026-05-06 19:22:10 +08:00
|
|
|
import StepComponent from '@/component/rain-earthquake/StepComponent.vue';
|
2026-04-13 20:55:32 +08:00
|
|
|
import { useRainDisasterChain } from '@/hooks/rainstorm/useRainDisasterChain';
|
2026-04-18 16:40:04 +08:00
|
|
|
import { useStatusStore } from '@/stores/useStatusStore';
|
2026-04-14 08:08:01 +08:00
|
|
|
import { DisasterType } from '@/types/common/DisasterType.ts';
|
2026-04-13 10:30:03 +08:00
|
|
|
import { useRoute } from 'vue-router';
|
|
|
|
|
|
|
|
|
|
const route = useRoute();
|
2026-04-13 19:27:32 +08:00
|
|
|
|
2026-04-13 20:55:32 +08:00
|
|
|
const {
|
|
|
|
|
selectOptions,
|
|
|
|
|
tableDatas,
|
|
|
|
|
tableColumns,
|
|
|
|
|
paginationConfig,
|
2026-04-14 16:00:39 +08:00
|
|
|
leftButtonInfo,
|
2026-04-14 16:33:23 +08:00
|
|
|
rightButtonInfo,
|
2026-04-15 22:41:06 +08:00
|
|
|
controlPanel,
|
2026-04-13 20:55:32 +08:00
|
|
|
changeConditions,
|
|
|
|
|
changeCurrentPage,
|
|
|
|
|
} = useRainDisasterChain();
|
2026-04-13 19:27:32 +08:00
|
|
|
</script>
|
|
|
|
|
|
2026-04-13 10:30:03 +08:00
|
|
|
<style scoped></style>
|