- 将下载全部报表改为下载年度统计报表 - 在类型定义和数据处理中添加 cashFee 字段 - 在报表页面显示现金合计金额 - 添加下载年度统计报表和下载不含天医币报表的接口和功能 - 使用年份选择器替代原有下载按钮
82 lines
2.1 KiB
TypeScript
82 lines
2.1 KiB
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
meta: {
|
|
icon: 'mdi:chart-areaspline',
|
|
keepAlive: true,
|
|
order: 1000,
|
|
title: '统计分析',
|
|
},
|
|
name: 'Statistics',
|
|
path: '/statistics',
|
|
children: [
|
|
{
|
|
meta: {
|
|
title: '天医币报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'TianyibiReport',
|
|
path: '/statistics/tianyibi-report',
|
|
component: () => import('#/views/statistics/tianyibi/report.vue'),
|
|
},
|
|
{
|
|
meta: {
|
|
title: '实物报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'PhysicalReport',
|
|
path: '/statistics/physical-report',
|
|
component: () => import('#/views/statistics/physical/report.vue'),
|
|
},
|
|
{
|
|
meta: {
|
|
title: '培训班报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'TrainingClassReport',
|
|
path: '/statistics/training-class-report',
|
|
component: () => import('#/views/statistics/trainingClass/report.vue'),
|
|
},
|
|
{
|
|
meta: {
|
|
title: 'VIP报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'VipReport',
|
|
path: '/statistics/vip-report',
|
|
component: () => import('#/views/statistics/vip/report.vue'),
|
|
},
|
|
{
|
|
meta: {
|
|
title: '课程报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'CourseReport',
|
|
path: '/statistics/course-report',
|
|
component: () => import('#/views/statistics/course/report.vue'),
|
|
},
|
|
{
|
|
meta: {
|
|
title: '月度财务报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'FinanceMonthReport',
|
|
path: '/statistics/finance-month-report',
|
|
component: () => import('#/views/statistics/summary-month/report.vue'),
|
|
},
|
|
{
|
|
meta: {
|
|
title: '下载年度报表',
|
|
keepAlive: true,
|
|
},
|
|
name: 'DownloadReports',
|
|
path: '/statistics/download-reports',
|
|
component: () => import('#/views/statistics/download/index.vue'),
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|