From 55c6624407e8ae9d8ba9dd4c65d4c1d3b0ffaed0 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期一, 12 十月 2026 00:03:54 +0800
Subject: [PATCH] 首页图表做下尊

---
 src/modules/report/controller/admin/screen.ts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/modules/report/controller/admin/screen.ts b/src/modules/report/controller/admin/screen.ts
index c862300..47fa398 100644
--- a/src/modules/report/controller/admin/screen.ts
+++ b/src/modules/report/controller/admin/screen.ts
@@ -14,4 +14,14 @@
   async query(@Body('range') range: string) {
     return this.ok(await this.reportScreenService.query(range));
   }
+
+  @Post('/drill', { summary: '鍒嗙被涓嬮捇閮ㄩ棬/绔欑偣' })
+  async drill(
+    @Body('range') range: string,
+    @Body('code') code: string,
+    @Body('metric') metric: string,
+    @Body('departmentId') departmentId?: number
+  ) {
+    return this.ok(await this.reportScreenService.drill(range, code, metric, departmentId));
+  }
 }

--
Gitblit v1.9.1