From 6dd08874a600e9517bbf90262222ec9e21aa0561 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 19 Aug 2025 19:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Ebdcenter=20=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/teamBill.js | 14 + src/router/index.js | 10 + src/views/AgencyCenterView.vue | 2 +- src/views/BDCenterView.vue | 578 +++++++++++++++++++++++++++++++++ src/views/BDSettingView.vue | 213 ++++++++++++ src/views/HostCenterView.vue | 11 +- 6 files changed, 823 insertions(+), 5 deletions(-) create mode 100644 src/views/BDCenterView.vue create mode 100644 src/views/BDSettingView.vue diff --git a/src/api/teamBill.js b/src/api/teamBill.js index 74c2817..7cc37b6 100644 --- a/src/api/teamBill.js +++ b/src/api/teamBill.js @@ -161,6 +161,20 @@ export function getApplyRecord(userId, status) { return get(`/team/user/apply/record?teamId=${userId}&status=${status}`) } +/** + * BD团队当月总目标 + */ +export function getAgentMonthTarget() { + return get(`/team/bd/agent-count`) +} + +/** + * BD团队上个月总目标 + */ +export function getAgentMonthLastTarget() { + return get(`/team/bd/agent-count-last`) +} + /** * 格式化显示状态 * @param {string} status - 状态值 diff --git a/src/router/index.js b/src/router/index.js index 66527f7..ab53484 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -94,6 +94,16 @@ const router = createRouter({ name: 'agency-center', component: () => import('../views/AgencyCenterView.vue'), }, + { + path: '/bd-center', + name: 'bd-center', + component: () => import('../views/BDCenterView.vue'), + }, + { + path: '/bd-setting', + name: 'bd-setting', + component: () => import('../views/BDSettingView.vue'), + }, { path: '/not_app', name: 'not-app', diff --git a/src/views/AgencyCenterView.vue b/src/views/AgencyCenterView.vue index 72ca239..0b8554f 100644 --- a/src/views/AgencyCenterView.vue +++ b/src/views/AgencyCenterView.vue @@ -140,7 +140,7 @@