mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 18:36:43 +08:00
建议书编辑功能试算页面保存试算接口入参添加主键id
This commit is contained in:
@@ -711,9 +711,7 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.chooseProducts = JSON.parse(res.content.trialJsonStr)
|
this.chooseProducts = JSON.parse(res.content.trialJsonStr)
|
||||||
this.result = {
|
this.trialRecordInfoId = res.content.id
|
||||||
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
@@ -3177,6 +3175,9 @@ export default {
|
|||||||
mainRiskId:insuanceId+'',
|
mainRiskId:insuanceId+'',
|
||||||
trialJsonStr:localStorage.chooseProducts
|
trialJsonStr:localStorage.chooseProducts
|
||||||
}
|
}
|
||||||
|
if(this.trialRecordInfoId){
|
||||||
|
data.id = this.trialRecordInfoId
|
||||||
|
}
|
||||||
saveOrUpdateTrialRecordInfo(data).then(res => {
|
saveOrUpdateTrialRecordInfo(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
//被保人产品列表界面 点击编辑按钮进入产品试算界面 点击完成 页面跳转不正确
|
//被保人产品列表界面 点击编辑按钮进入产品试算界面 点击完成 页面跳转不正确
|
||||||
|
|||||||
Reference in New Issue
Block a user