import { BasicColumn, FormSchema } from '@/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '编号',
    dataIndex: 'num',
  },
  {
    title: '名称',
    dataIndex: 'name',
  },
  {
    title: '负责人',
    dataIndex: 'manager',
  },
  {
    title: '联系方式',
    dataIndex: 'phone',
  },
  {
    title: '地址',
    dataIndex: 'address',
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'key',
    label: '名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
