<template>
  <j-table
    ref="tableRef"
    :show-selection="false"
    :show-index="false"
    :data="advertistingDtos"
    :columns="columns"
  />
</template>
<script>
import JTable from '@/components/Table/index.vue'

export default {
  components: { JTable },
  props: {
    advertistingDtos: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
      columns: [
        { prop: 'areaName', label: '投放区域', align: 'left', minWidth: 80 },
        { prop: 'areaTypeName', label: '平台类型', align: 'left', minWidth: 80 },
        { prop: 'classLocationName', label: '投放班级/位置', align: 'left', minWidth: 120 }
      ]
    }
  }
}
</script>
