From cd93bf60c43f8e41e81cbc1d334ca65c48b2c29b Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Wed, 27 Mar 2024 18:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E5=88=86=E9=94=80?= =?UTF-8?q?=E5=95=86=E7=94=B3=E8=AF=B7=E8=BD=AC=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/promoter.js | 9 + src/router/modules/promoter.js | 9 + src/views/promoter/user/apply_formal.vue | 302 +++++++++++++++++++++++ src/views/promoter/user/index.vue | 214 +++++++++------- 4 files changed, 443 insertions(+), 91 deletions(-) create mode 100644 src/views/promoter/user/apply_formal.vue diff --git a/src/api/promoter.js b/src/api/promoter.js index a475388..c4e17d0 100644 --- a/src/api/promoter.js +++ b/src/api/promoter.js @@ -223,3 +223,12 @@ export function orderLogApi(id, data) { export function getChildrenOrderApi(id) { return request.get(`spread/order/children/${id}`) } + +// 分销 - 申请转正 - 列表 +export function promoterFormalList(data) { + return request.get('user/promoter/formal_list', data) +} +// 分销 - 申请转正 - 审核 +export function promoterFormalExamine(data) { + return request.get('user/promoter/formal_examine', data) +} diff --git a/src/router/modules/promoter.js b/src/router/modules/promoter.js index d8a6b13..275dbbd 100644 --- a/src/router/modules/promoter.js +++ b/src/router/modules/promoter.js @@ -30,6 +30,15 @@ const promoterRouter = }, component: () => import('@/views/promoter/user/index') }, + { + path: 'apply_formal', + name: 'AccountsUserApplyFormal', + meta: { + title: '分销转正申请', + noCache: true + }, + component: () => import('@/views/promoter/user/apply_formal') + }, { path: 'orderList', name: 'OrderList', diff --git a/src/views/promoter/user/apply_formal.vue b/src/views/promoter/user/apply_formal.vue new file mode 100644 index 0000000..328c3b9 --- /dev/null +++ b/src/views/promoter/user/apply_formal.vue @@ -0,0 +1,302 @@ + + + + + + + + + + + + + 搜索 + + + + + + + + + + + + {{ scope.row.user.nickname }} + {{ scope.row.user.uid }} + + + + + + + 审核中 + 已通过 + 已驳回 + + + + + + + + + + + + + + 通过 + 驳回 + + 查看详情 + + + + + + + + + + + + + + diff --git a/src/views/promoter/user/index.vue b/src/views/promoter/user/index.vue index 2520ae4..ad5c1f4 100644 --- a/src/views/promoter/user/index.vue +++ b/src/views/promoter/user/index.vue @@ -1,24 +1,28 @@ + - {{ item.text }} + {{ + item.text + }} + - - - + + + @@ -29,95 +33,56 @@ - - - + + + + - - + + + + + + {{ scope.row.nickname }} + + {{ scope.row.uid }} + + - + - 昵称:{{ scope.row.nickname }} - 电话:{{ scope.row.phone }} + {{ scope.row.brokerage ? scope.row.brokerage.brokerage_name : '' }} - - - - {{scope.row.brokerage ? scope.row.brokerage.brokerage_name : ''}} + + + 推广用户:{{ scope.row.spread_count || 0 }}人 + 推广订单:{{ scope.row.spread_pay_count || 0 }}单 + 推广金额:{{ scope.row.spread_pay_price || 0 }}元 + + + + + 佣金金额:{{ scope.row.total_brokerage_price || 0 }}元 + 已提现金额:{{ scope.row.total_extract_price || 0 }}元 + 未提现金额:{{ scope.row.brokerage_price || 0 }}元 + + + + + + + + + 申请中 + 已转正 + 已驳回 + + 未申请 - - - - - - - 推广人 @@ -147,7 +112,6 @@ /> - -