From 34ce7f7ec512eaa42bf86b04ddf2e67c082ecdde Mon Sep 17 00:00:00 2001 From: owen Date: Fri, 8 Sep 2023 10:59:06 +0800 Subject: [PATCH] =?UTF-8?q?trade:=20=E5=88=86=E9=94=80=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/trade/brokerage/user/index.ts | 21 ++ src/views/mall/trade/brokerage/user/index.vue | 248 ++++++++++++++++++ 2 files changed, 269 insertions(+) create mode 100644 src/api/mall/trade/brokerage/user/index.ts create mode 100644 src/views/mall/trade/brokerage/user/index.vue diff --git a/src/api/mall/trade/brokerage/user/index.ts b/src/api/mall/trade/brokerage/user/index.ts new file mode 100644 index 00000000..ec46e9a8 --- /dev/null +++ b/src/api/mall/trade/brokerage/user/index.ts @@ -0,0 +1,21 @@ +import request from '@/config/axios' + +export interface BrokerageUserVO { + id: number + brokerageUserId: number + brokerageBindTime: Date + brokerageEnabled: boolean + brokerageTime: Date + brokeragePrice: number + frozenBrokeragePrice: number +} + +// 查询分销用户列表 +export const getBrokerageUserPage = async (params: any) => { + return await request.get({ url: `/trade/brokerage-user/page`, params }) +} + +// 查询分销用户详情 +export const getBrokerageUser = async (id: number) => { + return await request.get({ url: `/trade/brokerage-user/get?id=` + id }) +} diff --git a/src/views/mall/trade/brokerage/user/index.vue b/src/views/mall/trade/brokerage/user/index.vue new file mode 100644 index 00000000..70a97676 --- /dev/null +++ b/src/views/mall/trade/brokerage/user/index.vue @@ -0,0 +1,248 @@ + + +