[FIX]【理赔】申请人信息页-职业控件选择后隐藏问题修复

This commit is contained in:
yuweiqi
2020-05-27 14:09:28 +08:00
parent b5943fd16d
commit 58e21fc023

View File

@@ -562,11 +562,11 @@ export default {
next() next()
}, },
methods: { methods: {
init(){ init() {
let data = { let data = {
slaveStatus: this.slaveStatus, slaveStatus: this.slaveStatus,
businessNo: this.userInfo.businessNo businessNo: this.userInfo.businessNo
} }
query(data).then(res => { query(data).then(res => {
if (res.result == 0) { if (res.result == 0) {
console.log(res) console.log(res)
@@ -663,7 +663,7 @@ export default {
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
this.userInfo.applyerAddr = Detail[0][0].homeAddress.replace(/-/g,'') this.userInfo.applyerAddr = Detail[0][0].homeAddress.replace(/-/g, '')
this.userInfo.applyerOccuCode = Detail[0][0].occuCode //职业编码 this.userInfo.applyerOccuCode = Detail[0][0].occuCode //职业编码
let result = this.showOccuName(Detail[0][0].occuCode) let result = this.showOccuName(Detail[0][0].occuCode)
this.userInfo.applyerOccuName = result.applyerOccuName //职业名称 this.userInfo.applyerOccuName = result.applyerOccuName //职业名称
@@ -775,7 +775,7 @@ export default {
this.userInfo.applyerSex = applicant.insuredSex //被保险人性别 this.userInfo.applyerSex = applicant.insuredSex //被保险人性别
this.userInfo.applyerBirthday = applicant.insuredBirthday //被保险人生日 this.userInfo.applyerBirthday = applicant.insuredBirthday //被保险人生日
let tempStr = getAreaName([{ code: applicant.insuredProvince }, { code: applicant.insuredCity }, { code: applicant.insuredCounty }]) let tempStr = getAreaName([{ code: applicant.insuredProvince }, { code: applicant.insuredCity }, { code: applicant.insuredCounty }])
this.userInfo.applyerAddr = tempStr.replace(/-/g,'') + applicant.insuredAddr //被保险人联系地址详细地址 this.userInfo.applyerAddr = tempStr.replace(/-/g, '') + applicant.insuredAddr //被保险人联系地址详细地址
this.effectiveDateType = applicant.certiTypeEndDate == '9999-09-09' //是否长期 this.effectiveDateType = applicant.certiTypeEndDate == '9999-09-09' //是否长期
this.userInfo.applyerCertiEndDate = applicant.certiTypeEndDate == '9999-09-09' ? '' : applicant.certiTypeEndDate //截止日期 this.userInfo.applyerCertiEndDate = applicant.certiTypeEndDate == '9999-09-09' ? '' : applicant.certiTypeEndDate //截止日期
this.userInfo.certiIsLong = applicant.certiTypeEndDate == '9999-09-09' ? '1' : '0' //是否长期 0-否1-是 this.userInfo.certiIsLong = applicant.certiTypeEndDate == '9999-09-09' ? '1' : '0' //是否长期 0-否1-是
@@ -939,6 +939,13 @@ export default {
}, },
chooseOccupation() { chooseOccupation() {
this.occupationShowPicker = false this.occupationShowPicker = false
this.$jump({
flag: 'navigation',
extra: {
title: '申请信息',
hiddenRight: '1'
}
})
}, },
// 获取银行卡列表 // 获取银行卡列表
getBankList() { getBankList() {