From 2f78c4aa959b742de3d5883c1dfe8a02a0c874b4 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 02 四月 2026 15:42:55 +0800
Subject: [PATCH] fix: 首页趋势换成周、月、年
---
src/api/viewIndex.js | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 8b5d144..6dd7a1a 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -10,6 +10,15 @@
});
};
+// 棣栭〉-璁″垝涓庣敓浜ц秼鍔�
+export const planTrends = (params) => {
+ return request({
+ url: "/home/planTrends",
+ method: "get",
+ params,
+ });
+};
+
// 璐ㄩ噺缁熻
export const qualityInspectionStatistics = (params) => {
return request({
@@ -326,3 +335,10 @@
method: "get",
});
};
+// 绠$悊缁熻
+export const getManageStatistics = () => {
+ return request({
+ url: "/home/manage",
+ method: "get",
+ });
+};
--
Gitblit v1.9.3