<script name="businessInfo" setup>
import { reactive } from 'vue'

defineProps({
  detailData: Object
})
const column = reactive([
  {
    label: '序号',
    type: 'index',
    width: '80'
  },
  // {
  //   label: '业务编号',
  //   key: 'oid',
  //   prop: 'oid'
  // },
  {
    label: '业务名称',
    key: 'matterName',
    prop: 'matterName'
  },
  {
    label: '所属单位',
    key: 'orgName',
    prop: 'orgName'
  }
])
</script>

<template>
  <table-list
    :column="column"
    :data="detailData.coreBusiness?JSON.parse(detailData.coreBusiness):[]"
    :pagination="false"
    :small="true"
  />
</template>
