<template>
    <view>
        <view class="mb20">
            <!-- 团队业绩 -->
            <team 
                :goalsClassifyVOList="data.goalsClassifyVOList[0]"
                :data="data"
                ref="teamRef"
            />
        </view>
        <view class="mb20">
            <!-- 安置业绩 -->
            <settle 
                :goalsClassifyVOList="data.goalsClassifyVOList[1]"
                :data="data"
                ref="settleRef"
            />
        </view>
        <view class="mb20">
            <!-- 推荐业绩 -->
            <recommen 
                :goalsClassifyVOList="data.goalsClassifyVOList[2]"
                :data="data"
                ref="recommenRef"
            />
        </view>
        <view class="mb20">
            <!-- 推荐人数 -->
            <people 
                :goalsClassifyVOList="data.goalsClassifyVOList[3]"
                :data="data"
                ref="peopleRef"
            />
        </view>
        <view class="mb20">
             <!-- 会议场次 -->
             <session 
                :goalsClassifyVOList="data.goalsClassifyVOList[4]"
                :data="data"
                ref="sessionRef"
            />
        </view>
        <view class="mb20">
             <!-- 会议报备 -->
             <file 
                :goalsClassifyVOList="data.goalsClassifyVOList[5]"
                :data="data"
                ref="fileRef"
            />
        </view>
        <view class="mb20">
            <!-- 创客空间 -->
            <maker 
                :goalsClassifyVOList="data.goalsClassifyVOList[6]"
                :data="data"
                ref="makerRef"
            />
        </view>

        <view class="mb20">
            <!-- 超级工作室 -->
            <studio 
                :goalsClassifyVOList="data.goalsClassifyVOList[7]"
                :data="data"
                ref="studioRef"
            />
        </view>
        <!-- <view class="normal-sub-btn mt20" @click="submit">确认</view> -->
    </view>
</template>

<script>
import utils from '@/common/utils.js';
import team from './team.vue';
import settle from './settle.vue';
import recommen from './recommen.vue';
import people from './people.vue';
import session from './session.vue';
import file from './file.vue';
import maker from './maker.vue';
import studio from './studio.vue';

export default {
    components: {
        team,
        settle,
        recommen,
        people,
        session,
        file,
        maker,
        studio,
    },
    props:['data'],
    data() {
        return {
            loading: true,
            now: 0,
            monthList: [],
            monthIndex: 0,
            form: {
                // pkMember: 100000,
                goalType: 1,
                month: "",
                goalsClassifyVOList: [
                    {
                        goalClassify: 1,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 2,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 3,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 4,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 5,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 6,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 7,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                    {
                        goalClassify: 8,
                        totalAchieve: "",
                        rightAchieve: "",
                        goalsDetailVOList: []
                    },
                ],
            },
        };
    },
    onShow() {},
    mounted() {},
    methods: {}
};
</script>

<style lang="scss" scoped></style>