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: 'updateTime',
  },
  {
    title: '在线时间',
    dataIndex: 'online_time',
  },
];
export const dataSource = [
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
  { model: 111, sn:222, name: 333, version: 444, status: 555, project: 666, join_time: 777, online_time: 888 },
]
export const searchFormSchema: FormSchema[] = [
  {
    field: 'project',
    label: '项目',
    component: 'Select',
    componentProps: {
      options: [
      ],
    },
    colProps: { span: 4 },
  },
  {
    field: 'status',
    label: '当前状态',
    component: 'Select',
    componentProps: {
      options: [
        { label: '在线', value: '在线' },
        { label: '离线', value: '离线' },
      ],
    },
    colProps: { span: 4 },
  },
  {
    field: 'model',
    label: '设备型号',
    component: 'Select',
    componentProps: {
      options: [
      ],
    },
    colProps: { span: 4 },
  },
  {
    field: 'sn',
    label: '设备SN',
    component: 'Input',
    colProps: { span: 6 },
  },
];