mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 09:06:43 +08:00
健康告知页面未展开的告知内容无法校验必选问题处理
This commit is contained in:
@@ -449,13 +449,13 @@ export default {
|
|||||||
// 核保老师确认,只有财务告知第8项社保问题选【是】,不用展示上传资料按钮,其他健康告知或财务告知选【是】,都可以展示上传资料按钮
|
// 核保老师确认,只有财务告知第8项社保问题选【是】,不用展示上传资料按钮,其他健康告知或财务告知选【是】,都可以展示上传资料按钮
|
||||||
if (this.saleInsuredInfo.impartDTO.impartItemDTOS && this.saleInsuredInfo.impartDTO.impartItemDTOS.length > 0) {
|
if (this.saleInsuredInfo.impartDTO.impartItemDTOS && this.saleInsuredInfo.impartDTO.impartItemDTOS.length > 0) {
|
||||||
this.isNotify = this.saleInsuredInfo.impartDTO.impartItemDTOS.some((item) => {
|
this.isNotify = this.saleInsuredInfo.impartDTO.impartItemDTOS.some((item) => {
|
||||||
return item.impartAnswer != 1
|
return item.impartAnswer == 0
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (!this.isNotify) {
|
if (!this.isNotify) {
|
||||||
if (this.saleInsuredInfo.financeImpartDTO.impartItemDTOS && this.saleInsuredInfo.financeImpartDTO.impartItemDTOS.length > 0) {
|
if (this.saleInsuredInfo.financeImpartDTO.impartItemDTOS && this.saleInsuredInfo.financeImpartDTO.impartItemDTOS.length > 0) {
|
||||||
this.isNotify = this.saleInsuredInfo.financeImpartDTO.impartItemDTOS.some((item) => {
|
this.isNotify = this.saleInsuredInfo.financeImpartDTO.impartItemDTOS.some((item) => {
|
||||||
return item.impartAnswer != 1 && item.impartCode != 8
|
return item.impartAnswer == 0 && item.impartCode != 8
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -463,11 +463,11 @@ export default {
|
|||||||
if (this.saleInsuredPersonInfo.impartDTO.impartItemDTOS && this.saleInsuredPersonInfo.impartDTO.impartItemDTOS.length > 0) {
|
if (this.saleInsuredPersonInfo.impartDTO.impartItemDTOS && this.saleInsuredPersonInfo.impartDTO.impartItemDTOS.length > 0) {
|
||||||
if (this.saleInsuredPersonInfo.relationToAppnt == 1) {
|
if (this.saleInsuredPersonInfo.relationToAppnt == 1) {
|
||||||
this.isNotify = this.saleInsuredPersonInfo.impartDTO.impartItemDTOS.some((item) => {
|
this.isNotify = this.saleInsuredPersonInfo.impartDTO.impartItemDTOS.some((item) => {
|
||||||
return item.impartAnswer != 1
|
return item.impartAnswer == 0
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.isNotifyInsured = this.saleInsuredPersonInfo.impartDTO.impartItemDTOS.some((item) => {
|
this.isNotifyInsured = this.saleInsuredPersonInfo.impartDTO.impartItemDTOS.some((item) => {
|
||||||
return item.impartAnswer != 1
|
return item.impartAnswer == 0
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -476,7 +476,7 @@ export default {
|
|||||||
if (!this.isNotify) {
|
if (!this.isNotify) {
|
||||||
if (this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS && this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.length > 0) {
|
if (this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS && this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.length > 0) {
|
||||||
this.isNotify = this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.some((item) => {
|
this.isNotify = this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.some((item) => {
|
||||||
return item.impartAnswer != 1 && item.impartCode != 8
|
return item.impartAnswer == 0 && item.impartCode != 8
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -484,7 +484,7 @@ export default {
|
|||||||
if (!this.isNotifyInsured) {
|
if (!this.isNotifyInsured) {
|
||||||
if (this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS && this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.length > 0) {
|
if (this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS && this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.length > 0) {
|
||||||
this.isNotifyInsured = this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.some((item) => {
|
this.isNotifyInsured = this.saleInsuredPersonInfo.financeImpartDTO.impartItemDTOS.some((item) => {
|
||||||
return item.impartAnswer != 1 && item.impartCode != 8
|
return item.impartAnswer == 0 && item.impartCode != 8
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -481,7 +481,7 @@ export default {
|
|||||||
return y + m + d + h + minute + second
|
return y + m + d + h + minute + second
|
||||||
},
|
},
|
||||||
// 获取告知消息,
|
// 获取告知消息,
|
||||||
async information() {
|
information() {
|
||||||
let that = this
|
let that = this
|
||||||
let data = {
|
let data = {
|
||||||
productCodes: JSON.parse(localStorage.chooseProductCodes),
|
productCodes: JSON.parse(localStorage.chooseProductCodes),
|
||||||
@@ -489,7 +489,7 @@ export default {
|
|||||||
platform: 'app',
|
platform: 'app',
|
||||||
type: '2'
|
type: '2'
|
||||||
}
|
}
|
||||||
await information(data).then(res => {
|
information(data).then(res => {
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
res.productImpartLstDTO.impartDTOS.map(item => {
|
res.productImpartLstDTO.impartDTOS.map(item => {
|
||||||
@@ -552,23 +552,15 @@ export default {
|
|||||||
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
||||||
that.isShowList()
|
that.isShowList()
|
||||||
//投被同人时候判断
|
//投被同人时候判断
|
||||||
that.impartDTOS.map((item, index) => {
|
this.activeNames.push(res.productImpartLstDTO.impartDTOS.length)
|
||||||
that.activeNames.push(index+1)
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
||||||
that.isShowList()
|
that.isShowList()
|
||||||
//投被不同人时候判断
|
//投被不同人时候判断
|
||||||
that.impartDTOS.map((item, index) => {
|
this.activeNames.push(res.productImpartLstDTO.impartDTOS.length)
|
||||||
that.activeNames.push(index+1)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
console.log("0--activeNames="+this.activeNames)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 此处重新折叠面板,避免未展开的面板中 健康告知内容无法校验必选的问题
|
|
||||||
this.activeNames = [this.impartDTOS.length];
|
|
||||||
console.log("1--activeNames="+this.activeNames)
|
|
||||||
},
|
},
|
||||||
// 下一步
|
// 下一步
|
||||||
next() {
|
next() {
|
||||||
|
|||||||
Reference in New Issue
Block a user