WholeProcessPlatform/frontend/src/views/shuiZhiJianCe/shuiHuanJingZhiLiangZhuangKuang.vue

37 lines
1.1 KiB
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";
import ShuiZhiJianCeGongZuoQingKuang from "@/modules/shuizhijiancegongzuoQK/index.vue"
2026-04-24 17:46:41 +08:00
import EnvironmentalQuality from "@/modules/EnvironmentalQuality/index.vue" // 环境质量满足度
2026-05-15 18:08:29 +08:00
import { useJidiSelectEventStore } from "@/store/modules/jidiSelectEvent";
import SZYCBH from "@/modules/waterQuality/index.vue"
const JidiSelectEventStore = useJidiSelectEventStore();
const wbsCode = ref('');
watch(
() => JidiSelectEventStore.selectedItem,
(newVal) => {
console.log(newVal);
wbsCode.value = newVal.wbsCode;
},
{ deep: true }
);
</script>
2026-03-27 14:50:35 +08:00
<template>
<div class="moduleContent">
<div class="leftContent">
<JidiSelectorMod />
</div>
<div class="rightContent">
<RightDrawer>
<ShuiZhiJianCeGongZuoQingKuang />
2026-04-24 17:46:41 +08:00
<EnvironmentalQuality />
2026-05-15 18:08:29 +08:00
<SZYCBH v-if="wbsCode != 'all'"></SZYCBH>
</RightDrawer>
</div>
2026-03-27 14:50:35 +08:00
</div>
</template>
<style scoped lang="scss"></style>