diff --git a/src/router/index.js b/src/router/index.js index 35bced7..09071e3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -92,7 +92,8 @@ const mainRoutes = { { path: '/reportList-trainingCourseClassList', component: _import('modules/reportList/trainingCourseClassList'), name: 'reportList-trainingCourseClassList', meta: { title: '培训班报表', isTab: true } }, { path: '/reportList-courseList', component: _import('modules/reportList/courseList'), name: 'reportList-courseList', meta: { title: '课程报表', isTab: true } }, { path: '/reportList-lingshuFullYear', component: _import('modules/reportList/lingshuFullYear'), name: 'reportList-lingshuFullYear', meta: { title: '灵枢年度报表', isTab: true } }, - { path: '/content-psychologicalForum', component: _import('modules/content/psychologicalForum'), name: 'content-psychologicalForum', meta: { title: '心理论坛', isTab: true } } + { path: '/content-psychologicalForum', component: _import('modules/content/psychologicalForum'), name: 'content-psychologicalForum', meta: { title: '心理论坛', isTab: true } }, + { path: '/statisticsBusiness-courseStatistics', component: _import('modules/statisticsBusiness/courseStatistics/index'), name: 'statisticsBusiness-courseStatistics', meta: { title: '课程统计', isTab: true } } ], beforeEnter (to, from, next) { let token = Vue.cookie.get('token') diff --git a/src/views/modules/statisticsBusiness/courseStatistics/amountStatistics.vue b/src/views/modules/statisticsBusiness/courseStatistics/amountStatistics.vue new file mode 100644 index 0000000..81fe51d --- /dev/null +++ b/src/views/modules/statisticsBusiness/courseStatistics/amountStatistics.vue @@ -0,0 +1,238 @@ + + + + + + + + 刷新 + + + 下载报表 + + + + + + + + + + {{ scope.row.salesFee }} + + + + + {{ scope.row.cashFee }} + + + + + + + + + + 详情 + + + + + + + + 下载详情报表 + + + + + + + {{ scope.row.salesFee }} + + + + + {{ scope.row.cashFee }} + + + + + + + + + + + + + + + diff --git a/src/views/modules/statisticsBusiness/courseStatistics/courseStatistics.vue b/src/views/modules/statisticsBusiness/courseStatistics/courseStatistics.vue new file mode 100644 index 0000000..28dfbbb --- /dev/null +++ b/src/views/modules/statisticsBusiness/courseStatistics/courseStatistics.vue @@ -0,0 +1,448 @@ + + + + + + 按年份 + 按月份 + + + + + + + + 刷新 + + + 下载报表 + + + + + + + + + + + + {{ scope.row.salesFee }} + + + + + {{ scope.row.cashFee }} + + + + + 详情 + + + + + + + + + + {{ yearDialogTitle }} + 下载详情报表 + + + + + + + {{ scope.row.salesFee }} + + + + + {{ scope.row.cashFee }} + + + + + + + + + + + {{ scope.row.sales > 0 ? ((scope.row.relearnCount / scope.row.sales * 100).toFixed(2) + '%') : '0%' }} + + + + + + {{ scope.row.sales > 0 ? ((scope.row.miaoshaCount / scope.row.sales * 100).toFixed(2) + '%') : '0%' }} + + + + + + + + {{ monthDialogTitle }} + 下载详情报表 + + + + + + + + {{ scope.row.days }} + + + + + {{ scope.row.orderType === '是' ? '是' : '否' }} + + + + + + + + + + diff --git a/src/views/modules/statisticsBusiness/courseStatistics/index.vue b/src/views/modules/statisticsBusiness/courseStatistics/index.vue new file mode 100644 index 0000000..9c4360e --- /dev/null +++ b/src/views/modules/statisticsBusiness/courseStatistics/index.vue @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + diff --git a/src/views/modules/statisticsBusiness/courseStatistics/labelStatistics.vue b/src/views/modules/statisticsBusiness/courseStatistics/labelStatistics.vue new file mode 100644 index 0000000..b26b585 --- /dev/null +++ b/src/views/modules/statisticsBusiness/courseStatistics/labelStatistics.vue @@ -0,0 +1,194 @@ + + + + + + 按年份 + 按月份 + + + + + + + + 刷新 + + + 下载报表 + + + + + + + + + + + {{ scope.row.salesFee }} + + + + + {{ scope.row.cashFee }} + + + + + + + + + +