mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 09:56:45 +08:00
[FIX]【保全】受益人变更—确认页受益份额显示问题、添加指定受益人客户列表右上角×无效;【保全】影像上传界面title修改;【保全】保全-续期账号变更-搜索客户界面-查询出结果之后点击取消,将数据清空
This commit is contained in:
@@ -99,7 +99,7 @@ export default [
|
|||||||
name: 'PcImageUpload',
|
name: 'PcImageUpload',
|
||||||
component: PcImageUpload,
|
component: PcImageUpload,
|
||||||
meta: {
|
meta: {
|
||||||
title: '续期账号图片上传',
|
title: '影像资料上传',
|
||||||
index: 1
|
index: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -173,7 +173,7 @@ export default [
|
|||||||
name: 'BcImageUpload',
|
name: 'BcImageUpload',
|
||||||
component: BcImageUpload,
|
component: BcImageUpload,
|
||||||
meta: {
|
meta: {
|
||||||
title: '上传影像资料',
|
title: '影像资料上传',
|
||||||
index: 1
|
index: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -210,7 +210,7 @@ export default [
|
|||||||
name: 'CtImageUpload',
|
name: 'CtImageUpload',
|
||||||
component: CtImageUpload,
|
component: CtImageUpload,
|
||||||
meta: {
|
meta: {
|
||||||
title: '影像上传',
|
title: '影像资料上传',
|
||||||
index: 1
|
index: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -247,7 +247,7 @@ export default [
|
|||||||
name: 'CtImageUpload',
|
name: 'CtImageUpload',
|
||||||
component: WtImageUpload,
|
component: WtImageUpload,
|
||||||
meta: {
|
meta: {
|
||||||
title: '影像上传',
|
title: '影像资料上传',
|
||||||
index: 1
|
index: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p class="mt10">
|
<p class="mt10">
|
||||||
<span class="c-gray-dark">受益份额</span>
|
<span class="c-gray-dark">受益份额</span>
|
||||||
<span class="ml35">{{ parseInt(item.bnfLot) }}%</span>
|
<span class="ml35">{{ item.bnfLot | toPercent }}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@@ -218,6 +218,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
|
toPercent: filters.toPercent,
|
||||||
idToText: filters.idToText,
|
idToText: filters.idToText,
|
||||||
mask: filters.mask
|
mask: filters.mask
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -277,6 +277,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
window.appCallBack = this.appCallBack
|
||||||
this.policy = JSON.parse(localStorage['preserve-policy'])
|
this.policy = JSON.parse(localStorage['preserve-policy'])
|
||||||
this.bnfDTOs = this.policy.bnfDTOs.beneficiariesNew
|
this.bnfDTOs = this.policy.bnfDTOs.beneficiariesNew
|
||||||
this.isDetailFlag = this.policy.isDetailFlag
|
this.isDetailFlag = this.policy.isDetailFlag
|
||||||
@@ -295,6 +296,19 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
appCallBack(data) {
|
||||||
|
if (data.trigger == 'right_button_click') {
|
||||||
|
// 筛选按钮的点击事件
|
||||||
|
this.$jump({
|
||||||
|
flag: 'navigation',
|
||||||
|
extra: {
|
||||||
|
title: '投保人信息',
|
||||||
|
hiddenRight: '1'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.customerShowPicker = false
|
||||||
|
}
|
||||||
|
},
|
||||||
//监听名字变化
|
//监听名字变化
|
||||||
nameChange(name) {
|
nameChange(name) {
|
||||||
this.userInfo.name = name
|
this.userInfo.name = name
|
||||||
@@ -338,6 +352,7 @@ export default {
|
|||||||
this.effectiveDateTypeAble = false
|
this.effectiveDateTypeAble = false
|
||||||
//身份证以外的证件类型可以使用长期
|
//身份证以外的证件类型可以使用长期
|
||||||
if (value.id == '1') {
|
if (value.id == '1') {
|
||||||
|
console.log('确认选择字段')
|
||||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||||
this.effectiveDateTypeAble = age <= 45
|
this.effectiveDateTypeAble = age <= 45
|
||||||
} else {
|
} else {
|
||||||
@@ -405,6 +420,7 @@ export default {
|
|||||||
this.userInfo.birthday = data.birthday //出生日期
|
this.userInfo.birthday = data.birthday //出生日期
|
||||||
this.userInfo.idType = data.customerIdType //证件类型
|
this.userInfo.idType = data.customerIdType //证件类型
|
||||||
this.userInfo.idNo = data.customerIdNumber //证件号码
|
this.userInfo.idNo = data.customerIdNumber //证件号码
|
||||||
|
console.log('999999', data.idEffectEndDate)
|
||||||
if (data.idEffectEndDate == '9999-01-01') {
|
if (data.idEffectEndDate == '9999-01-01') {
|
||||||
this.userInfo.effectiveDateType = true //是否长期
|
this.userInfo.effectiveDateType = true //是否长期
|
||||||
} else {
|
} else {
|
||||||
@@ -432,6 +448,12 @@ export default {
|
|||||||
if (!this.userInfo.idExpDate && !this.userInfo.effectiveDateType) {
|
if (!this.userInfo.idExpDate && !this.userInfo.effectiveDateType) {
|
||||||
return this.$toast('证件截止日期不能为空')
|
return this.$toast('证件截止日期不能为空')
|
||||||
}
|
}
|
||||||
|
if (Date.parse(this.userInfo.idExpDate) < Date.parse(new Date()) && !this.userInfo.effectiveDateType) {
|
||||||
|
this.userInfo.idExpDate = ''
|
||||||
|
this.$refs.effectiveDate.date = ''
|
||||||
|
this.effectiveDateTypeAble = false
|
||||||
|
return this.$toast('您的证件已过期')
|
||||||
|
}
|
||||||
// 受益人是被保险人的配偶
|
// 受益人是被保险人的配偶
|
||||||
if (this.userInfo.relationToInsured == '01') {
|
if (this.userInfo.relationToInsured == '01') {
|
||||||
//如果性别男小于22岁 或者 性别女小于20岁
|
//如果性别男小于22岁 或者 性别女小于20岁
|
||||||
@@ -619,21 +641,26 @@ export default {
|
|||||||
if (this.userInfo.idType != '1') {
|
if (this.userInfo.idType != '1') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
console.log('张三丰', idToData(val).age)
|
||||||
// //如果证件校验不通过,恢复默认值
|
// //如果证件校验不通过,恢复默认值
|
||||||
if (idToData(val).text) {
|
if (idToData(val).text) {
|
||||||
;[this.userInfo.idNo, this.userInfo.sex, this.userInfo.birthday, this.effectiveDateTypeAble] = ['', '0', '', false]
|
;[this.userInfo.idNo, this.userInfo.sex, this.userInfo.birthday, this.effectiveDateTypeAble] = ['', '0', '', false]
|
||||||
return this.$toast(idToData(val).text)
|
return this.$toast(idToData(val).text)
|
||||||
}
|
}
|
||||||
this.userInfo.effectiveDateType = false
|
this.userInfo.effectiveDateType = false
|
||||||
this.effectiveDateTypeAble = idToData(val).age <= 45
|
if (from) {
|
||||||
this.userInfo.birthday = idToData(val).birthday
|
|
||||||
this.userInfo.sex = idToData(val).sex
|
|
||||||
if (idToData(val).age > 45) {
|
|
||||||
if (from) {
|
|
||||||
this.userInfo.effectiveDateType = true
|
|
||||||
}
|
|
||||||
this.effectiveDateTypeAble = false
|
this.effectiveDateTypeAble = false
|
||||||
}
|
}
|
||||||
|
this.userInfo.birthday = idToData(val).birthday
|
||||||
|
this.userInfo.sex = idToData(val).sex
|
||||||
|
// if (idToData(val).age > 45) {
|
||||||
|
// console.log('')
|
||||||
|
// if (from) {
|
||||||
|
// this.userInfo.effectiveDateType = true
|
||||||
|
// console.log('默认选长期')
|
||||||
|
// }
|
||||||
|
// this.effectiveDateTypeAble = false
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ export default {
|
|||||||
this.selected = 0
|
this.selected = 0
|
||||||
this.searchVal = ''
|
this.searchVal = ''
|
||||||
this.isSearch = true
|
this.isSearch = true
|
||||||
|
this.list = []
|
||||||
},
|
},
|
||||||
handleInput(val) {
|
handleInput(val) {
|
||||||
if (!this.isSearch && val == '') {
|
if (!this.isSearch && val == '') {
|
||||||
|
|||||||
@@ -161,5 +161,14 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
//小数转化为百分数
|
||||||
|
toPercent(point) {
|
||||||
|
if (Number(point) == 0) {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
let str = Number(point * 100).toFixed()
|
||||||
|
str += '%'
|
||||||
|
return str
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user