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