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