| | |
| | | @click=";(queryParam.pageNum = 1), getlist()" |
| | | >查询 |
| | | </a-button> |
| | | <a-button type="primary" icon="vertical-align-bottom" style="margin-left: 8px" @click="getexport" |
| | | <a-button |
| | | type="primary" |
| | | icon="vertical-align-bottom" |
| | | style="margin-left: 8px" |
| | | @click="getexport" |
| | | >导出搜索数据 |
| | | </a-button> |
| | | </span> |
| | |
| | | width: 180, |
| | | customRender: (text, row, index) => { |
| | | return `${row.nickName}(${row.userId})` |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | title: '订单ID', |
| | | dataIndex: 'id', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '代理id', |
| | | dataIndex: 'agentId', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '客户电话', |
| | | dataIndex: 'userPhone', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '代理ID', |
| | | dataIndex: 'agentId', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '应转金额', |
| | |
| | | align: 'center', |
| | | customRender: (text, row, index) => { |
| | | return row.withAmt - row.withFee |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | title: '出金金额', |
| | | dataIndex: 'withAmt', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '手续费', |
| | | dataIndex: 'withFee', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '状态', |
| | | dataIndex: 'withStatus', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'withStatus' }, |
| | | scopedSlots: { customRender: 'withStatus' } |
| | | }, |
| | | { |
| | | title: '提现银行', |
| | | dataIndex: 'bankName', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '提现支行', |
| | | dataIndex: 'bankAddress', |
| | | align: 'center', |
| | | width: 200, |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '银行号码', |
| | | dataIndex: 'bankNo', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '原因', |
| | | dataIndex: 'withMsg', |
| | | align: 'center', |
| | | width: 200, |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '申请时间', |
| | |
| | | width: 180, |
| | | customRender: (text, row, index) => { |
| | | return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '' |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | title: '出金时间', |
| | |
| | | width: 180, |
| | | customRender: (text, row, index) => { |
| | | return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '' |
| | | }, |
| | | } |
| | | }, |
| | | |
| | | { |
| | |
| | | align: 'center', |
| | | width: 180, |
| | | fixed: 'right', |
| | | scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | ], |
| | | // 表头 |
| | | pagination: { |
| | |
| | | pageSizeOptions: ['10', '20', '50', '100'], // 每页中显示的数据 |
| | | onShowSizeChange: (current, pageSize) => this.onSizeChange(current, pageSize), // 改变每页数量时更新显示 |
| | | onChange: (page, pageSize) => this.onPageChange(page, pageSize), // 点击页码事件 |
| | | showTotal: (total) => `共有 ${total} 条数据`, // 分页中显示总的数据 |
| | | showTotal: (total) => `共有 ${total} 条数据` // 分页中显示总的数据 |
| | | }, |
| | | loading: false, |
| | | queryParam: { |
| | |
| | | userId: '', |
| | | realName: '', |
| | | beginTime: '', |
| | | endTime: '', |
| | | endTime: '' |
| | | }, |
| | | datalist: [], |
| | | agentlist: [], |
| | |
| | | |
| | | agentqueryParam: { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | }, |
| | | pageSize: 100 |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | userId: '', |
| | | realName: '', |
| | | beginTime: '', |
| | | endTime: '', |
| | | endTime: '' |
| | | } |
| | | this.times = [] |
| | | }, |
| | |
| | | this.queryParam.pageNum = current |
| | | this.queryParam.pageSize = pageSize |
| | | this.getlist() |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |