From f8c04a8e6a75c8bbd40348fc301edf8f654c6bd6 Mon Sep 17 00:00:00 2001 From: ylj20011123 Date: Wed, 2 Jul 2025 18:06:37 +0800 Subject: [PATCH] update --- .../components/BrandConsumptionLevel/BrandConsumptionLevel.vue | 2 +- .../components/ConsumptionConversion/ConsumptionConversion.vue | 2 +- src/page/index/components/ConsumptionLevel/ConsumptionLevel.vue | 2 +- .../index/components/ConsumptionPeriod/ConsumptionPeriod.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/page/index/components/BrandConsumptionLevel/BrandConsumptionLevel.vue b/src/page/index/components/BrandConsumptionLevel/BrandConsumptionLevel.vue index 42a03c1..1b894f8 100644 --- a/src/page/index/components/BrandConsumptionLevel/BrandConsumptionLevel.vue +++ b/src/page/index/components/BrandConsumptionLevel/BrandConsumptionLevel.vue @@ -102,7 +102,7 @@ const handleGetData = async () => { const req: any = { ProvinceCode: '530000', - StatisticsDate: moment().subtract(1, 'd').format('YYYY-MM-DD'), + StatisticsDate: moment().subtract(1, 'd').subtract(1, 'M').format('YYYY-MM-DD'), // ServerpartId: '' } diff --git a/src/page/index/components/ConsumptionConversion/ConsumptionConversion.vue b/src/page/index/components/ConsumptionConversion/ConsumptionConversion.vue index cecef75..4b71d02 100644 --- a/src/page/index/components/ConsumptionConversion/ConsumptionConversion.vue +++ b/src/page/index/components/ConsumptionConversion/ConsumptionConversion.vue @@ -203,7 +203,7 @@ const handleGetData = async () => { const req: any = { Province_Code: '530000', // Province_Code: '340000', - Statistics_Date: moment().subtract(1, 'd').format('YYYY-MM-DD'), + Statistics_Date: moment().subtract(1, 'd').subtract(1, 'M').format('YYYY-MM-DD'), Serverpart_ID: '' } diff --git a/src/page/index/components/ConsumptionLevel/ConsumptionLevel.vue b/src/page/index/components/ConsumptionLevel/ConsumptionLevel.vue index 3aa0a82..e48d6d6 100644 --- a/src/page/index/components/ConsumptionLevel/ConsumptionLevel.vue +++ b/src/page/index/components/ConsumptionLevel/ConsumptionLevel.vue @@ -109,7 +109,7 @@ const handleGetData = async () => { const req: any = { ProvinceCode: '530000', - StatisticsDate: moment().subtract(1, 'd').format('YYYY-MM-DD'), + StatisticsDate: moment().subtract(1, 'd').subtract(1, 'M').format('YYYY-MM-DD'), // ServerpartId: '' } diff --git a/src/page/index/components/ConsumptionPeriod/ConsumptionPeriod.vue b/src/page/index/components/ConsumptionPeriod/ConsumptionPeriod.vue index 50c70ca..1da8c91 100644 --- a/src/page/index/components/ConsumptionPeriod/ConsumptionPeriod.vue +++ b/src/page/index/components/ConsumptionPeriod/ConsumptionPeriod.vue @@ -133,7 +133,7 @@ const handleGetData = async () => { const req: any = { Province_Code: '530000', - Statistics_Date: moment().subtract(1, 'd').format('YYYY-MM-DD'), + Statistics_Date: moment().subtract(1, 'd').subtract(1, 'M').format('YYYY-MM-DD'), Serverpart_ID: '', TimeSpan: 1 }