建议书编辑功能试算页面保存试算接口入参添加主键id

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-07-03 11:52:12 +08:00
parent 1cfc7cda8c
commit c83792a815

View File

@@ -711,9 +711,7 @@ export default {
}).then(res => {
if (res.result == '0') {
this.chooseProducts = JSON.parse(res.content.trialJsonStr)
this.result = {
}
this.trialRecordInfoId = res.content.id
} else {
this.$toast(res.resultMessage)
}
@@ -3177,6 +3175,9 @@ export default {
mainRiskId:insuanceId+'',
trialJsonStr:localStorage.chooseProducts
}
if(this.trialRecordInfoId){
data.id = this.trialRecordInfoId
}
saveOrUpdateTrialRecordInfo(data).then(res => {
if (res.result == '0') {
//被保人产品列表界面 点击编辑按钮进入产品试算界面 点击完成 页面跳转不正确