<template>
  <!-- 充值审核详情-->
  <a-modal class="add-custom custom-detail"
           title="充值审核详情"
           centered
           v-model:visible="visible"
           :maskClosable="false"
           @cancel="cancel"
           width="890px">
    <template #footer>
      <a-button key="cancel"
                type="primary"
                :loading="loading"
                @click="cancel">关闭</a-button>
    </template>
    <CommomDetail :selectedRow="selectedRow" />
  </a-modal>
</template>
<script lang="ts">
import { defineComponent, PropType, ref } from 'vue';
import { closeModal } from '@/common/setup/modal/index';
import CommomDetail from '../common-detail/index.vue';
import { QhjAccountOutInApply } from '@/services/go/ermcp/qhj/interface';

export default defineComponent({
    name: 'platinum_withdrawal_review_detail-desc',
    components: { CommomDetail },
    props: {
        selectedRow: {
            type: Object as PropType<QhjAccountOutInApply>,
            default: {},
        },
    },
    setup(props, context) {
        const { visible, cancel } = closeModal('detail');
        const loading = ref<boolean>(false);
        return {
            cancel,
            visible,
            loading,
        };
    },
});
</script>
