From 8a6feae2a3de00b67d4777442de9c04b0cdd0c0b Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Thu, 13 Oct 2022 11:34:15 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9B=BD=E5=AF=8C=E6=83=A0=E6=A1=82?=
=?UTF-8?q?=E4=BF=9D=E5=9B=A2=E4=BD=93=E5=8C=BB=E7=96=97=E4=BF=9D=E9=99=A9?=
=?UTF-8?q?=E4=BA=A7=E5=93=81=E4=B8=8A=E7=BA=BF=E9=87=91=E6=8E=8C=E6=A1=82?=
=?UTF-8?q?=E6=8A=95=E4=BF=9D=E5=BC=80=E5=8F=91=E9=9C=80=E6=B1=82=E3=80=91?=
=?UTF-8?q?=E6=8A=95=E8=A2=AB=E5=8F=97=E6=A8=A1=E5=9D=97=E6=B6=89=E5=8F=8A?=
=?UTF-8?q?=EF=BC=8C=E7=BB=9F=E4=B8=80=E8=A7=84=E8=8C=83=E8=AF=81=E4=BB=B6?=
=?UTF-8?q?=E6=9C=89=E6=95=88=E6=9C=9F=E9=95=BF=E6=9C=9F=E7=94=B19999-01-0?=
=?UTF-8?q?1=E8=B0=83=E6=95=B4=E4=B8=BA9999-12-31?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/cardList/GroupAppntInfo.vue | 2 +-
.../ebiz/cardList/GroupAttachmentManagement.vue | 4 ++--
src/views/ebiz/cardList/GroupInsuredInfo.vue | 14 +++++++-------
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/views/ebiz/cardList/GroupAppntInfo.vue b/src/views/ebiz/cardList/GroupAppntInfo.vue
index 82c27ee79..428fa84c6 100644
--- a/src/views/ebiz/cardList/GroupAppntInfo.vue
+++ b/src/views/ebiz/cardList/GroupAppntInfo.vue
@@ -702,7 +702,7 @@ export default {
this.userInfo.birthday = data.birthday //出生日期
this.userInfo.idType = data.customerIdType //证件类型
this.userInfo.idNo = data.customerIdNumber //证件类别
- if (data.idEffectEndDate == '9999-01-01') {
+ if (data.idEffectEndDate == '9999-12-31') {
this.userInfo.effectiveDateType = true //是否长期
} else {
this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
diff --git a/src/views/ebiz/cardList/GroupAttachmentManagement.vue b/src/views/ebiz/cardList/GroupAttachmentManagement.vue
index 7ececd7f3..8904898fe 100644
--- a/src/views/ebiz/cardList/GroupAttachmentManagement.vue
+++ b/src/views/ebiz/cardList/GroupAttachmentManagement.vue
@@ -985,7 +985,7 @@ export default {
//"ValidDate": "2010.07.21-长期"
let certiexpireDate = res.content.validDate.split('-')[1]
if('长期' == certiexpireDate){
- res.content.validDate = '9999-01-01'
+ res.content.validDate = '9999-12-31'
if(this.saleInsuredInfo.certiexpiredate != res.content.validDate){
isFlag = false;
}
@@ -1016,7 +1016,7 @@ export default {
let certiexpireDate = res.content.validDate.split('-')[1]
console.log("res.content.validDate", res.content.validDate)
if('长期' == certiexpireDate){
- res.content.validDate = '9999-01-01'
+ res.content.validDate = '9999-12-31'
if(this.saleInsuredInfo.certiexpiredate != res.content.validDate){
isFlag = false;
}
diff --git a/src/views/ebiz/cardList/GroupInsuredInfo.vue b/src/views/ebiz/cardList/GroupInsuredInfo.vue
index 9903db37d..baecf7e93 100644
--- a/src/views/ebiz/cardList/GroupInsuredInfo.vue
+++ b/src/views/ebiz/cardList/GroupInsuredInfo.vue
@@ -811,7 +811,7 @@ export default {
this.effectiveDateTypeAbleInsured = true //长期按钮是否禁用--被保人
this.insuredInfo.effectiveDateType = false //是否长期
// this.insuredInfo.effectiveDateType = true
- // this.insuredInfo.certiexpiredate = '9999-01-01'
+ // this.insuredInfo.certiexpiredate = '9999-12-31'
// this.effectiveDateTypeAbleInsured = true
// this.isInsuredCertiexpiredate = false
// this.isInsuredCertiexpiredate = true
@@ -1039,12 +1039,12 @@ export default {
//户口本
if (data.customerIdType == 2) {
this.insuredInfo.effectiveDateType = true
- this.insuredInfo.certiexpiredate = '9999-01-01'
+ this.insuredInfo.certiexpiredate = '9999-12-31'
this.effectiveDateTypeAbleInsured = true
// this.isInsuredCertiexpiredate = false
}else{
// this.isInsuredCertiexpiredate = true
- if (data.idEffectEndDate == '9999-01-01') {
+ if (data.idEffectEndDate == '9999-12-31') {
this.insuredInfo.certiexpiredate = ''
this.insuredInfo.effectiveDateType = true //是否长期
this.effectiveDateTypeAbleInsured = true
@@ -1309,7 +1309,7 @@ export default {
}
// 是否长期选项 赋值
if (this.insuredInfo.effectiveDateType) {
- this.insuredInfo.certiexpiredate = '9999-01-01'
+ this.insuredInfo.certiexpiredate = '9999-12-31'
}
this.infoUpdate()
// console.log('success')
@@ -1634,7 +1634,7 @@ export default {
// this.insuredInfo.email = this.userInfo.email
// this.insuredInfo.idType = '2'
// // this.insuredInfo.effectiveDateType = true
- // // this.insuredInfo.certiexpiredate = '9999-01-01'
+ // // this.insuredInfo.certiexpiredate = '9999-12-31'
// // 去掉--选择户口本时,是否长期默认为是,不可点击,有效止期隐藏(证件类型为户口本时,被保人年龄小于16周岁时,户口本有效止期长期变更为第16周岁日期)
// // this.effectiveDateTypeAbleInsured = true
// // this.isInsuredCertiexpiredate = false
@@ -1645,7 +1645,7 @@ export default {
// this.insuredInfo.marriage = '2'
// this.insuredInfo.idType = '2'
// // this.insuredInfo.effectiveDateType = true
- // // this.insuredInfo.certiexpiredate = '9999-01-01'
+ // // this.insuredInfo.certiexpiredate = '9999-12-31'
// // 去掉--选择户口本时,是否长期默认为是,不可点击,有效止期隐藏(证件类型为户口本时,被保人年龄小于16周岁时,户口本有效止期长期变更为第16周岁日期)
// // this.effectiveDateTypeAbleInsured = true
// // this.isInsuredCertiexpiredate = false
@@ -1654,7 +1654,7 @@ export default {
// // GFRS-2641--少儿安康,默认户口本,且户口本证件截止日期默认长期
// if (this.itemProductDTOS.productCode == 'GFRS_M0052') {
// this.insuredInfo.idType = '2'
- // // this.insuredInfo.certiexpiredate = '9999-01-01'
+ // // this.insuredInfo.certiexpiredate = '9999-12-31'
// // this.insuredInfo.effectiveDateType = true
// this.insuredInfo.occupationCode = '2099907'
// this.insuredInfo.occupationName = '一般学生'