feat(performance): 新增分组绩效统计功能

- 在性能监控页面添加菜单分类总览模块,显示各模块操作量对比
- 实现菜单分组柱状图可视化,支持点击筛选功能
- 添加分类模块明细折叠面板,展示具体模块统计数据
- 集成后端菜单分组绩效接口,支持按一级菜单路径过滤
- 添加当前分类筛选标签显示,增强用户体验
- 优化图表渲染逻辑,增加空数据情况下的图表清理
- 完善响应式布局,适配不同屏幕尺寸调整
This commit is contained in:
2026-07-09 11:44:04 +08:00
parent 49bb8e116f
commit 451c7afcfd
10 changed files with 469 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import cn.dev33.satoken.annotation.SaCheckPermission;
import com.klp.common.core.controller.BaseController;
import com.klp.common.core.domain.R;
import com.klp.system.domain.bo.OperPerformanceQuery;
import com.klp.system.domain.vo.OperMenuGroupVO;
import com.klp.system.domain.vo.OperModuleStatVO;
import com.klp.system.domain.vo.OperPersonVO;
import com.klp.system.domain.vo.OperSummaryVO;
@@ -55,4 +56,13 @@ public class OperPerformanceController extends BaseController {
public R<List<OperModuleStatVO>> module(OperPerformanceQuery query) {
return R.ok(operLogService.selectModuleRanking(query));
}
/**
* 按菜单分组绩效统计oper_page 匹配一级菜单 path
*/
@SaCheckPermission("monitor:performance:list")
@GetMapping("/menuGroup")
public R<List<OperMenuGroupVO>> menuGroup(OperPerformanceQuery query) {
return R.ok(operLogService.selectMenuGroupPerformance(query));
}
}