import { BasicColumn, FormSchema } from '@/components/Table';
export const columns = [
  {
    title: '设备型号',
    dataIndex: 'typeId',
  },
  {
    title: '设备SN',
    dataIndex: 'sn',
  },
  {
    title: '设备名称',
    dataIndex: 'name',
  },
  {
    title: '固件版本',
    dataIndex: 'firmwareVersion',
  },
  {
    title: '在线状态',
    dataIndex: 'online_status',
  },
  {
    title: '所属项目',
    dataIndex: 'workSpaceId',
  },
  {
    title: '加入组织时间',
    dataIndex: 'createTime',
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'workspaceid',
    label: '项目',
    component: 'Select',
    componentProps: {
      options: [
      ],
    },
    colProps: { span: 4 },
  },
  {
    field: 'type',
    label: '设备型号',
    component: 'Input',
    colProps: { span: 4 },
  },
  {
    field: 'sn',
    label: '设备SN',
    component: 'Input',
    colProps: { span: 6 },
  },
];