WholeProcessPlatform/frontend/src/views/zhenXIZhiWuYuan/zhenXIZhiWuYuan.vue

40 lines
1.3 KiB
Vue
Raw Normal View History

2026-05-09 17:04:48 +08:00
<script setup lang="ts">
2026-05-15 18:16:17 +08:00
import { ref, watch } from "vue";
2026-05-09 17:04:48 +08:00
import JidiSelectorMod from "@/modules/jidiSelectorMod.vue";
import RightDrawer from "@/components/RightDrawer/index.vue";
import ZhiWuYuanJianSheJiJieRuQingKuangBar from "@/modules/ZhenXiZhiWuYuanMod/ZhiWuYuanJianSheJiJieRuQingKuangBar/index.vue"; // 植物园建设及接入情况
import Dwjzqk from "@/modules/ZhenXiZhiWuYuanMod/Dwjzqk/index.vue"
2026-05-15 18:16:17 +08:00
import JZZQKJS from "@/modules/DongWuJiuZhuZhan/JiuZhuZhanQingKuangJieShao.vue"; // 救助站情况介绍
import { useJidiSelectEventStore } from "@/store/modules/jidiSelectEvent";
const JidiSelectEventStore = useJidiSelectEventStore();
const wbsCode = ref('all')
watch(
() => JidiSelectEventStore.selectedItem,
(newVal) => {
console.log(newVal);
if (newVal.wbsCode == 'all') {
wbsCode.value = 'all';
} else {
wbsCode.value = newVal.wbsCode;
}
},
{ deep: true }
);
2026-05-09 17:04:48 +08:00
</script>
2026-03-27 15:52:43 +08:00
<template>
2026-05-09 17:04:48 +08:00
<div class="moduleContent">
<div class="leftContent">
<JidiSelectorMod />
</div>
<div class="rightContent">
<RightDrawer>
2026-05-15 18:16:17 +08:00
<JZZQKJS v-if="wbsCode!='all'" />
<ZhiWuYuanJianSheJiJieRuQingKuangBar v-if="wbsCode=='all'" />
2026-05-09 17:04:48 +08:00
<Dwjzqk />
</RightDrawer>
</div>
2026-03-27 15:52:43 +08:00
</div>
2026-05-09 17:04:48 +08:00
</template>
<style scoped lang="scss"></style>