From c8db06854720356a3f7114d4f84a4e8f2802ec84 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 4 Sep 2023 21:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BD=A3=EF=BC=9Auser=5Fspread=5Fmone?= =?UTF-8?q?y=20=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/member/brokerage.js | 10 ++ pages/users/user_spread_money/index.vue | 199 ++++++++++++------------ pages/users/user_spread_user/index.vue | 4 +- 3 files changed, 108 insertions(+), 105 deletions(-) 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 @@