This commit is contained in:
皮伟
2019-12-09 15:42:20 +08:00

View File

@@ -12,7 +12,6 @@
label="申请人身份"
name="申请人身份"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('1')"
/>
@@ -728,7 +727,7 @@ export default {
;[this.popupShow, this.pickerType] = [true, pickerType]
if (valueKey) this.valueKey = valueKey
if (pickerType == '1') {
this.columns = DataDictionary.applicantStatus
this.columns = DataDictionary.lpApplicantStatus
} else if (pickerType == '2') {
this.columns = DataDictionary.lpIdType
} else if (pickerType == '3') {
@@ -751,11 +750,12 @@ export default {
},
//确认选择字段
onConfirm(value) {
console.log(value)
this.popupShow = false
if (this.pickerType == '1') {
this.userInfo.applyerRelation = value.id
//当申请人身份为本人时,请求基本客户信息
if (value.id == '01') {
if (value.id == '1') {
//被保人信息主键id
let Id = localStorage.claimId
let data = {
@@ -773,6 +773,7 @@ export default {
this.userInfo.applyerOccuCode = applicant.insuredOccuCode
this.userInfo.applyerOccuName = applicant.insuredOccuName
this.userInfo.applyerSex = applicant.insuredSex
this.userInfo.applyerBirthday = applicant.insuredBirthday
} else {
this.$toast(res.resultMessage)
}
@@ -785,6 +786,7 @@ export default {
this.userInfo.applyerOccuCode = ''
this.userInfo.applyerOccuName = ''
this.userInfo.applyerSex = '0'
this.userInfo.applyerBirthday = ''
}
} else if (this.pickerType == '2') {
//身份证以外的证件类型可以使用长期
@@ -925,7 +927,7 @@ export default {
// 获取银行卡列表
getBankList() {
let data = {
operateType: 'bank_type'
operateType: 'claim_bank_type'
}
getBankList(data).then(res => {
if (res.result == '0') {
@@ -934,7 +936,7 @@ export default {
item.id = item.code
item.text = item.bankName
})
res.content.splice(12, 1)
// res.content.splice(12, 1) //待确认
this.bankList = res.content
}
})