<template>
  <CommonBarStatisticsCharts
    charts-title="行李量"
    :query-settings="querySettings"
    :custom-form-items="customFormItems"
  />
</template>

<script>
import CommonBarStatisticsCharts from '../../components/commonBarStatisticsCharts.vue'
export default {
  name: 'BaggageStatisticsCharts',
  components: { CommonBarStatisticsCharts },
  data() {
    return {
      querySettings: {
        byArea: SERVICE_ID.baggageByArea,
        byOther: SERVICE_ID.baggageByOther,
        notDelByArea: SERVICE_ID.notDelByArea,
        notDelByOther: SERVICE_ID.notDelByOther
      },
      customFormItems: [
        {
          prop: 'baggageType',
          inputType: 'select',
          placeholder: '行李类型',
          requiredWarning: '请先选择行李类型',
          clearable: true,
          options: [
            {
              value: '全部',
              label: '全部'
            },
            {
              value: '不包含DEL',
              label: '实际托运'
            }
          ]
        }
      ]
    }
  }
}
</script>
