From f83f1d9893ed3997007ad57c8b676a08c234ca19 Mon Sep 17 00:00:00 2001 From: woody Date: Thu, 3 Jul 2025 15:12:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(statistics):=20=E7=A7=BB=E9=99=A4=E7=9B=B4?= =?UTF-8?q?=E6=8E=A8=E7=BB=9F=E8=AE=A1=EF=BC=8C=E5=9B=A2=E9=98=9F=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=20=E7=9C=9F=E5=AE=9E=E5=A5=96=E8=A1=94?= =?UTF-8?q?=E5=88=86=E6=9E=90=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=E5=88=97=E8=A1=A8=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E9=A1=BA=E5=BA=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product.js | 10 +- src/api/statistics.js | 36 +- src/router/index.js | 28 - src/views/information/member/index.vue | 43 +- src/views/information/teamInfo/index.vue | 1159 --------------------- src/views/statistics/awardAnalysis.vue | 468 --------- src/views/statistics/directStatistics.vue | 340 ------ 7 files changed, 26 insertions(+), 2058 deletions(-) delete mode 100644 src/views/information/teamInfo/index.vue delete mode 100644 src/views/statistics/awardAnalysis.vue delete mode 100644 src/views/statistics/directStatistics.vue diff --git a/src/api/product.js b/src/api/product.js index 06407a0..9b4cfcc 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -677,14 +677,8 @@ export function repurchaseType(params) { params }) } -// 团队信息 -export function memberTeamInfo(params) { - return request({ - url: '/member/manager/member/member-team-info', - method: 'get', - params - }) -} + + // 计算商品业绩 export function computePrice(data) { return request({ diff --git a/src/api/statistics.js b/src/api/statistics.js index 3e7a050..4f4bd54 100644 --- a/src/api/statistics.js +++ b/src/api/statistics.js @@ -18,24 +18,6 @@ export function getUmbrellaAwardsList(params) { }) } -// 真实奖衔分析 -export function getUmbrellaAnalysisList(params) { - return request({ - url: '/report/manager/member-awards/analysis-list', - method: 'get', - params - }) -} - -// 真实奖衔分析穿透 -export function getUmbrellaAnalysisDetailList(params) { - return request({ - url: '/report/manager/member-awards/analysis-details-list', - method: 'get', - params - }) -} - // 安置反查 export function getPlaceCheckList(data) { return request({ @@ -142,14 +124,7 @@ export function getShippingSummaryDetail(params) { params }) } -// 直推统计列表 -export function directPushStatList(params) { - return request({ - url: '/report/manager/member-awards/directPushStatList', - method: 'get', - params - }) -} + // 会员订单分布统计 export function memberOrderScatter(params) { return request({ @@ -556,14 +531,7 @@ export function getProductSalesStat(params) { params }) } -// 晋升方式 -export function getUpListList(params) { - return request({ - url: '/system/pub/enums/upgradeType', - method: 'get', - params - }) -} + // 专区商品销量统计 export function waresSales(params) { return request({ diff --git a/src/router/index.js b/src/router/index.js index b258f9c..0a91ef2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -132,22 +132,6 @@ export const constantRoutes = [ ] }, - { - path: 'teamInfo', - name: 'TeamInfo', - meta: { title: '团队信息' }, - component: ParentView, - redirect: 'teamInfo/index', - children: [ - { - path: 'teamInfo', - name: 'TeamInfo', - component: () => import('@/views/information/teamInfo/index'), - meta: { title: '团队信息' } - } - - ] - }, { path: 'realInfo', name: 'RealInfo', @@ -2221,12 +2205,6 @@ export const constantRoutes = [ component: () => import('@/views/statistics/realPerAddAwards'), meta: { title: '真实业绩新增奖衔' } }, - { - path: 'awardAnalysis', - name: 'AwardAnalysis', - component: () => import('@/views/statistics/awardAnalysis'), - meta: { title: '真实奖衔分析' } - }, { path: 'levelUpRecords', name: 'LevelUpRecords', @@ -2270,12 +2248,6 @@ export const constantRoutes = [ component: () => import('@/views/statistics/reportSummary'), meta: { title: '报单汇总' } }, - { - path: 'directStatistics', - name: 'DirectStatistics', - component: () => import('@/views/statistics/directStatistics'), - meta: { title: '直推统计' } - }, { path: 'incomeDetail', name: 'IncomeDetail', diff --git a/src/views/information/member/index.vue b/src/views/information/member/index.vue index 160a599..1351e28 100644 --- a/src/views/information/member/index.vue +++ b/src/views/information/member/index.vue @@ -474,6 +474,27 @@ :label="'会员姓名'" width="180" /> + + + - - + - - - - - - diff --git a/src/views/statistics/awardAnalysis.vue b/src/views/statistics/awardAnalysis.vue deleted file mode 100644 index e47e254..0000000 --- a/src/views/statistics/awardAnalysis.vue +++ /dev/null @@ -1,468 +0,0 @@ - - - - - diff --git a/src/views/statistics/directStatistics.vue b/src/views/statistics/directStatistics.vue deleted file mode 100644 index 4863eda..0000000 --- a/src/views/statistics/directStatistics.vue +++ /dev/null @@ -1,340 +0,0 @@ - - - - -