<template>
  <!-- 履约信息 -->
  <section class="performance_information">
    <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.performance_information,
    components: {
        thirdMenu,
        [enumOrderComponents.performance_information_buy_performance]: defineAsyncComponent(() => import('./components/performance_information_buy_performance/index.vue')),
        [enumOrderComponents.performance_information_sell_performance]: defineAsyncComponent(() => import('./components/performance_information_sell_performance/index.vue')),
    },
    setup() {
        return { ...handleOrderDetailList(enumOrderComponents.performance_information) };
    },
});
</script>

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