From 56ed57ccadc4f5960cf363a7b61a81c9f9fbbd3c Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Wed, 27 Dec 2023 11:46:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E6=9D=83=E9=87=8D?= =?UTF-8?q?=E5=80=BC=E7=AE=A1=E7=90=86=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/platformCommission.js | 5 + src/router/modules/marketing.js | 11 +- .../platformCommission/weightValue/index.vue | 230 ++++++++++++++++++ 3 files changed, 245 insertions(+), 1 deletion(-) create mode 100644 src/views/marketing/platformCommission/weightValue/index.vue diff --git a/src/api/platformCommission.js b/src/api/platformCommission.js index a1df229..f5338cf 100644 --- a/src/api/platformCommission.js +++ b/src/api/platformCommission.js @@ -12,3 +12,8 @@ export function platformCommissionRecordTitle(data) { export function platformCommissionRecordList(data) { return request.get(`marketing/platformCommission/record_list`, data) } +// 平台抽成 - 权重值持有列表&权重值变更记录 +export function platformCommissionWeightValue(data,getType = 'hold_list') { + // hold_list=持有列表;change_record=变更记录 + return request.get(`marketing/platformCommission/weight_value_${getType}`, data) +} diff --git a/src/router/modules/marketing.js b/src/router/modules/marketing.js index a23708f..00b46b5 100644 --- a/src/router/modules/marketing.js +++ b/src/router/modules/marketing.js @@ -465,6 +465,15 @@ const marketingRouter = { }, component: () => import('@/views/marketing/platformCommission/commissionRecord/index') }, + { + path: 'weightValue', + name: `platformCommissionWeightValue`, + meta: { + title: '权重值管理', + noCache: true + }, + component: () => import('@/views/marketing/platformCommission/weightValue/index') + }, { path: 'config', name: `platformCommissionConfig`, @@ -473,7 +482,7 @@ const marketingRouter = { noCache: true }, component: () => import('@/views/marketing/platformCommission/config/index') - } + }, ] } ] diff --git a/src/views/marketing/platformCommission/weightValue/index.vue b/src/views/marketing/platformCommission/weightValue/index.vue new file mode 100644 index 0000000..77cb0a5 --- /dev/null +++ b/src/views/marketing/platformCommission/weightValue/index.vue @@ -0,0 +1,230 @@ + + + + +