From 291a5eca02f0fbcbfffd46b939fc41e300f320d3 Mon Sep 17 00:00:00 2001 From: tcy <1193318383@qq.com> Date: Fri, 22 Aug 2025 17:26:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(largeScreen):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=A0=B7=E5=BC=8F=E5=92=8C=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 getLineOption 函数中的 axisLabel textStyle 颜色为白色 - 更新 ProgressComponent 组件的 percentageChange 值为 98.11% - 固定 month 数组为 12 --- src/views/largeScreen/components/optionList.ts | 2 +- src/views/largeScreen/components/rightPage.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/largeScreen/components/optionList.ts b/src/views/largeScreen/components/optionList.ts index e4b9b01..c35d06a 100644 --- a/src/views/largeScreen/components/optionList.ts +++ b/src/views/largeScreen/components/optionList.ts @@ -312,7 +312,7 @@ export const getLineOption = (lineData: any) => { axisLabel: { textStyle: { color: '#fff' - } + }, } }, yAxis: { diff --git a/src/views/largeScreen/components/rightPage.vue b/src/views/largeScreen/components/rightPage.vue index 71725c9..f5ee603 100644 --- a/src/views/largeScreen/components/rightPage.vue +++ b/src/views/largeScreen/components/rightPage.vue @@ -33,7 +33,7 @@
项目进度
100%
--> - @@ -53,7 +53,7 @@ const bigDataObj = ref({}); const getCapitalData = async () => { const { data } = await monthMoney() - const month = data.map((item: any) => item.month); + const month = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']; const income = data.map((item: any) => item.incomeAmount); const expenses = data.map((item: any) => item.expensesAmount); const profit = data.map((item: any) => item.profitAmount);