From 9a67e86658a56e69e8199b3fc5f097ff882146cc Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Fri, 26 Jan 2024 21:14:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=20-=20=E4=BB=A3=E7=90=86=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=20-=20=E4=BB=A3=E7=90=86=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/marketing.js | 4 + src/router/modules/marketing.js | 19 +- src/views/marketing/agent/agent/index.vue | 4 +- .../marketing/agent/commission/index.vue | 290 ++++++++++++++++++ src/views/marketing/agent/config/index.vue | 26 ++ 5 files changed, 340 insertions(+), 3 deletions(-) create mode 100644 src/views/marketing/agent/commission/index.vue create mode 100644 src/views/marketing/agent/config/index.vue diff --git a/src/api/marketing.js b/src/api/marketing.js index 604574e..118c930 100644 --- a/src/api/marketing.js +++ b/src/api/marketing.js @@ -769,6 +769,10 @@ export function agentList(data) { return request.get(`marketing/agent/list`,data) } +// 代理中心 - 佣金明细 +export function commissionList(data) { + return request.get(`marketing/agent/commission_list`,data) +} diff --git a/src/router/modules/marketing.js b/src/router/modules/marketing.js index 50e76f7..0e030ce 100644 --- a/src/router/modules/marketing.js +++ b/src/router/modules/marketing.js @@ -505,7 +505,24 @@ const marketingRouter = }, component: () => import('@/views/marketing/agent/agent/index') }, - + { + path: 'commission', + name: `agentCommission`, + meta: { + title: '基本配置', + noCache: true + }, + component: () => import('@/views/marketing/agent/commission/index') + }, + { + path: 'config', + name: `agentConfig`, + meta: { + title: '基本配置', + noCache: true + }, + component: () => import('@/views/marketing/agent/config/index') + }, ] diff --git a/src/views/marketing/agent/agent/index.vue b/src/views/marketing/agent/agent/index.vue index 0b18c49..27ab657 100644 --- a/src/views/marketing/agent/agent/index.vue +++ b/src/views/marketing/agent/agent/index.vue @@ -217,7 +217,7 @@ export default { display: inline-flex; flex-direction: row; flex-wrap: nowrap; - justify-content: center; + justify-content: flex-start; align-items: center; .user-avatar{ height: var(--user-content-height-); @@ -254,7 +254,7 @@ export default { display: inline-flex; flex-direction: row; flex-wrap: nowrap; - justify-content: center; + justify-content: flex-start; align-items: center; .user-id{ color: #fff; diff --git a/src/views/marketing/agent/commission/index.vue b/src/views/marketing/agent/commission/index.vue new file mode 100644 index 0000000..d50721a --- /dev/null +++ b/src/views/marketing/agent/commission/index.vue @@ -0,0 +1,290 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.userOrder.title}} + {{ scope.row.userOrder.order_sn}} + + + + + + + + + + + + {{ scope.row.staff.nickname }} + {{ scope.row.staff.uid }} + + + {{ scope.row.staff_brokerage || 0.00 }} + + + + + + + + + + + + + + {{ scope.row.store.nickname }} + {{ scope.row.store.uid }} + + + {{ scope.row.store_brokerage || 0.00 }} + + + + + + + + + + + + + + {{ scope.row.area.nickname }} + {{ scope.row.area.uid }} + + + {{ scope.row.area_brokerage || 0.00 }} + + + + + + + + + + + + + + {{ scope.row.areaStore.nickname }} + {{ scope.row.areaStore.uid }} + + + {{ scope.row.area_store_brokerage || 0.00 }} + + + + + + + + + + + + + + {{ scope.row.delivery.nickname }} + {{ scope.row.delivery.uid }} + + + {{ scope.row.delivery_brokerage || 0.00 }} + + + + + + + + + + + + + + {{ scope.row.province.nickname }} + {{ scope.row.province.uid }} + + + {{ scope.row.province_brokerage || 0.00 }} + + + + + + + + + + + + + + + + + + + diff --git a/src/views/marketing/agent/config/index.vue b/src/views/marketing/agent/config/index.vue new file mode 100644 index 0000000..c8e3c22 --- /dev/null +++ b/src/views/marketing/agent/config/index.vue @@ -0,0 +1,26 @@ + + + + 配置信息 + + + + + + +