From 5c83fa773b12dfa4c111ad04322a4e3eaa9aae89 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 9 Jan 2025 16:04:37 +0800 Subject: [PATCH] =?UTF-8?q?task#=EF=BC=8Cuat,KPI=E6=97=B6=E9=97=B4?= =?UTF-8?q?=EF=BC=9A=E6=94=B9=E6=88=90=E9=BB=98=E8=AE=A4=2024=E5=B9=B412?= =?UTF-8?q?=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/kpiIndex.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/kpi/kpiIndex.vue b/src/views/kpi/kpiIndex.vue index 05dd2da1..9cd73e90 100644 --- a/src/views/kpi/kpiIndex.vue +++ b/src/views/kpi/kpiIndex.vue @@ -1207,8 +1207,10 @@ export default { year = new Date(this.current).getFullYear(); month = new Date(this.current).getMonth() + 1; } else { - year = new Date().getFullYear(); - month = new Date().getMonth() + 1; + /*year = new Date().getFullYear(); + month = new Date().getMonth() + 1;*/ + year = 2024 + month = 12 } let yearAndMonth = year + '-' + (month > 9 ? month : '0' + month); this.current = dayjs(new Date(yearAndMonth)).format('YYYY-MM')