From 9117f565336e0b9ba55f12bb7adccf0581dd6108 Mon Sep 17 00:00:00 2001 From: owen Date: Sun, 10 Sep 2023 22:32:38 +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?=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 2aa372d8f4319959fb6a4b660034c9905668562e) --- src/utils/constants.ts | 17 ++ .../user/BrokerageUserListDialog.vue | 145 ++++++++++++++++++ src/views/mall/trade/brokerage/user/index.vue | 11 +- 3 files changed, 170 insertions(+), 3 deletions(-) create mode 100644 src/views/mall/trade/brokerage/user/BrokerageUserListDialog.vue diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 022d308c..da2e9c3e 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -299,3 +299,20 @@ export const BrokerageEnabledConditionEnum = { name: '指定分销' } } +/** + * 分销用户类型枚举 + */ +export const BrokerageUserTypeEnum = { + ALL: { + type: 0, + name: '全部' + }, + FIRST: { + type: 1, + name: '一级推广人' + }, + SECOND: { + type: 2, + name: '二级推广人' + } +} diff --git a/src/views/mall/trade/brokerage/user/BrokerageUserListDialog.vue b/src/views/mall/trade/brokerage/user/BrokerageUserListDialog.vue new file mode 100644 index 00000000..6e9e492a --- /dev/null +++ b/src/views/mall/trade/brokerage/user/BrokerageUserListDialog.vue @@ -0,0 +1,145 @@ + + + diff --git a/src/views/mall/trade/brokerage/user/index.vue b/src/views/mall/trade/brokerage/user/index.vue index aaa9326d..fa72caa1 100644 --- a/src/views/mall/trade/brokerage/user/index.vue +++ b/src/views/mall/trade/brokerage/user/index.vue @@ -57,10 +57,10 @@ +