import { reactive } from 'vue'
import { ORDER_STATUS3 } from '@/utils/dictionary.js'

export const search = reactive([
  {
    label: '工单编号',
    key: 'reportNo',
    props: {
      placeholder: '请输入工单编号'
    }
  },
  {
    label: '工单状态',
    key: 'status',
    type: 'select',
    props: {
      placeholder: '请选择工单状态',
      options: ORDER_STATUS3
    }
  },
  {
    label: '工单生成时间',
    key: 'time',
    type: 'date',
    value: null,
    props: {
      type: 'daterange',
      valueFormat: 'yyyy-MM-dd',
      format: 'yyyy-MM-dd'
    }
  }
])
