From 0582d41972cedcf4932348f64032cf0b9e43712c Mon Sep 17 00:00:00 2001 From: owen Date: Sun, 10 Sep 2023 23:30:43 +0800 Subject: [PATCH] =?UTF-8?q?trade:=20=E5=88=86=E9=94=80=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E5=8A=9F=E8=83=BD=EF=BC=9A=E6=8E=A8=E5=B9=BF?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/constants.ts | 13 ++ .../mall/trade/brokerage/record/index.vue | 6 + .../user/BrokerageOrderListDialog.vue | 155 ++++++++++++++++++ .../user/BrokerageUserListDialog.vue | 3 - src/views/mall/trade/brokerage/user/index.vue | 9 +- 5 files changed, 182 insertions(+), 4 deletions(-) create mode 100644 src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue diff --git a/src/utils/constants.ts b/src/utils/constants.ts index da2e9c3e..e7d10487 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -316,3 +316,16 @@ export const BrokerageUserTypeEnum = { name: '二级推广人' } } +/** + * 佣金记录业务类型枚举 + */ +export const BrokerageRecordBizTypeEnum = { + ORDER: { + type: 1, + name: '获得推广佣金' + }, + WITHDRAW: { + type: 2, + name: '提现申请' + } +} diff --git a/src/views/mall/trade/brokerage/record/index.vue b/src/views/mall/trade/brokerage/record/index.vue index 27c2eb92..f9cae4e1 100644 --- a/src/views/mall/trade/brokerage/record/index.vue +++ b/src/views/mall/trade/brokerage/record/index.vue @@ -65,6 +65,12 @@ + + + +