import type { FormItem } from '@/components/search-form/types'

export const searchFormConfig: FormItem[] = [
  {
    field: 'keyword',
    label: '关键词',
    type: 'input',
    placeholder: '请输入楼层名称或编码',
  },
  {
    field: 'datacenter_id',
    label: '数据中心',
    type: 'select',
    placeholder: '请选择数据中心',
    options: [],
  },
  {
    field: 'status',
    label: '状态',
    type: 'select',
    placeholder: '请选择状态',
    options: [
      { label: '规划中', value: 'planning' },
      { label: '建设中', value: 'construction' },
      { label: '运营中', value: 'operating' },
      { label: '维护中', value: 'maintenance' },
      { label: '已下线', value: 'offline' },
    ],
  },
]
