export default [
  {
    title: '发布时间',
    align: 'center',
    dataIndex: 'created_at',
    scopedSlots: { customRender: 'created_at' },
  },
  {
    title: '产品名称',
    align: 'center',
    scopedSlots: { customRender: 'name' },
  },
  {
    title: '产品分类',
    align: 'center',
    dataIndex: 'loan_type',
    filters: [
      { text: '企业', value: '1' },
      { text: '个人', value: '2' },
    ],
    onFilter: (value: any, record: any) => { return record.loan_type == value},
    scopedSlots: { customRender: 'loan_type' },
  },
  {
    title: '贷款期限（月）',
    align: 'center',
    scopedSlots: { customRender: 'date' },
  },
  {
    title: '参考利率（%）',
    align: 'center',
    scopedSlots: { customRender: 'rate' },
  },
  {
    title: '贷款额度（万元）',
    align: 'center',
    scopedSlots: { customRender: 'amount' },
  },
  {
    title: '担保方式',
    align: 'center',
    dataIndex: 'guarantee_type',
    scopedSlots: { customRender: 'guarantee_type' },
  },
  {
    title: '产品介绍',
    align: 'center',
    scopedSlots: { customRender: 'products' },
  },
  {
    title: '产品特点',
    align: 'center',
    scopedSlots: { customRender: 'features' },
  },
  {
    title: '适用客户',
    align: 'center',
    scopedSlots: { customRender: 'apply_to' },
  },
  {
    title: '申请条件',
    align: 'center',
    scopedSlots: { customRender: 'apply_cond' },
  },
  {
    title: '提交条件',
    align: 'center',
    scopedSlots: { customRender: 'submit_cond' },
  },
  {
    title: '状态',
    align: 'center',
    dataIndex: 'product_status',
    scopedSlots: { customRender: 'product_status' },
  },
  {
    title: '操作',
    align: 'center',
    scopedSlots: { customRender: 'action' },
  },
]