From 38d43b697f86d5ee8345e4d6397d3c1da32bbd5b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 29 一月 2026 15:02:35 +0800
Subject: [PATCH] fix: 附件上传后有两个分页展示(原材料、过程、出厂都有)

---
 src/api/viewIndex.js |   43 ++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 42 insertions(+), 1 deletions(-)

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 2acf915..b003dbf 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -113,4 +113,45 @@
         url: '/home/productCategoryDistribution',
         method: 'get'
     })
-}
\ No newline at end of file
+}
+
+// 浜у搧閿�鍞噾棰濆垎鏋�
+export const productSalesAnalysis = () => {
+    return request({
+        url: '/home/productSalesAnalysis',
+        method: 'get'
+    })
+}
+
+// 鍘熸潗鏂欓噰璐噾棰濆崰姣�
+export const rawMaterialPurchaseAmountRatio = () => {
+    return request({
+        url: '/home/rawMaterialPurchaseAmountRatio',
+        method: 'get'
+    })
+}
+
+// 閿�鍞�/閲囪喘/鍌ㄥ瓨浜у搧鏁�
+export const salesPurchaseStorageProductCount = () => {
+    return request({
+        url: '/home/salesPurchaseStorageProductCount',
+        method: 'get'
+    })
+}
+
+// 浜у搧鍑哄叆搴撳垎鏋愶紙鍙紶 productType: 1 鍘熸潗鏂� 2 鍗婃垚鍝� 3 鎴愬搧锛�
+export const productInOutAnalysis = (params) => {
+    return request({
+        url: '/home/productInOutAnalysis',
+        method: 'get',
+        params
+    })
+}
+
+// 浜у搧鍛ㄨ浆澶╂暟
+export const productTurnoverDays = () => {
+    return request({
+        url: '/home/productTurnoverDays',
+        method: 'get'
+    })
+}

--
Gitblit v1.9.3