mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 11:56:43 +08:00
Merge branch 'dev' of http://112.124.100.131/GFRS/ebiz-h5 into dev
This commit is contained in:
@@ -843,7 +843,7 @@ export default {
|
|||||||
code: 'GFRS_M0002'
|
code: 'GFRS_M0002'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
shortName: '年金险',
|
shortName: '万能险',
|
||||||
name: '国富人寿金管家养老年金保险产品(万能型)',
|
name: '国富人寿金管家养老年金保险产品(万能型)',
|
||||||
code: 'GFRS_M0003'
|
code: 'GFRS_M0003'
|
||||||
},
|
},
|
||||||
@@ -887,10 +887,20 @@ export default {
|
|||||||
name: '国富人寿国富鑫享年金保险',
|
name: '国富人寿国富鑫享年金保险',
|
||||||
code: 'GFRS_M0011'
|
code: 'GFRS_M0011'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
shortName: '意外险',
|
||||||
|
name: '学生平安保险(小学、初中)',
|
||||||
|
code: 'GFRS_M0012'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
shortName: '重疾险',
|
shortName: '重疾险',
|
||||||
name: '国富人寿孝心保老年特定疾病保险',
|
name: '国富人寿孝心保老年特定疾病保险',
|
||||||
code: 'GFRS_M0014'
|
code: 'GFRS_M0014'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
shortName: '万能险',
|
||||||
|
name: '国富人寿富娃娃两全保险(万能型)',
|
||||||
|
code: 'GFRS_M0015'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// 职级
|
// 职级
|
||||||
|
|||||||
@@ -492,15 +492,16 @@ export default {
|
|||||||
applyerOccuCode: '', //职业类型编码
|
applyerOccuCode: '', //职业类型编码
|
||||||
applyerOccuName: '', //职业类别名称
|
applyerOccuName: '', //职业类别名称
|
||||||
lifeGrade: '', //寿险等级
|
lifeGrade: '', //寿险等级
|
||||||
|
applyerAddr: '', //联系地址详细地址
|
||||||
healthGrade: '', //健康等级
|
healthGrade: '', //健康等级
|
||||||
applyerEmail: '', // 电子邮箱
|
applyerEmail: '', // 电子邮箱
|
||||||
applyerMobile: '', // 联系电话
|
applyerMobile: '', // 联系电话
|
||||||
applyerNationatlity: 'CHN', // 国家/地区
|
applyerNationatlity: 'CHN', // 国家/地区
|
||||||
applyerAddr: '', //联系地址
|
|
||||||
applyerBankAccountName: '', // 账户户名
|
applyerBankAccountName: '', // 账户户名
|
||||||
applyerBankName: '', // 开户银行
|
applyerBankName: '', // 开户银行
|
||||||
applyerBankCode: '', //银行编码
|
applyerBankCode: '', //银行编码
|
||||||
applyerBankAccountNo: '', // 银行卡号
|
applyerBankAccountNo: '', // 银行卡号
|
||||||
|
certiIsLong: '', //是否长期
|
||||||
isPettyCase: '0' //小额案件
|
isPettyCase: '0' //小额案件
|
||||||
// hospital: '', // 治疗医院
|
// hospital: '', // 治疗医院
|
||||||
// sort: '0', //发票类型
|
// sort: '0', //发票类型
|
||||||
@@ -640,6 +641,7 @@ export default {
|
|||||||
this.userInfo.applyerBirthday = Detail[0][0].customerBirthday //出生日期
|
this.userInfo.applyerBirthday = Detail[0][0].customerBirthday //出生日期
|
||||||
this.effectiveDateType = Detail[0][0].isEndDate == '9999-01-01' //是否长期
|
this.effectiveDateType = Detail[0][0].isEndDate == '9999-01-01' //是否长期
|
||||||
this.userInfo.applyerCertiEndDate = Detail[0][0].isEndDate == '9999-01-01' ? '2010-01-01' : Detail[0][0].isEndDate //截止日期
|
this.userInfo.applyerCertiEndDate = Detail[0][0].isEndDate == '9999-01-01' ? '2010-01-01' : Detail[0][0].isEndDate //截止日期
|
||||||
|
this.userInfo.certiIsLong = Detail[0][0].isEndDate == '9999-01-01' ? '1' : '0' //是否长期 0-否,1-是
|
||||||
this.userInfo.applyerNationatlity = Detail[0][0].nationality
|
this.userInfo.applyerNationatlity = Detail[0][0].nationality
|
||||||
this.userInfo.applyerEmail = Detail[0][0].customerEmail
|
this.userInfo.applyerEmail = Detail[0][0].customerEmail
|
||||||
this.userInfo.applyerMobile = Detail[0][0].customerMobile
|
this.userInfo.applyerMobile = Detail[0][0].customerMobile
|
||||||
@@ -698,6 +700,7 @@ export default {
|
|||||||
return this.$toast(idToData(val).text)
|
return this.$toast(idToData(val).text)
|
||||||
}
|
}
|
||||||
this.effectiveDateType = false
|
this.effectiveDateType = false
|
||||||
|
this.userInfo.certiIsLong = '0'
|
||||||
this.effectiveDateTypeAble = idToData(val).age <= 45
|
this.effectiveDateTypeAble = idToData(val).age <= 45
|
||||||
this.userInfo.applyerSex = idToData(val).sex
|
this.userInfo.applyerSex = idToData(val).sex
|
||||||
},
|
},
|
||||||
@@ -753,6 +756,11 @@ export default {
|
|||||||
this.userInfo.applyerOccuName = applicant.insuredOccuName //被保险人职业名称
|
this.userInfo.applyerOccuName = applicant.insuredOccuName //被保险人职业名称
|
||||||
this.userInfo.applyerSex = applicant.insuredSex //被保险人性别
|
this.userInfo.applyerSex = applicant.insuredSex //被保险人性别
|
||||||
this.userInfo.applyerBirthday = applicant.insuredBirthday //被保险人生日
|
this.userInfo.applyerBirthday = applicant.insuredBirthday //被保险人生日
|
||||||
|
this.userInfo.applyerAddr = applicant.insuredAddr //被保险人联系地址详细地址
|
||||||
|
this.effectiveDateType = applicant.certiTypeEndDate == '9999-09-09' //是否长期
|
||||||
|
this.userInfo.applyerCertiEndDate = applicant.certiTypeEndDate == '9999-09-09' ? '' : applicant.certiTypeEndDate //截止日期
|
||||||
|
this.userInfo.certiIsLong = applicant.certiTypeEndDate == '9999-09-09' ? '1' : '0' //是否长期 0-否,1-是
|
||||||
|
console.log('this.userInfo == ', this.userInfo)
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
@@ -771,9 +779,16 @@ export default {
|
|||||||
//身份证以外的证件类型可以使用长期
|
//身份证以外的证件类型可以使用长期
|
||||||
if (value.id != '1') {
|
if (value.id != '1') {
|
||||||
this.effectiveDateTypeAble = false
|
this.effectiveDateTypeAble = false
|
||||||
|
//1-是 0-否
|
||||||
} else {
|
} else {
|
||||||
//let age = utilsAge.getAge(this.userInfo.idNo, new Date())
|
// let age = utilsAge.getAge(this.userInfo.idNo, new Date())
|
||||||
//this.effectiveDateTypeAble = age <= 45
|
// this.effectiveDateTypeAble = age <= 45
|
||||||
|
this.userInfo.applyerCertiEndDate = ''
|
||||||
|
this.effectiveDateType = false
|
||||||
|
this.userInfo.certiIsLong = this.effectiveDateType ? '1' : '0'
|
||||||
|
if (this.userInfo.applyerCertiCode) {
|
||||||
|
this.effectiveDateTypeAble = idToData(this.userInfo.applyerCertiCode).age <= 45
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.userInfo.applyerCertiType = value.id
|
this.userInfo.applyerCertiType = value.id
|
||||||
} else if (this.pickerType == '3') {
|
} else if (this.pickerType == '3') {
|
||||||
@@ -807,6 +822,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
// 勾选长期
|
// 勾选长期
|
||||||
that.effectiveDateType = true
|
that.effectiveDateType = true
|
||||||
|
this.userInfo.certiIsLong = '1'
|
||||||
// 长期按钮不禁用
|
// 长期按钮不禁用
|
||||||
that.effectiveDateTypeAble = false
|
that.effectiveDateTypeAble = false
|
||||||
// 证件截止日期不需要校验
|
// 证件截止日期不需要校验
|
||||||
@@ -894,9 +910,11 @@ export default {
|
|||||||
if (val) {
|
if (val) {
|
||||||
this.userInfo.applyerCertiEndDate = ''
|
this.userInfo.applyerCertiEndDate = ''
|
||||||
this.certiexpiredateRequired = false
|
this.certiexpiredateRequired = false
|
||||||
|
this.userInfo.certiIsLong = '1'
|
||||||
} else {
|
} else {
|
||||||
this.userInfo.applyerCertiEndDate = ''
|
this.userInfo.applyerCertiEndDate = ''
|
||||||
this.certiexpiredateRequired = true
|
this.certiexpiredateRequired = true
|
||||||
|
this.userInfo.certiIsLong = '0'
|
||||||
}
|
}
|
||||||
effectiveDataTypeChange(this, val)
|
effectiveDataTypeChange(this, val)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -234,7 +234,8 @@ export default {
|
|||||||
insuredCounty: '', //新增字段被保人所在区/县
|
insuredCounty: '', //新增字段被保人所在区/县
|
||||||
insuredAddr: '', //被保人详细地址
|
insuredAddr: '', //被保人详细地址
|
||||||
businessNo: '', //业务号码
|
businessNo: '', //业务号码
|
||||||
insuredNo: '' //被保人编号
|
insuredNo: '', //被保人编号
|
||||||
|
certiIsLong: '' //是否长期
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -294,10 +295,13 @@ export default {
|
|||||||
}
|
}
|
||||||
//如果证件校验不通过,恢复默认值
|
//如果证件校验不通过,恢复默认值
|
||||||
if (idToData(val).text) {
|
if (idToData(val).text) {
|
||||||
;[this.userInfo.certiCode, this.userInfo.insuredSex] = ['', '0']
|
;[this.userInfo.certiCode, this.userInfo.insuredSex, this.effectiveDateTypeAble] = ['', '0', false]
|
||||||
return this.$toast(idToData(val).text)
|
return this.$toast(idToData(val).text)
|
||||||
}
|
}
|
||||||
|
this.effectiveDateType = false
|
||||||
|
this.userInfo.certiIsLong = '0'
|
||||||
this.userInfo.insuredSex = idToData(val).sex
|
this.userInfo.insuredSex = idToData(val).sex
|
||||||
|
this.effectiveDateTypeAble = idToData(val).age <= 45
|
||||||
},
|
},
|
||||||
//弹框选择
|
//弹框选择
|
||||||
toSelect(pickerType, valueKey) {
|
toSelect(pickerType, valueKey) {
|
||||||
@@ -355,11 +359,12 @@ export default {
|
|||||||
this.popupShow = false
|
this.popupShow = false
|
||||||
if (this.pickerType == '2') {
|
if (this.pickerType == '2') {
|
||||||
// 身份证以外的证件类型可以使用长期
|
// 身份证以外的证件类型可以使用长期
|
||||||
if (value.id != '0') {
|
if (value.id != '1') {
|
||||||
this.effectiveDateTypeAble = false
|
this.effectiveDateTypeAble = false
|
||||||
} else {
|
} else {
|
||||||
this.effectiveDateType = ''
|
this.effectiveDateType = false
|
||||||
this.userInfo.certiTypeEndDate = ''
|
this.userInfo.certiTypeEndDate = ''
|
||||||
|
this.userInfo.certiIsLong = this.effectiveDateType ? '1' : '0'
|
||||||
let age = utilsAge.getAge(this.userInfo.certiCode, new Date())
|
let age = utilsAge.getAge(this.userInfo.certiCode, new Date())
|
||||||
this.effectiveDateTypeAble = age <= 45
|
this.effectiveDateTypeAble = age <= 45
|
||||||
}
|
}
|
||||||
@@ -373,8 +378,10 @@ export default {
|
|||||||
if (val) {
|
if (val) {
|
||||||
this.userInfo.certiTypeEndDate = ''
|
this.userInfo.certiTypeEndDate = ''
|
||||||
this.certiexpiredateRequired = false
|
this.certiexpiredateRequired = false
|
||||||
|
this.userInfo.certiIsLong = '1'
|
||||||
} else {
|
} else {
|
||||||
this.certiexpiredateRequired = true
|
this.certiexpiredateRequired = true
|
||||||
|
this.userInfo.certiIsLong = '0'
|
||||||
}
|
}
|
||||||
// effectiveDataTypeChange(this, val)
|
// effectiveDataTypeChange(this, val)
|
||||||
},
|
},
|
||||||
@@ -423,6 +430,7 @@ export default {
|
|||||||
this.userInfo.insuredCity = Detail[0][0].city //联系市
|
this.userInfo.insuredCity = Detail[0][0].city //联系市
|
||||||
this.userInfo.insuredCounty = Detail[0][0].area //联系区
|
this.userInfo.insuredCounty = Detail[0][0].area //联系区
|
||||||
this.effectiveDateType = Detail[0][0].isEndDate == '9999-01-01' //是否长期
|
this.effectiveDateType = Detail[0][0].isEndDate == '9999-01-01' //是否长期
|
||||||
|
this.userInfo.certiIsLong = Detail[0][0].isEndDate == '9999-01-01' ? '1' : '0' //是否长期 0-否,1-是
|
||||||
this.userInfo.certiTypeEndDate = Detail[0][0].isEndDate == '9999-01-01' ? '2010-01-01' : Detail[0][0].isEndDate //截止日期
|
this.userInfo.certiTypeEndDate = Detail[0][0].isEndDate == '9999-01-01' ? '2010-01-01' : Detail[0][0].isEndDate //截止日期
|
||||||
this.userInfo.insuredOccuCode = Detail[0][0].occuCode //职业编码
|
this.userInfo.insuredOccuCode = Detail[0][0].occuCode //职业编码
|
||||||
let result = this.showOccuName(Detail[0][0].occuCode)
|
let result = this.showOccuName(Detail[0][0].occuCode)
|
||||||
@@ -532,7 +540,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
save() {
|
save() {
|
||||||
console.log('save ==', localStorage.businessNo)
|
|
||||||
if (localStorage.businessNo) {
|
if (localStorage.businessNo) {
|
||||||
this.userInfo.businessNo = localStorage.businessNo
|
this.userInfo.businessNo = localStorage.businessNo
|
||||||
}
|
}
|
||||||
@@ -547,6 +554,7 @@ export default {
|
|||||||
slaveStatus: this.slaveStatus,
|
slaveStatus: this.slaveStatus,
|
||||||
claimApplyInsuredReqDTO: this.userInfo
|
claimApplyInsuredReqDTO: this.userInfo
|
||||||
}
|
}
|
||||||
|
console.log('save ==', data)
|
||||||
apply(data).then(res => {
|
apply(data).then(res => {
|
||||||
console.log('res', res)
|
console.log('res', res)
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
|
|||||||
@@ -216,7 +216,8 @@ export default {
|
|||||||
amtFormat: filters.amtFormat, //保额格式化
|
amtFormat: filters.amtFormat, //保额格式化
|
||||||
wxTitle: '',
|
wxTitle: '',
|
||||||
dutyLst: [],
|
dutyLst: [],
|
||||||
mainRiskCodes: []
|
mainRiskCodes: [],
|
||||||
|
chooseProductCodes: [] // 已选产品列表
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -381,7 +382,6 @@ export default {
|
|||||||
this.getWXTitle(this.insuredDTOs) //获取微信标题
|
this.getWXTitle(this.insuredDTOs) //获取微信标题
|
||||||
let active = this.insuredDTOs.length //默认展开项
|
let active = this.insuredDTOs.length //默认展开项
|
||||||
this.activeNames = [active]
|
this.activeNames = [active]
|
||||||
|
|
||||||
this.insuredDTOs.forEach(item => {
|
this.insuredDTOs.forEach(item => {
|
||||||
if (item.riskDTOLst && item.riskDTOLst.length > 0) {
|
if (item.riskDTOLst && item.riskDTOLst.length > 0) {
|
||||||
item.riskDTOLst.forEach(ele => {
|
item.riskDTOLst.forEach(ele => {
|
||||||
@@ -390,7 +390,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
localStorage.pdfShareCode = this.chooseProductCodes[0]
|
localStorage.pdfShareCode = this.chooseProductCodes[0]
|
||||||
console.log('localStorage.pdfShareCodes == ', localStorage.pdfShareCodes)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//获取微信分享的标题
|
//获取微信分享的标题
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log('localStorage.pdfShareCode =pdf = ', localStorage.pdfShareCode)
|
|
||||||
let riskCode = localStorage.pdfShareCode
|
let riskCode = localStorage.pdfShareCode
|
||||||
dataDictionary.riskType.some(item => {
|
dataDictionary.riskType.some(item => {
|
||||||
if (item.code == riskCode) {
|
if (item.code == riskCode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user