import dayjs from 'dayjs';

export const columns = [
    {
      title: 'ID',
      dataIndex: 'id',
      ifShow: false,
    },
    {
      title: '标题名称',
      dataIndex: 'title',
      width: 100,
    },
    {
      title: '样式名称',
      dataIndex: 'styleName',
      width: 100,
    },
    {
      title: '文件路径',
      dataIndex: 'sldPath',
      ifShow: false,
      width: 80,
    },
    {
      title: '创建时间',
      dataIndex: 'createDate',
      width: 120,
    },
];

export const searchFormSchema = [
  {
    field: 'Title',
    label: '标题名称',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'StyleName',
    label: '样式名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];  