mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 06:16:44 +08:00
refactor(saleFlowProImprove): 优化受益人和被保人信息处理逻辑
- 将受益人信息保存任务改为异步调用 - 使用严格相等运算符替换松散比较 - 删除空媒体数据字段以避免无效提交
This commit is contained in:
@@ -284,8 +284,8 @@ export default {
|
|||||||
const taskID = 'saveBeneficiary'
|
const taskID = 'saveBeneficiary'
|
||||||
this.nextStepProcesserContainer.registerMainTask(
|
this.nextStepProcesserContainer.registerMainTask(
|
||||||
taskID,
|
taskID,
|
||||||
() => {
|
async () => {
|
||||||
return this.nextStep()
|
return await this.nextStep()
|
||||||
},
|
},
|
||||||
this.preTasks
|
this.preTasks
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1801,7 +1801,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.userInfo.mediaDTOS == '') {
|
if (this.userInfo.mediaDTOS === '') {
|
||||||
delete this.userInfo.mediaDTOS
|
delete this.userInfo.mediaDTOS
|
||||||
}
|
}
|
||||||
params.orderDTO.insuredDTOs = [this.userInfo]
|
params.orderDTO.insuredDTOs = [this.userInfo]
|
||||||
|
|||||||
Reference in New Issue
Block a user