WholeProcessPlatform/frontend/src/views/guoYuSheShi/sheShiZhuangKuang.vue
2026-06-05 16:12:33 +08:00

37 lines
1.2 KiB
Vue

<script setup lang="ts">
import JidiSelectorMod from "@/modules/jidiSelectorMod.vue";
import RightDrawer from "@/components/RightDrawer/index.vue";
import GuoYuSheShiJieShao from "@/modules/guoyusheshijieshao/index.vue"
import GuoYuSheShiJianSheQingKuang from "@/modules/guoyusheshijiansheqingkuang/index.vue"
import GuoYuJianCeTJ from "@/modules/guoyujiance/index.vue"
import GYZLLB from "@/modules/GYZLLB/index.vue"
import { useJidiSelectEventStore } from "@/store/modules/jidiSelectEvent";
import { ref,watch} from 'vue';
const JidiSelectEventStore = useJidiSelectEventStore();
const baseid = ref('')
watch(
() => JidiSelectEventStore.selectedItem,
(newVal) => {
baseid.value = newVal.wbsCode;
},
{ deep: true, immediate: true }
);
</script>
<template>
<div class="moduleContent">
<div class="leftContent">
<JidiSelectorMod />
</div>
<div class="rightContent">
<RightDrawer>
<GuoYuSheShiJieShao v-if="baseid != 'all'" />
<GuoYuSheShiJianSheQingKuang v-if="baseid == 'all'" />
<GuoYuJianCeTJ />
<GYZLLB title="过鱼总量" />
</RightDrawer>
</div>
</div>
</template>
<style scoped lang="scss"></style>