From f7cd57455346e4fd7085eae8bcf7b01a75c94d25 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期一, 22 十二月 2025 16:35:11 +0800
Subject: [PATCH] 海川开心-协同办公-报销管理金额显示

---
 src/api/viewIndex.js |   63 ++++++++++++++++++-------------
 1 files changed, 36 insertions(+), 27 deletions(-)

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 23bddd8..6931110 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -1,52 +1,61 @@
 // 棣栭〉鎺ュ彛
 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 = () => {
-    return request({
-        url: '/receiptPayment/getAmountMouth',
-        method: 'get'
-    })
-}
-// 浠樻楗肩姸鍥�
-export const paymentMonthList = () => {
-    return request({
-        url: '/purchase/paymentRegistration/paymentMonthList',
-        method: 'get'
-    })
-}
+
 // 绾垮舰鍥�
 export const getAmountHalfYear = () => {
     return request({
         url: '/sales/ledger/getAmountHalfYear',
         method: 'get'
     })
-}
\ No newline at end of file
+}
+
+// 鍗忓悓寰呭鎵瑰拰鎶ヤ慨寰呭姙浜嬮」
+export const approveAndDeviceTodos = () => {
+    return request({
+        url: '/home/approveAndDeviceTodos',
+        method: 'get'
+    })
+}
+export const noticesCount = () => {
+    return request({
+        url: '/home/noticesCount',
+        method: 'get'
+    })
+}

--
Gitblit v1.9.3