From c4e7a4be56f5fa865843574b6f0ad91f1861f1b9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 11 十二月 2025 17:07:20 +0800
Subject: [PATCH] 1.润泰-BI大屏展示修改

---
 src/views/reportAnalysis/dataDashboard/index.vue |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/src/views/reportAnalysis/dataDashboard/index.vue b/src/views/reportAnalysis/dataDashboard/index.vue
index 9c7ae62..56bcb7a 100644
--- a/src/views/reportAnalysis/dataDashboard/index.vue
+++ b/src/views/reportAnalysis/dataDashboard/index.vue
@@ -174,14 +174,14 @@
         </div>
 				
 				<div class="financial-header">
-					<span class="financial-title">璐㈠姟鍒嗘瀽</span>
+					<span class="financial-title">鐢熶骇鍒嗘瀽</span>
 				</div>
 				<div class="main-panel">
 					<div class="panel-item-customers">
-						<div class="event-header">
-							<img src="@/assets/BI/shijianmingxiicon@2x.png" alt="鍥炬爣" class="event-icon" />
-							<span class="event-title">缁忚惀鎴愭灉鍒嗘瀽</span>
-						</div>
+<!--						<div class="event-header">-->
+<!--							<img src="@/assets/BI/shijianmingxiicon@2x.png" alt="鍥炬爣" class="event-icon" />-->
+<!--							<span class="event-title">缁忚惀鎴愭灉鍒嗘瀽</span>-->
+<!--						</div>-->
 						<Echarts ref="chart"
 										 :chartStyle="chartStyle"
 										 :grid="grid"
@@ -245,7 +245,7 @@
 import useUserStore from '@/store/modules/user'
 import {
 	analysisCustomerContractAmounts, getAmountHalfYear,
-	homeTodos,
+	homeTodos, productionStatistics,
 	qualityStatistics,
 	statisticsReceivablePayable
 } from "@/api/viewIndex.js";
@@ -417,11 +417,11 @@
 const barLegend1 = {
 	show: true,
 	textStyle: { color: '#B8C8E0' },
-	data: ['鎬绘敹鍏�', '鎬绘敮鍑�', '鍑�鏀跺叆']
+	data: ['寰呯敓浜�', '鐢熶骇涓�', '宸茬敓浜�']
 }
 const barSeries11 = ref([
 	{
-		name: '鎬绘敹鍏�',
+		name: '寰呯敓浜�',
 		type: 'bar',
 		barGap: 0,
 		emphasis: {
@@ -443,7 +443,7 @@
 		data: []
 	},
 	{
-		name: '鎬绘敮鍑�',
+		name: '鐢熶骇涓�',
 		type: 'bar',
 		emphasis: {
 			focus: 'series'
@@ -464,7 +464,7 @@
 		data: []
 	},
 	{
-		name: '鍑�鏀跺叆',
+		name: '宸茬敓浜�',
 		type: 'bar',
 		emphasis: {
 			focus: 'series'
@@ -643,6 +643,15 @@
 // 璐㈠姟缁熻
 const accountStatisticsInfo = () => {
 	listPageAnalysis().then((res) => {
+		xAxis3.value[0].data = res.data.days
+		barSeries11.value[0].data = res.data.totalIncome
+		barSeries11.value[1].data = res.data.totalExpense
+		barSeries11.value[2].data = res.data.netIncome
+	})
+}
+// 璐㈠姟缁熻
+const productionStatisticsInfo = () => {
+	productionStatistics().then((res) => {
 		xAxis3.value[0].data = res.data.days
 		barSeries11.value[0].data = res.data.totalIncome
 		barSeries11.value[1].data = res.data.totalExpense
@@ -986,6 +995,7 @@
   window.addEventListener('resize', handleResize)
   analysisCustomer()
   qualityStatisticsInfo()
+	productionStatisticsInfo()
 	accountStatisticsInfo()
   getNum()
   getLedgerNum()

--
Gitblit v1.9.3