You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
923 B

<script setup lang="tsx">
import { PropType, ref } from 'vue'
import { TableData } from '@/api/dataset/CodeRepTarget/types'
import { Descriptions, DescriptionsSchema } from '@/components/Descriptions'
const detailSchema = ref<DescriptionsSchema[]>([
{
field: 'indexsetCode',
label: '指标集编码'
},
{
field: 'targetCode',
label: '栏编码'
},
{
field: 'beginDate',
label: '开始日期'
},
{
field: 'endDate',
label: '结束日期'
},
{
field: 'targetName',
label: '栏名称'
},
{
field: 'targetOrder',
label: '排序'
},
{
field: 'status',
label: '状态'
},
{
field: 'isOrgCollect',
label: '是否机构汇总'
}
])
defineProps({
currentRow: {
type: Object as PropType<TableData>,
default: () => {}
}
})
</script>
<template>
<Descriptions :schema="detailSchema" :data="currentRow || {}" />
</template>