From 73f8cef3b44569f48eef2c2fb2bef3b87864a36f Mon Sep 17 00:00:00 2001 From: owen Date: Sun, 3 Sep 2023 23:04:20 +0800 Subject: [PATCH] =?UTF-8?q?member:=20=E4=BD=A3=E9=87=91=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/member/brokerage/record/index.ts | 11 ++ src/utils/dict.ts | 2 + src/views/member/brokerage/record/index.vue | 156 ++++++++++++++++++++ 3 files changed, 169 insertions(+) create mode 100644 src/api/member/brokerage/record/index.ts create mode 100644 src/views/member/brokerage/record/index.vue diff --git a/src/api/member/brokerage/record/index.ts b/src/api/member/brokerage/record/index.ts new file mode 100644 index 00000000..33b6ab18 --- /dev/null +++ b/src/api/member/brokerage/record/index.ts @@ -0,0 +1,11 @@ +import request from '@/config/axios' + +// 查询佣金记录列表 +export const getMemberBrokerageRecordPage = async (params: any) => { + return await request.get({ url: `/member/member-brokerage-record/page`, params }) +} + +// 查询佣金记录详情 +export const getMemberBrokerageRecord = async (id: number) => { + return await request.get({ url: `/member/member-brokerage-record/get?id=` + id }) +} diff --git a/src/utils/dict.ts b/src/utils/dict.ts index fce46f95..2a7bfd12 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -147,6 +147,8 @@ export enum DICT_TYPE { BROKERAGE_BIND_MODE = 'brokerage_bind_mode', // 分销关系绑定模式 BROKERAGE_BANK_NAME = 'brokerage_bank_name', // 佣金提现银行 BROKERAGE_WITHDRAW_TYPE = 'brokerage_withdraw_type', // 佣金冻结时间 + BROKERAGE_RECORD_BIZ_TYPE = 'brokerage_record_biz_type', // 佣金业务类型 + BROKERAGE_RECORD_STATUS = 'brokerage_record_status', // 佣金状态 // ========== MALL - 商品模块 ========== PRODUCT_UNIT = 'product_unit', // 商品单位 diff --git a/src/views/member/brokerage/record/index.vue b/src/views/member/brokerage/record/index.vue new file mode 100644 index 00000000..f9c8400a --- /dev/null +++ b/src/views/member/brokerage/record/index.vue @@ -0,0 +1,156 @@ + + +