<script setup lang="tsx">
import { PropType, ref } from 'vue'
import { TableData } from '@/api/amld/JyqdStatistics/JyqdStatistics/types'
import { Descriptions, DescriptionsSchema } from '@/components/Descriptions'

const detailSchema = ref<DescriptionsSchema[]>([
  {
    field: 'txcm',
    label: '交易渠道'
  },
  {
    field: 'custpptype',
    label: '客户类型'
  },
  {
    field: 'sjkybgbs',
    label: '涉及可疑报告笔数'
  },
  {
    field: 'sjkybgje',
    label: '涉及可疑报告金额(万元)'
  }
])

defineProps({
  currentRow: {
    type: Object as PropType<TableData>,
    default: () => {}
  }
})
</script>

<template>
  <Descriptions :schema="detailSchema" :data="currentRow || {}" />
</template>
