...
|
...
|
@@ -63,6 +63,9 @@ export default function() { |
|
|
key: 'createTime',
|
|
|
align: 'center',
|
|
|
render(h, params) {
|
|
|
if (!params.row.createTime) {
|
|
|
return '';
|
|
|
}
|
|
|
const time = moment.unix(params.row.createTime);
|
|
|
return (
|
|
|
<div>
|
...
|
...
|
@@ -90,18 +93,18 @@ export default function() { |
|
|
{
|
|
|
title: '成功金额(元)',
|
|
|
key: 'successAmount',
|
|
|
align: 'center'
|
|
|
align: 'center',
|
|
|
},
|
|
|
{
|
|
|
title: '提现状态',
|
|
|
key: 'status',
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
const row = params.row;
|
|
|
const as = row.status;
|
|
|
const asText = as === 2 ? `${withdrawStatus[row.status]}(${row.rejectReason})` : withdrawStatus[as];
|
|
|
row.lineIndex = params.index;
|
|
|
return <p class={{ 'high-light': as === 2 }}>{asText}</p>;
|
|
|
if (!params.row.status) {
|
|
|
return '';
|
|
|
}
|
|
|
const withdrawStatusText = withdrawStatus[params.row.status] ? withdrawStatus[params.row.status] : '';
|
|
|
return <div>{withdrawStatusText}</div>;
|
|
|
},
|
|
|
className: 'status-column',
|
|
|
},
|
...
|
...
|
|