From 8eebd3b823c2e477f949b7f06b6e972ec09327df Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 22 八月 2023 14:27:22 +0800
Subject: [PATCH] 工序 接口调试
---
screen_standard/src/utils/apis.js | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/screen_standard/src/utils/apis.js b/screen_standard/src/utils/apis.js
index ed68a8b..907344a 100644
--- a/screen_standard/src/utils/apis.js
+++ b/screen_standard/src/utils/apis.js
@@ -1,6 +1,16 @@
import axiosInstance from './request';
-// 鍛樺伐浜у搧缁熻TOP10
+// 鏌ヨ浼佷笟鍏ㄩ儴鍏徃閮ㄩ棬
export function getDepartmentList (companyId) {
return axiosInstance.get(`statistics/getDepartmentList/${companyId}`)
}
+
+// 鏁版嵁缁熻-鎴愬搧璁″垝锛屾墽琛屼腑銆佸欢鏈熻鍒掓暟銆佷粖鏃ョ敓浜т汉鏁般�佷粖鏃ョ敓浜ц澶囨暟銆佷粖鏃ヤ笉鑹搧
+export function getProcedurePlanData (companyId, departId, params) {
+ return axiosInstance.get(`statistics/getProcedurePlanData/${companyId}/${departId}`, {params} )
+}
+
+// 鍛樺伐浜у搧缁熻TOP10
+export function getTop (companyId, departId, params) {
+ return axiosInstance.get(`statistics/userProduceTop/${companyId}/${departId}`, {params})
+}
\ No newline at end of file
--
Gitblit v1.9.3