File tree Expand file tree Collapse file tree 6 files changed +20
-13
lines changed Expand file tree Collapse file tree 6 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ export interface MemberTerminalStatisticsRespVO {
58
58
export interface MemberCountRespVO {
59
59
/** 用户访问量 */
60
60
visitUserCount : string
61
- /** 新增用户数量 */
62
- createUserCount : number
61
+ /** 注册用户数量 */
62
+ registerUserCount : number
63
63
}
64
64
65
65
/** 会员注册数量 Response VO */
@@ -86,21 +86,21 @@ export const getMemberAnalyse = (params: MemberAnalyseReqVO) => {
86
86
// 按照省份,查询会员统计列表
87
87
export const getMemberAreaStatisticsList = ( ) => {
88
88
return request . get < MemberAreaStatisticsRespVO [ ] > ( {
89
- url : '/statistics/member/get- area-statistics-list'
89
+ url : '/statistics/member/area-statistics-list'
90
90
} )
91
91
}
92
92
93
93
// 按照性别,查询会员统计列表
94
94
export const getMemberSexStatisticsList = ( ) => {
95
95
return request . get < MemberSexStatisticsRespVO [ ] > ( {
96
- url : '/statistics/member/get- sex-statistics-list'
96
+ url : '/statistics/member/sex-statistics-list'
97
97
} )
98
98
}
99
99
100
100
// 按照终端,查询会员统计列表
101
101
export const getMemberTerminalStatisticsList = ( ) => {
102
102
return request . get < MemberTerminalStatisticsRespVO [ ] > ( {
103
- url : '/statistics/member/get- terminal-statistics-list'
103
+ url : '/statistics/member/terminal-statistics-list'
104
104
} )
105
105
}
106
106
Original file line number Diff line number Diff line change 1
1
import request from '@/config/axios'
2
2
3
+ /** 支付统计 */
4
+ export interface PaySummaryRespVO {
5
+ /** 充值金额,单位分 */
6
+ rechargePrice : number
7
+ }
8
+
3
9
/** 获取钱包充值金额 */
4
10
export const getWalletRechargePrice = async ( ) => {
5
- return await request . get < number > ( { url : `/statistics/pay/wallet-recharge-price ` } )
11
+ return await request . get < PaySummaryRespVO > ( { url : `/statistics/pay/summary ` } )
6
12
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export interface TradeTrendSummaryRespVO {
25
25
expensePrice : number
26
26
orderWalletPayPrice : number
27
27
brokerageSettlementPrice : number
28
- orderRefundPrice : number
28
+ afterSaleRefundPrice : number
29
29
}
30
30
31
31
/** 交易订单数量 Response VO */
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ const getProductData = async () => {
70
70
71
71
/** 查询钱包充值数据 */
72
72
const getWalletRechargeData = async () => {
73
- data .rechargePrice .value = await PayStatisticsApi .getWalletRechargePrice ()
73
+ const paySummary = await PayStatisticsApi .getWalletRechargePrice ();
74
+ data .rechargePrice .value = paySummary .rechargePrice
74
75
}
75
76
76
77
/**
Original file line number Diff line number Diff line change 32
32
<ComparisonCard
33
33
tag =" 今日"
34
34
title =" 新增用户"
35
- :value =" userComparison?.value?.createUserCount || 0"
36
- :reference =" userComparison?.reference?.createUserCount || 0"
35
+ :value =" userComparison?.value?.registerUserCount || 0"
36
+ :reference =" userComparison?.reference?.registerUserCount || 0"
37
37
/>
38
38
</el-col >
39
39
</el-row >
Original file line number Diff line number Diff line change 192
192
icon-bg-color =" text-blue-500"
193
193
prefix =" ¥"
194
194
:decimals =" 2"
195
- :value =" fenToYuan(trendSummary?.value?.orderRefundPrice || 0)"
195
+ :value =" fenToYuan(trendSummary?.value?.afterSaleRefundPrice || 0)"
196
196
:percent ="
197
197
calculateRelativeRate(
198
- trendSummary?.value?.orderRefundPrice ,
199
- trendSummary?.reference?.orderRefundPrice
198
+ trendSummary?.value?.afterSaleRefundPrice ,
199
+ trendSummary?.reference?.afterSaleRefundPrice
200
200
)
201
201
"
202
202
/>
You can’t perform that action at this time.
0 commit comments