From 6c7375701b519377752df5da89e8c3910c1661d8 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 27 一月 2026 17:40:23 +0800
Subject: [PATCH] Merge branch 'dev_New' of http://114.132.189.42:9002/r/product-inventory-management into dev_New
---
src/api/viewIndex.js | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 52 insertions(+), 1 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 5b00295..85e81bd 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -57,13 +57,64 @@
//鍦ㄥ埗鍝佸懆杞儏鍐�
//home/workInProcessTurnover
-export const getWorkInProcessTurnover= ()=>{
+export const getWorkInProcessTurnover = () => {
return request({
url: '/home/workInProcessTurnover',
method: 'get'
})
}
+// 瀹㈡埛钀ユ敹璐$尞鏁板�煎垎鏋�
+export const customerRevenueAnalysis = (params) => {
+ return request({
+ url: '/home/customerRevenueAnalysis',
+ method: 'get',
+ params
+ })
+}
+
+// 鍛樺伐-瀹㈡埛-渚涘簲鍟嗘�绘暟
+export const summaryStatistics = () => {
+ return request({
+ url: '/home/summaryStatistics',
+ method: 'get'
+ })
+}
+
+// 鍚勯儴闂ㄤ汉鍛樺垎甯�
+export const deptStaffDistribution = () => {
+ return request({
+ url: '/home/deptStaffDistribution',
+ method: 'get'
+ })
+}
+
+// 渚涘簲鍟嗛噰璐帓鍚�
+export const supplierPurchaseRanking = (query) => {
+ return request({
+ url: '/home/supplierPurchaseRanking',
+ method: 'get',
+ params: query
+ })
+}
+
+// 瀹㈡埛閲戦璐$尞鎺掑悕
+export const customerContributionRanking = (query) => {
+ return request({
+ url: '/home/customerContributionRanking',
+ method: 'get',
+ params: query
+ })
+}
+
+// 鍚勪骇鍝佸ぇ绫诲垎甯�
+export const productCategoryDistribution = () => {
+ return request({
+ url: '/home/productCategoryDistribution',
+ method: 'get'
+ })
+}
+
// 浜у搧澶х被鍒嗗竷
// /home/productCategoryDistribution
export const productCategoryDistribution = () => {
--
Gitblit v1.9.3