From d023fb808fd979410f3d4f6734ce3f1de894cecc Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Fri, 27 May 2022 14:56:56 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=902022=E7=89=88=E5=AD=A6=E5=B9=B3?=
=?UTF-8?q?=E9=99=A9=E4=B8=89=E6=AC=BE=E4=BA=A7=E5=93=81=E3=80=91=E5=AD=A6?=
=?UTF-8?q?=E5=B9=B3=E9=99=A9=E7=9A=84=E6=8C=87=E5=AE=9A=E7=94=9F=E6=95=88?=
=?UTF-8?q?=E6=97=A5=E6=9C=9F=E9=9C=80=E8=A6=81=E6=A0=B9=E6=8D=AE=E8=BF=99?=
=?UTF-8?q?=E4=B8=AA=E8=A7=84=E5=88=99=E8=B0=83=E6=95=B4=E4=B8=80=E4=B8=8B?=
=?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=BD=93=E5=89=8D=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=E6=94=B9=E4=B8=BA0901?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/js/utils/getAfterDate.js | 4 ++--
src/views/ebiz/cardList/information.vue | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/assets/js/utils/getAfterDate.js b/src/assets/js/utils/getAfterDate.js
index eae0b5e01..507a01fe6 100644
--- a/src/assets/js/utils/getAfterDate.js
+++ b/src/assets/js/utils/getAfterDate.js
@@ -11,7 +11,7 @@ export default {
},
getAfterDays: function(days) {
//获取“多少天数”之后的时间 例如28天后 即days=28
- let currentTime = new Date().getTime()
+ let currentTime = new Date('2022-09-01').getTime()
return new Date(Number(currentTime) + 1000 * 60 * 60 * 24 * days)
},
isLeapYear: function(year) {
@@ -32,7 +32,7 @@ export default {
//date1结束时间
let date1 = new Date(Date_end);
//date2当前时间
- let date2 = new Date();
+ let date2 = new Date('2022-09-01');
date1 = new Date(date1.getFullYear(), date1.getMonth(), date1.getDate());
date2 = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate());
const diff = date1.getTime() - date2.getTime(); //目标时间减去当前时间
diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue
index d09fa1895..cf8b5a698 100644
--- a/src/views/ebiz/cardList/information.vue
+++ b/src/views/ebiz/cardList/information.vue
@@ -628,7 +628,8 @@ export default {
proSchemeCode: '',
productDate: '', //保险期间
now: afterDate.getAfterDays(1), //指定生效日期最小值
- currentMonth: new Date().getMonth() + 1, //当前月份
+ currentMonth: 9, //当前月份
+ // currentMonth: new Date().getMonth() + 1, //当前月份
currentYear: new Date().getFullYear(), //当前年份
certiexpiredateMin: afterDate.getAfterDays(1), //证件截止日期最小值
insuredSex: '男',