From cf1ee9d413456f37d1abc5d8ed23a9875aa15bb1 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期一, 26 五月 2025 15:11:26 +0800
Subject: [PATCH] 销售管理>销售台站=》设置新增数据默认日期,添加子产品添加搜索逻辑更改为tree树形式,根据登录的账号匹配用户昵称默认选择当前用户昵称

---
 src/api/viewIndex.js |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 8ac39e4..23bddd8 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -25,21 +25,28 @@
 // 瀹㈡埛鍚堝悓閲戦TOP5缁熻
 export const getTopFiveList = () => {
     return request({
-        url: 'sales/ledger/getTopFiveList',
+        url: '/sales/ledger/getTopFiveList',
         method: 'get'
     })
 }
 // 鍥炴楗肩姸鍥�
 export const getAmountMouth = () => {
     return request({
-        url: 'receiptPayment/getAmountMouth',
+        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

--
Gitblit v1.9.3