mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 08:46:43 +08:00
hotfix: 电子投保单详情页面报错
1. 修改that为this
This commit is contained in:
@@ -120,9 +120,8 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
let that = this
|
||||
// 获取保单详情
|
||||
that.getPolicyDetail()
|
||||
this.getPolicyDetail()
|
||||
},
|
||||
components: {
|
||||
[Collapse.name]: Collapse,
|
||||
@@ -197,7 +196,7 @@ export default {
|
||||
res.orderDTO.appntDTO.idType = '港澳台居民居住证'
|
||||
break
|
||||
}
|
||||
that.appntDTO = res.orderDTO.appntDTO
|
||||
this.appntDTO = res.orderDTO.appntDTO
|
||||
res.orderDTO.insuredDTOs.map(item => {
|
||||
item.riskDTOLst.map(it => {
|
||||
if (it.insuYearFlag == 'Y') {
|
||||
@@ -338,7 +337,7 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
that.insuredDTOs = res.orderDTO.insuredDTOs
|
||||
this.insuredDTOs = res.orderDTO.insuredDTOs
|
||||
// 格式化
|
||||
this.list = formatAllRisk(this.insuredDTOs[0].riskDTOLst)
|
||||
} else {
|
||||
@@ -362,7 +361,8 @@ export default {
|
||||
this.$toast(problemResult.resultMessage)
|
||||
}
|
||||
} catch (error) {
|
||||
this.$toast('网络异常,')
|
||||
console.log(error)
|
||||
this.$toast('网络异常')
|
||||
}
|
||||
},
|
||||
mapOrderState(state) {
|
||||
|
||||
Reference in New Issue
Block a user