diff --git a/api/member/brokerage.js b/api/member/brokerage.js index b232f709..1abbf1f2 100644 --- a/api/member/brokerage.js +++ b/api/member/brokerage.js @@ -4,3 +4,13 @@ import request from "@/utils/request.js"; export function getBrokerageUserSummary() { return request.get('app-api/member/brokerage-user/get-summary'); } + +// 获得分销提现分页记录 +export function getBrokerageWithdrawPage(data) { + return request.get('app-api/member/brokerage-withdraw/page', data); +} + +// 获得分销记录分页 +export function getBrokerageRecordPage(data) { + return request.get('app-api/member/brokerage-record/page', data); +} diff --git a/pages/users/user_spread_money/index.vue b/pages/users/user_spread_money/index.vue index e4fe6caf..0fb86a56 100644 --- a/pages/users/user_spread_money/index.vue +++ b/pages/users/user_spread_money/index.vue @@ -5,69 +5,57 @@ {{name}} - {{extractCount}} - {{commissionCount}} + {{ fen2yuan(spreadInfo.withdrawBrokeragePrice, 0) }} + {{ fen2yuan(spreadInfo.brokeragePrice, 0) }} - - - + + + + - {{item.date}} - + - {{child.status | statusFilter}} - {{child.createTime}} + {{ item.statusName }} + {{ formatDate(item.createTime) }} - +{{child.extractPrice}} - - -{{child.extractPrice}} - + +{{ fen2yuan(item.price) }} - + - - - + + + + - {{item.date}} - + - {{child.title}} - {{child.updateTime}} + {{ item.title }} + {{ formatDate(item.createTime) }} - +{{child.price}} + +{{item.price}} - -{{child.price}} + {{item.price}} - + @@ -77,69 +65,54 @@