export default [
  {
    title: '操作时间',
    align: 'center',
    dataIndex: 'update_at',
    scopedSlots: { customRender: 'update_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',
    dataIndex: 'date',
    // scopedSlots: { customRender: 'date' },
  },
  {
    title: '最低参考利率（%）',
    align: 'center',
    dataIndex: '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' },
  },
]