From ece536629bc838363ea3063f01bb40f2f3fd8637 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Fri, 26 Apr 2024 12:28:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=A1=E7=94=A8=E5=8D=A1=E5=BE=85?= =?UTF-8?q?=E8=BF=98=EF=BC=8C=E7=BD=91=E8=B4=B7=E5=BE=85=E8=BF=98=EF=BC=8C?= =?UTF-8?q?=E7=9C=8B=E6=9C=AC=E6=9C=88=E5=8F=8A=E4=B8=8B=E4=B8=AA=E6=9C=88?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../creditInstallmentAnalysis/index.vue | 269 +++++++++--------- src/views/invest/onlineLendAnalysis/index.vue | 266 ++++++++--------- 2 files changed, 267 insertions(+), 268 deletions(-) diff --git a/src/views/invest/creditInstallmentAnalysis/index.vue b/src/views/invest/creditInstallmentAnalysis/index.vue index 52e4758..e8efb0c 100644 --- a/src/views/invest/creditInstallmentAnalysis/index.vue +++ b/src/views/invest/creditInstallmentAnalysis/index.vue @@ -1,144 +1,144 @@ @@ -210,7 +210,7 @@ const { queryParams, queryCreditCardParams, rules } = toRefs(data) const today = new Date() const start = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-01' // 当前月份的结束日期 -const endDate = new Date(today.getFullYear(), today.getMonth() + 1, 0) +const endDate = new Date(today.getFullYear(), today.getMonth() + 2, 0) const end = `${endDate.getFullYear()}-${(endDate.getMonth() + 1).toString().padStart(2, '0')}-${endDate.getDate().toString().padStart(2, '0')}` queryParams.value.time = [start, end] /** 查询信用卡卡管理列表 */ @@ -229,8 +229,7 @@ const handleTimeChange = (type) => { const endDate = new Date(today.getFullYear(), today.getMonth() + 1, 0) const end = `${endDate.getFullYear()}-${(endDate.getMonth() + 1).toString().padStart(2, '0')}-${endDate.getDate().toString().padStart(2, '0')}` queryParams.value.time = [start, end] - } else - if (type === 2) { + } else if (type === 2) { const today = new Date() const start = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const end = dayjs(start).add(35, 'months') diff --git a/src/views/invest/onlineLendAnalysis/index.vue b/src/views/invest/onlineLendAnalysis/index.vue index 219dba8..0ca4fae 100644 --- a/src/views/invest/onlineLendAnalysis/index.vue +++ b/src/views/invest/onlineLendAnalysis/index.vue @@ -1,144 +1,144 @@ @@ -211,7 +211,7 @@ const { queryParams, queryCreditCardParams, rules } = toRefs(data) const today = new Date() const start = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-01' // 当前月份的结束日期 -const endDate = new Date(today.getFullYear(), today.getMonth() + 1, 0) +const endDate = new Date(today.getFullYear(), today.getMonth() + 2, 0) const end = `${endDate.getFullYear()}-${(endDate.getMonth() + 1).toString().padStart(2, '0')}-${endDate.getDate().toString().padStart(2, '0')}` queryParams.value.time = [start, end] /** 查询信用卡卡管理列表 */