This commit is contained in:
lcw
2025-09-24 18:10:41 +08:00
parent 63cd5ba2a3
commit 16d05358d1
178 changed files with 5957 additions and 1293 deletions

View File

@ -0,0 +1,34 @@
<template>
<div>
<YpHome v-if="showModel == '研判首页'"></YpHome>
<ModeList v-if="showModel == '四色预警规则'" :item="itemData" ></ModeList>
<EarlyWarning v-if="showModel == '预警规则'" :item="itemData" ></EarlyWarning>
<YjList v-if="showModel == '预警列表'" :item="itemData" ></YjList>
<!-- <YjDetail v-if="showModel == '预警详情'" :item="itemDetail" @change="changeModel"></YjDetail> -->
</div>
</template>
<script setup>
import YpHome from "./components/ypHome.vue";
import YjList from "./components/yjList.vue";
import ModeList from "./components/FourColor/modeList.vue";
import EarlyWarning from "./components/EarlyWarning/modeList.vue";
import emitter from "@/utils/eventBus.js";
import { onMounted, ref } from "vue";
const showModel = ref('研判首页')
const itemData=ref({})
onMounted(() => {
emitter.on('changeModel', (model) => {
showModel.value = model.name;
itemData.value=model.row;
})
})
</script>
<style lang="scss" scoped>
</style>