import { BasicColumn, FormSchema } from '@/components/Table';
export const columns = [
  {
    title: '反馈时间',
    dataIndex: 'feedback_time',
  },
  {
    title: '反馈人',
    dataIndex: 'feedback_user',
  },
  {
    title: '设备型号',
    dataIndex: 'model',
  },
  {
    title: '设备SN',
    dataIndex: 'sn',
  },
  {
    title: '设备名称',
    dataIndex: 'name',
  },
  {
    title: '设备异常描述',
    dataIndex: 'description',
  },
  {
    title: '上传状态',
    dataIndex: 'status',
  },
];
export const dataSource = [
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
  { feedback_time: 111, feedback_user:222, model: 333, sn: 444, name:'1.0.0', description:'test', status: 555},
]
export const searchFormSchema: FormSchema[] = [
  {
    field: 'time',
    component: 'RangePicker',
    // componentProps: {
    //   options: [
    //     { label: '固件待升级', value: '固件待升级' },
    //     { label: '固件一致性升级', value: '固件一致性升级' },
    //     { label: '飞行安全数据库待升级', value: '飞行安全数据库待升级' },
    //   ],
    // },
    colProps: { span: 4 },
  },
  {
    field: 'feedback_user',
    label: '反馈人',
    component: 'Select',
    componentProps: {
      options: [
      ],
    },
    colProps: { span: 4 },
  },
  {
    field: 'status',
    label: '状态',
    component: 'Select',
    componentProps: {
      options: [
        { label: '待上传', value: '待上传' },
        { label: '数据处理', value: '数据处理' },
        { label: '上传中', value: '上传中' },
        { label: '上传完成', value: '上传完成' },
        { label: '上传失败', value: '上传失败' },
        { label: '已暂停', value: '已暂停' },
        { label: '已取消', value: '已取消' },
      ],
    },
    colProps: { span: 4 },
  },
  {
    field: 'sn',
    label: '设备SN',
    component: 'Input',
    colProps: { span: 6 },
  },
];