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

export const columns: BasicColumn[] = [
  {
    title: '编码',
    dataIndex: 'id',
  },
  {
    title: '机构名称',
    dataIndex: 'name',
  },
  {
    title: '上级ID',
    dataIndex: 'pid',
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    label: '姓名',
    field: 'realname',
    component: 'Input',
    colProps: { span: 6 },
  },
  {
    label: '工号',
    field: 'workNo',
    component: 'Input',
    colProps: { span: 6 },
  },
];
