<template>
    <keep-alive>
        <component v-bind:is="currentTabComponent"></component>
    </keep-alive>
    
</template>

<script>
import moment from 'moment';
import { getAction, postAction, downFile, downFilePost } from '@/api/manage';

export default {
    components:{
        designleaderPlatform: () => import('./platForm'),
        orderList: () => import('../orderList'), 
        orderDetail: () => import('../orderDetail'), 
        materialList: () => import('../materialList'), 

    },

    data() {
        return {
            currentTabComponent:'designleaderPlatform',//当前加载的组件名称
            orderStatus:undefined,//跳转到订单详情时需要里面的参数  status订单参数 role 当前角色
            role:'designLeader',
            materialStatus:undefined,
            orderId:undefined,
        }
    },
   
}

</script>
