From b207e5c3dd012a17ba71632da0ebbc09a38e39c2 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 11 十二月 2025 15:37:01 +0800
Subject: [PATCH] 1.安佑-BI大屏展示数据修改
---
src/api/viewIndex.js | 59 ++++++++++++++++++++++++++++++++++++++---------------------
1 files changed, 38 insertions(+), 21 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 8ac39e4..f0a46b6 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -1,45 +1,62 @@
// 棣栭〉鎺ュ彛
import request from '@/utils/request'
-// 鏈湀鍚堝悓閲戦
-export const getContractAmount = () => {
+// 閿�鍞�-閲囪喘-搴撳瓨鏁版嵁
+export const getBusiness = () => {
return request({
- url: '/sales/ledger/getContractAmount',
+ url: '/home/business',
method: 'get'
})
}
-// 鏈湀寮�绁ㄩ噾棰�
-export const getInvoiceAmount = () => {
+// 瀹㈡埛鍚堝悓閲戦鍒嗘瀽
+export const analysisCustomerContractAmounts = () => {
return request({
- url: '/invoiceLedger/getInvoiceAmount',
+ url: '/home/analysisCustomerContractAmounts',
method: 'get'
})
}
-// 鏈湀鍥炴閲戦
-export const getReceiptAmount = () => {
+// 璐ㄦ鍒嗘瀽
+export const qualityStatistics = () => {
return request({
- url: '/receiptPayment/getReceiptAmount',
+ url: '/home/qualityStatistics',
method: 'get'
})
}
-// 瀹㈡埛鍚堝悓閲戦TOP5缁熻
-export const getTopFiveList = () => {
+// 搴旀敹搴斾粯缁熻
+export const statisticsReceivablePayable = (query) => {
return request({
- url: 'sales/ledger/getTopFiveList',
+ url: '/home/statisticsReceivablePayable',
+ method: 'get',
+ params: query
+ })
+}
+// 寰呭姙浜嬮」
+export const homeTodos = () => {
+ return request({
+ url: '/home/todos',
method: 'get'
})
}
-// 鍥炴楗肩姸鍥�
-export const getAmountMouth = () => {
+
+// 绾垮舰鍥�
+export const getAmountHalfYear = () => {
return request({
- url: 'receiptPayment/getAmountMouth',
+ url: '/sales/ledger/getAmountHalfYear',
method: 'get'
})
}
-// 鍥炴楗肩姸鍥�
-export const paymentMonthList = () => {
- return request({
- url: '/purchase/paymentRegistration/paymentMonthList',
- method: 'get'
- })
+
+// 浜у搧鍚堟牸鐜囨帴鍙�
+export const qualityProductQualifiedRate = () => {
+ return request({
+ url: '/home/qualityProductQualifiedRate',
+ method: 'get'
+ })
+}
+// 浠撳簱鏁版嵁缁熻
+export const inventoryStatistics = () => {
+ return request({
+ url: '/home/inventoryStatistics',
+ method: 'get'
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3