<template>
  <view class="detail-leads-about">
    <about-file
      v-if="batchId"
      :batch-id="batchId"
      :detail-id="detailId"
      type="crm_leads"
      class="about-section" />

    <about-operation
      :detail-id="detailId"
      type="crm_leads"
      class="about-section" />
  </view>
</template>

<script>
  import AboutFile from '../../components/tabAbout/aboutFile.vue'
  import AboutOperation from '../../components/tabAbout/aboutOperation.vue'

  export default {
    name: 'DetailLeadsAbout',
    components: {
      AboutFile,
      AboutOperation
    },
    props: {
      detailId: {
        type: [String, Number],
        default: null,
        required: true
      },
      batchId: {
        type: String,
        default: null
      }
    }
  }
</script>

<style scoped lang="scss">

</style>
