<template>
    <div class="mdt-dashboard">
        <meeting
        v-bind="$attrs"
        v-on="$listeners" :step="step"/>
        <div class="dashboard-right">
            <!--团队组建-->
            <prepare-meeting v-bind="$attrs" v-on="$listeners" :step="step" v-if="step < 2 || step == 4  || step == 6"/>
            <!--资料上传-->
            <upload-source :step="step" v-if="step == 2"/>
        </div>
    </div>
</template>
<script>
import mixin from "aegle-sp-components/src/mixin/mdtDashbord.js";
import teamDialog from '../components/teamDialog.vue'
import prepareMeeting from './prepare-meeting.vue'
import uploadSource from './upload-source.vue'
import meeting from './meeting.vue'
export default {
    mixins: [mixin],
    inheritAttrs: true,
    components: { meeting, uploadSource, prepareMeeting, teamDialog },
    props: {
        step: {
            type: [Number, String],
        }
    },
    inject: ['topObj'],
    mounted(){

    }
}
</script>
<style lang="less" scoped>
.mdt-dashboard {
    display: flex;
    overflow-y: hidden;
    .dashboard-right {
        margin-left: 12px;
        flex: 1;
        overflow: hidden;
    }
}
</style>