<template>
    <DetailsWeather v-if="ps.weatherMsg?.depStnList" title="起飞当日" :msg="ps.weatherMsg.depStnList" />

    <DetailsWeather v-if="ps.weatherMsg?.arrStnList" title="落地当日" :msg="ps.weatherMsg.arrStnList" />

    <DetailsFollowCrewItem title="跟机机务" :list="FcArrangeMsg.crwStewardInf" />

    <DetailsFollowCrewItem title="机组人员" :list="FcArrangeMsg.crwPilotInf" />
</template>

<script setup>
import { ref, onMounted } from 'vue'
import DetailsFollowCrewItem from './DetailsFollowCrewItem.vue'
import DetailsWeather from './DetailsWeather.vue'

const ps = defineProps({
    weatherMsg: {
        type: Object,
        default: () => {
            return {
                depStnList: [], arrStnList: []
            }
        }
    },
    FcArrangeMsg: {
        type: Object,
        default: () => {
            return {
                crwPilotInf: [], crwStewardInf: []
            }
        }
    }
})

</script>
<style lang="scss" scoped>
@import '../constants/details';
</style>
