export const columns = [
    {
      title: '资源类型',
      dataIndex: 'resourceNumber',
      width: 100,
    },
    {
        title: '资源名称',
        dataIndex: 'resourceName',
        width: 100,
      },
      {
        title: '发布人',
        dataIndex: 'publisher',
        width: 100,
      },
      {
        title: '发布时间',
        dataIndex: 'publisherTime',
        width: 100,
      },
      {
        title: '审核人',
        dataIndex: 'reviewer',
        width: 100,
      },
      {
        title: '审核时间',
        dataIndex: 'reviewTime',
        width: 100,
      },
      {
        title: '审核状态',
        dataIndex: 'auditStatus',
        width: 100,
      },
      {
        title: '审核意见',
        dataIndex: 'auditStatus',
        width: 100,
      },
];

export const searchFormSchema = [
  {
    field: 'resourceName',
    label: '关键字',
    component: 'Input',
    colProps: { span: 6 },
    componentProps: {
      maxLength: 255,
    },
  },
  {
    field: 'auditStatus',
    label: '审核状态',
    component: 'Select',
    componentProps: {
      options: [
        { label: '审核不通过', value: 2 },
        { label: '审核中', value: 1 },
        { label: '审核通过', value: 0 },
      ],
    },
    colProps: { span: 6 },
  },
]