import { reactive } from 'vue'
import { QUESTION_TYPE_ALL, QUESTION_STATUS } from '@/utils/dictionary.js'

const data = reactive([
  {
    label: '问题类型',
    key: 'type',
    type: 'select',
    value: 'all',
    props: {
      placeholder: '请选择问题类型',
      options: QUESTION_TYPE_ALL
    }
  },
  {
    label: '问题状态',
    key: 'status',
    type: 'select',
    value: 'all',
    props: {
      placeholder: '请选择问题状态',
      options: [
        { label: '全部', value: 'all' },
        ...QUESTION_STATUS
      ]
    }
  }
])

export default data

