import { BasicColumn, FormSchema } from '@/components/Table';
import { h } from 'vue';
import { Tag } from 'ant-design-vue';

export const columns: BasicColumn[] = [
  {
    title: '表名',
    dataIndex: 'tableName',
  },
  {
    title: '备注',
    dataIndex: 'description',
  },
  {
    title: '状态',
    dataIndex: 'stateSlot',
    key: 'stateSlot',
  },
];
export const searchFormSchema: FormSchema[] = [
  {
    field: 'key',
    label: '关键字',
    component: 'Input',
    colProps: { span: 8 },
  },
];

export const importColumns: BasicColumn[] = [
  {
    title: '表名',
    dataIndex: 'name',
  },
  {
    title: '说明',
    dataIndex: 'description',
  },
];
