From a28b1ece7dce84773f5bb1da458385d11243c796 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Wed, 7 Aug 2024 13:00:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E8=AE=A1=E5=88=86=E6=9E=90?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8Cbug=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invest/accountDealAnalysis/index.vue | 12 ++++++------ src/views/invest/accountsBalance/index.vue | 10 +++++----- src/views/invest/creditAnalysis/index.vue | 6 +++++- src/views/invest/creditCardDealAnalysis/index.vue | 2 +- src/views/invest/debitDealAnalysis/index.vue | 2 +- 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/views/invest/accountDealAnalysis/index.vue b/src/views/invest/accountDealAnalysis/index.vue index 26f7aaa..2388d63 100644 --- a/src/views/invest/accountDealAnalysis/index.vue +++ b/src/views/invest/accountDealAnalysis/index.vue @@ -73,7 +73,7 @@ -
+
@@ -84,7 +84,7 @@
-
+
@@ -119,7 +119,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -141,7 +141,7 @@
-
+
@@ -152,7 +152,7 @@
-
+
diff --git a/src/views/invest/accountsBalance/index.vue b/src/views/invest/accountsBalance/index.vue index 581d477..70639b1 100644 --- a/src/views/invest/accountsBalance/index.vue +++ b/src/views/invest/accountsBalance/index.vue @@ -28,7 +28,7 @@
-
+
@@ -39,7 +39,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -61,7 +61,7 @@
-
+
@@ -72,7 +72,7 @@
-
+
diff --git a/src/views/invest/creditAnalysis/index.vue b/src/views/invest/creditAnalysis/index.vue index b4cc0d6..4de0c47 100644 --- a/src/views/invest/creditAnalysis/index.vue +++ b/src/views/invest/creditAnalysis/index.vue @@ -176,7 +176,7 @@ const data = reactive({ const { queryParams, queryCreditCardParams, rules } = toRefs(data) const today = new Date() -const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) +const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-11, 'months') queryParams.value.time = [start, end] /** 查询信用卡卡管理列表 */ @@ -270,6 +270,10 @@ function handleQuery() { function resetQuery() { proxy.resetForm('queryRef') + const today = new Date() + const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + const start = dayjs(end).add(-11, 'months') + queryParams.value.time = [start, end] queryParams.value.id = null total.value = 0 handleQuery() diff --git a/src/views/invest/creditCardDealAnalysis/index.vue b/src/views/invest/creditCardDealAnalysis/index.vue index e6e6518..b66b684 100644 --- a/src/views/invest/creditCardDealAnalysis/index.vue +++ b/src/views/invest/creditCardDealAnalysis/index.vue @@ -122,7 +122,7 @@
-
+
diff --git a/src/views/invest/debitDealAnalysis/index.vue b/src/views/invest/debitDealAnalysis/index.vue index 1f8a6ad..08f8aae 100644 --- a/src/views/invest/debitDealAnalysis/index.vue +++ b/src/views/invest/debitDealAnalysis/index.vue @@ -122,7 +122,7 @@
-
+