|
@@ -285,16 +285,20 @@
|
|
|
<el-tab-pane :label="t('modules.user.rechargeRecords')" name="recharges">
|
|
|
<el-skeleton v-if="state.loading.recharges" :rows="5" animated />
|
|
|
<el-table v-else class="sa-table" :data="state.recharges" stripe border>
|
|
|
- <el-table-column prop="orderNo" :label="t('modules.user.rechargeOrderNo')" min- sortable="custom">
|
|
|
+ <el-table-column prop="orderNo" :label="t('modules.user.rechargeOrderNo')" min-width="100"
|
|
|
+ sortable="custom">
|
|
|
<template #default="{ row }">
|
|
|
<span class="sa-table-line-1">{{ row.orderNo || '-' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="t('modules.user.rechargeChannel')" min-width="100" align="center">
|
|
|
+ <el-table-column :label="t('modules.user.rechargeChannel')" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <el-tag :type="getChannelType(row.channel)">
|
|
|
- {{ getChannelText(row.channel) }}
|
|
|
- </el-tag>
|
|
|
+ {{ row.channelName || '-' }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column :label="t('modules.user.rechargeMethod')" min-width="100" align="center">
|
|
|
+ <template #default="{ row }">
|
|
|
+ {{ row.methodName || '-' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column :label="t('modules.user.currency')" min-width="80" align="center">
|
|
@@ -334,7 +338,8 @@
|
|
|
<el-tab-pane :label="t('modules.user.withdrawRecords')" name="withdraws">
|
|
|
<el-skeleton v-if="state.loading.withdraws" :rows="5" animated />
|
|
|
<el-table v-else class="sa-table" :data="state.withdraws" stripe border>
|
|
|
- <el-table-column prop="orderNo" :label="t('modules.user.withdrawOrderNo')" min- sortable="custom">
|
|
|
+ <el-table-column prop="orderNo" :label="t('modules.user.withdrawOrderNo')" min-width="150"
|
|
|
+ sortable="custom">
|
|
|
<template #default="{ row }">
|
|
|
<span class="sa-table-line-1">{{ row.orderNo || '-' }}</span>
|
|
|
</template>
|
|
@@ -346,11 +351,14 @@
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="t('modules.user.withdrawChannel')" align="center">
|
|
|
+ <el-table-column :label="t('modules.withdraw.channel')" min-width="130" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <el-tag :type="getChannelType(row.channel)">
|
|
|
- {{ getChannelText(row.channel) }}
|
|
|
- </el-tag>
|
|
|
+ {{ row.channel || '-' }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column :label="t('modules.withdraw.method')" min-width="130" align="center">
|
|
|
+ <template #default="{ row }">
|
|
|
+ {{ row.bank || '-' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column :label="t('modules.user.currency')" min-width="80" align="center">
|
|
@@ -368,11 +376,6 @@
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="t('modules.user.paymentBank')" min- align="center">
|
|
|
- <template #default="{ row }">
|
|
|
- {{ row.bank || '-' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
<el-table-column :label="t('modules.user.accountName')" min-width="130" align="center">
|
|
|
<template #default="{ row }">
|
|
|
{{ row.bankAccountName || '-' }}
|
|
@@ -562,8 +565,6 @@ const getStatusType = (type, value) => {
|
|
|
};
|
|
|
|
|
|
// 财务相关工具函数(保持不变,因为这些是工具函数而非状态函数)
|
|
|
-const getChannelText = financeUtils.getChannelText;
|
|
|
-const getChannelType = financeUtils.getChannelType;
|
|
|
const getCurrencyText = financeUtils.getCurrencyText;
|
|
|
const getAccountTypeText = financeUtils.getAccountTypeText;
|
|
|
const getBizTypeText = financeUtils.getBizTypeText;
|
|
@@ -626,7 +627,7 @@ const fetchTabData = async (tabType, page = 1) => {
|
|
|
response = await financeApi.commission.list(
|
|
|
{
|
|
|
...requestData,
|
|
|
- userPhone: state.userDetail.phoneNo, // 使用用户手机号筛选
|
|
|
+ phoneNo: state.userDetail.phoneNo, // 使用用户手机号筛选
|
|
|
},
|
|
|
false,
|
|
|
);
|