|
@@ -14,6 +14,9 @@
|
|
|
<template #status="{ record }">
|
|
|
<div>{{ handleStatusTxt(record.status) }}</div>
|
|
|
</template>
|
|
|
+ <template #puyStatus="{ record }">
|
|
|
+ <a-tag :color="record.payStatus=='SUCCESS'?'#00b42a':''">{{ record .puyStatus}}</a-tag>
|
|
|
+ </template>
|
|
|
<template #image="{ record }">
|
|
|
<a-image width="60" height="60" :src="record.certificateImg" :preview-props="{
|
|
|
actionsLayout: ['rotateRight', 'zoomIn', 'zoomOut'],
|
|
@@ -72,9 +75,10 @@ const getTopUpRecordListFc = async (item) => {
|
|
|
let puyType = await Getdictionary('puyType')
|
|
|
res = await getAdiroePuyList(param)
|
|
|
tableData.value = (res.data?.records || []).map(res => {
|
|
|
- res.payStatus = puyType.filter(item => item.value == res.payStatus)[0]?.label
|
|
|
+ res.puyStatus = puyType.filter(item => item.value == res.payStatus)[0]?.label
|
|
|
return res
|
|
|
})
|
|
|
+
|
|
|
pagination.value.total = res.data.total;
|
|
|
};
|
|
|
|