<template>
  <CommonPieStatisticsCharts
    charts-title="异常行李分类"
    :query-settings="querySettings"
    :custom-form-items="customFormItems"
    :categories="categories"
    only-airline
  />
</template>

<script>
import CommonPieStatisticsCharts from '../../components/commonPieStatisticsCharts.vue'
import onlyAirline from '../../mixins/onlyAirline'

export default {
  name: 'AbnormalBaggageClassificationStatisticsCharts',
  components: { CommonPieStatisticsCharts },
  mixins: [onlyAirline],

  data() {
    return {
      querySettings: {
        // byArea: SERVICE_ID.abnormalBaggageClassificationByArea,
        // byOther: SERVICE_ID.abnormalBaggageClassificationByOther,
        all: SERVICE_ID.abnormalBaggageClassificationAll,
        byAirline: SERVICE_ID.abnormalBaggageClassificationByAirline,
        categoryKey: 'RECTYPE',
        seriesKey: 'nums'
      },
      categories: ['少收', '多收', '破损']
    }
  }
}
</script>
