mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 16:26:45 +08:00
提交更新告知问题
This commit is contained in:
@@ -91,7 +91,9 @@ export default {
|
||||
saleInsuredPersonInfo: {},
|
||||
// 投被保人是否同人 1为同一个人
|
||||
relationToAppnt: '',
|
||||
// 是否可以点击
|
||||
// 产品编码
|
||||
productCodes: '',
|
||||
// 是否可以点击,
|
||||
isDisabled: false,
|
||||
saleInsuredAge: '',
|
||||
saleInsuredSex: '',
|
||||
@@ -127,7 +129,7 @@ export default {
|
||||
}
|
||||
})
|
||||
// this.relationToAppnt = `1`
|
||||
|
||||
this.productCodes = JSON.parse(localStorage.chooseProductCodes)
|
||||
this.information()
|
||||
},
|
||||
methods: {
|
||||
@@ -255,7 +257,29 @@ export default {
|
||||
}
|
||||
})
|
||||
})
|
||||
// 如果是国富民心展示被保人
|
||||
if (this.productCodes == 'GFRS_M0002' || this.productCodes == 'GFRS_M0003' || this.productCodes == 'GFRS_M0004') {
|
||||
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
||||
if (item.impartType == '0') {
|
||||
array.splice(index, 1)
|
||||
}
|
||||
if (item.impartType == '2') {
|
||||
array.splice(index, 1)
|
||||
}
|
||||
})
|
||||
}
|
||||
if (this.relationToAppnt == '1') {
|
||||
// 如果是国富民心展示被保人
|
||||
if (this.productCodes == 'GFRS_M0002' || this.productCodes == 'GFRS_M0003' || this.productCodes == 'GFRS_M0004') {
|
||||
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
||||
if (item.impartType == '0') {
|
||||
array.splice(index, 1)
|
||||
}
|
||||
if (item.impartType == '2') {
|
||||
array.splice(index, 1)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
||||
if (item.impartType == '1') {
|
||||
array.splice(index, 1)
|
||||
@@ -266,6 +290,8 @@ export default {
|
||||
array.splice(index, 1)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
||||
that.isShowList()
|
||||
//投被同人时候判断
|
||||
|
||||
Reference in New Issue
Block a user