From f00f1bc1fd678ba4ed97b4724f452524b3a6683d Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 9 Jan 2025 16:39:20 +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=EF=BC=8C=E6=8E=A5=E5=8F=A3=E4=BC=A0=E5=8F=82=E4=B9=9F?= =?UTF-8?q?=E6=98=AF24-12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/kpiIndex.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/kpi/kpiIndex.vue b/src/views/kpi/kpiIndex.vue index 9cd73e90..515a61d1 100644 --- a/src/views/kpi/kpiIndex.vue +++ b/src/views/kpi/kpiIndex.vue @@ -1214,8 +1214,11 @@ export default { } let yearAndMonth = year + '-' + (month > 9 ? month : '0' + month); this.current = dayjs(new Date(yearAndMonth)).format('YYYY-MM') - this.startTime = dayjs(new Date()).format('YYYY-MM') + '-01 00:00:00' - this.endTime = dayjs(new Date()).format('YYYY-MM') + '-' + this.getDayLen()+' 23:59:59' + console.log("this.current",this.current) + /*this.startTime = dayjs(new Date()).format('YYYY-MM') + '-01 00:00:00' + this.endTime = dayjs(new Date()).format('YYYY-MM') + '-' + this.getDayLen()+' 23:59:59'*/ + this.startTime = '2024-12-01 00:00:00' + this.endTime = '2024-12-31 23:59:59' this.startMonthTime=this.getStartTimeFromEndTime(this.endTime) console.log(" this.startMonthTime", this.startMonthTime,this.startTime) },