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 @@ + + +