WholeProcessPlatform/frontend/src/views/home/huanBaoZhiLiangZhuangKuang.vue

33 lines
959 B
Vue
Raw Normal View History

<script setup lang="ts">
2026-05-15 18:08:29 +08:00
import { ref, watch } from "vue";
import JidiSelectorMod from "@/modules/jidiSelectorMod.vue";
import RightDrawer from "@/components/RightDrawer/index.vue";
2026-05-15 18:08:29 +08:00
import HuanbaozdjcgzkzQK from "@/modules/huanbaozdjcgzkzQK/index.vue";
import SZYCBH from "@/modules/waterQuality/index.vue"
import { useJidiSelectEventStore } from "@/store/modules/jidiSelectEvent";
const JidiSelectEventStore = useJidiSelectEventStore();
const wbsCode = ref('')
watch(
() => JidiSelectEventStore.selectedItem,
(newVal) => {
wbsCode.value = newVal.wbsCode
},
{ deep: true, immediate: true }
);
</script>
2026-03-27 14:50:35 +08:00
<template>
<div class="moduleContent">
<div class="leftContent">
<JidiSelectorMod />
</div>
<div class="rightContent">
<RightDrawer>
<HuanbaozdjcgzkzQK />
2026-05-15 18:08:29 +08:00
<SZYCBH v-if="wbsCode != 'all'" />
</RightDrawer>
</div>
</div>
2026-03-27 14:50:35 +08:00
</template>
2026-04-02 10:54:14 +08:00
<style scoped lang="scss"></style>