统计:Review修改

This commit is contained in:
owen
2023-10-16 22:03:36 +08:00
parent 7b9ea62e6b
commit cd4b4cd322
6 changed files with 20 additions and 13 deletions

View File

@ -70,7 +70,8 @@ const getProductData = async () => {
/** 查询钱包充值数据 */
const getWalletRechargeData = async () => {
data.rechargePrice.value = await PayStatisticsApi.getWalletRechargePrice()
const paySummary = await PayStatisticsApi.getWalletRechargePrice();
data.rechargePrice.value = paySummary.rechargePrice
}
/**

View File

@ -32,8 +32,8 @@
<ComparisonCard
tag="今日"
title="新增用户"
:value="userComparison?.value?.createUserCount || 0"
:reference="userComparison?.reference?.createUserCount || 0"
:value="userComparison?.value?.registerUserCount || 0"
:reference="userComparison?.reference?.registerUserCount || 0"
/>
</el-col>
</el-row>

View File

@ -192,11 +192,11 @@
icon-bg-color="text-blue-500"
prefix="¥"
:decimals="2"
:value="fenToYuan(trendSummary?.value?.orderRefundPrice || 0)"
:value="fenToYuan(trendSummary?.value?.afterSaleRefundPrice || 0)"
:percent="
calculateRelativeRate(
trendSummary?.value?.orderRefundPrice,
trendSummary?.reference?.orderRefundPrice
trendSummary?.value?.afterSaleRefundPrice,
trendSummary?.reference?.afterSaleRefundPrice
)
"
/>