<template>
  <!-- 融资管理 -->
  <section class="spot_warran">
    <component :is="componentId"
               v-if="componentId">
    </component>
    <thirdMenu :list="tabList"
               @selectMenu="changeTab"
               :value="'title'"></thirdMenu>
  </section>
</template>

<script lang="ts">
import { defineAsyncComponent, defineComponent } from 'vue';
import { enumOrderComponents } from '@/common/constants/enumOrderComponents';
import thirdMenu from '@/common/components/thirdMenu/index.vue';
import { handleOrderDetailList } from '@/common/setup/order/orderData';

export default defineComponent({
    name: enumOrderComponents.financing_manager,
    components: {
        thirdMenu,
        [enumOrderComponents.financing_manager_apply_order]: defineAsyncComponent(() => import('./components/financing_manager_apply_order/index.vue')),
        [enumOrderComponents.financing_manager_contract]: defineAsyncComponent(() => import('./components/financing_manager_contract/index.vue')),
    },
    setup() {
        return { ...handleOrderDetailList(enumOrderComponents.financing_manager) };
    },
});
</script>

<style lang="less">
</style>;
