/**
 * @description: 搜索配置
 */
export const search = [
  //存款账户
  {
    label: '转账账户',
    prop: 'transferAccount',
    type: 'input' as const,
    placeholder: '请输入转账账户',
  },
  //级别
  {
    label: '转账类型',
    prop: 'type',
    type: 'select' as const,
    placeholder: '请选择转账类型',
    options: [
      { label: '客户', value: '1' },
      { label: '三方', value: '2' },
    ],
  },
  //选择时间
  {
    label: '时间',
    prop: 'transferTime',
    type: 'date' as const,
    dateType: 'datetimerange' as const,
    placeholder: '请选择转账时间',
    format: 'YYYY-MM-DD HH:mm:ss',
    valueFormat: 'YYYY-MM-DD HH:mm:ss',
    startPlaceholder: '开始时间',
    endPlaceholder: '结束时间',
  },
]

// 表格配置
export const tableColumns = [
    //序号
    { label: '序号', prop: 'index' },
    //转出账户
    { label: '转出账户', prop: 'transferAccount' },
    //所属代理
    { label: '所属代理', prop: 'agentName' },
    //转入账号
    { label: '转入账号', prop: 'transferAccountName' },
    //转账类型
    { label: '转账类型', prop: 'transferType' },
    //转账金额
    { label: '转账金额', prop: 'transferAmount' },
    // 到账金额
    { label: '到账金额', prop: 'arrivalAmount' },
]
