From eb917b4d31b4235c57e4a795c23adebceae60471 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Fri, 30 Aug 2024 18:15:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=B6=E9=97=B4=E6=AE=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invest/futuresAnalysis/index.vue | 4 ++-- src/views/invest/investAnalysis/index.vue | 4 ++-- src/views/invest/peopleLendHistory/index.vue | 12 ++++++------ src/views/invest/stocksAnalysis/index.vue | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/invest/futuresAnalysis/index.vue b/src/views/invest/futuresAnalysis/index.vue index 8ca5a3a..51c9e60 100644 --- a/src/views/invest/futuresAnalysis/index.vue +++ b/src/views/invest/futuresAnalysis/index.vue @@ -198,7 +198,7 @@ const data = reactive({ const { queryParams, queryFutureStocksListParams, 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(-59, 'months') queryParams.value.time = [start, end] /** 查询期货股票卡管理列表 */ @@ -217,7 +217,7 @@ const handleTimeChange = (type) => { queryParams.value.time = null if (type === 2) { 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(-59, 'months') queryParams.value.time = [start, end] } else if (type === 3) { diff --git a/src/views/invest/investAnalysis/index.vue b/src/views/invest/investAnalysis/index.vue index 866e53d..d6a88c3 100644 --- a/src/views/invest/investAnalysis/index.vue +++ b/src/views/invest/investAnalysis/index.vue @@ -207,14 +207,14 @@ const data = reactive({ const { queryParams, 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(-59, 'months') queryParams.value.time = [start, end] const handleTimeChange = (type) => { queryParams.value.time = null if (type === 2) { 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(-59, 'months') queryParams.value.time = [start, end] } else if (type === 3) { diff --git a/src/views/invest/peopleLendHistory/index.vue b/src/views/invest/peopleLendHistory/index.vue index cd56dd3..36caa13 100644 --- a/src/views/invest/peopleLendHistory/index.vue +++ b/src/views/invest/peopleLendHistory/index.vue @@ -8,8 +8,8 @@ - - + + @@ -44,7 +44,7 @@ - + @@ -80,8 +80,8 @@ - - + + @@ -149,7 +149,7 @@ const data = reactive({ bankCardLendId: [{ required: true, message: '人情账户不能为空', trigger: 'blur' }], installmentAmount: [{ required: true, message: '借款金额不能为空', trigger: 'blur' }], installmentDate: [{ required: true, message: '借款日期不能为空', trigger: 'blur' }], - state: [{ required: true, message: '账户状态不能为空', trigger: 'change' }] + state: [{ required: true, message: '结清状态不能为空', trigger: 'change' }] } }) diff --git a/src/views/invest/stocksAnalysis/index.vue b/src/views/invest/stocksAnalysis/index.vue index 93e6840..3410486 100644 --- a/src/views/invest/stocksAnalysis/index.vue +++ b/src/views/invest/stocksAnalysis/index.vue @@ -199,7 +199,7 @@ const data = reactive({ const { queryParams, queryFutureStocksListParams, 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(-59, 'months') queryParams.value.time = [start, end] /** 查询期货股票卡管理列表 */ @@ -218,7 +218,7 @@ const handleTimeChange = (type) => { queryParams.value.time = null if (type === 2) { 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(-59, 'months') queryParams.value.time = [start, end] } else if (type === 3) {