mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-18 03:56:43 +08:00
提交告知问题
This commit is contained in:
@@ -248,12 +248,77 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (financeImpartDTO == {}) {
|
||||||
let data = {
|
let data = {
|
||||||
orderType: 'IMPART_ORDER',
|
orderType: 'IMPART_ORDER',
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
orderNo: window.localStorage.getItem('orderNo')
|
orderNo: window.localStorage.getItem('orderNo')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 投保人
|
||||||
|
appntDTO: {
|
||||||
|
impartDTO: obj
|
||||||
|
},
|
||||||
|
// 被保人
|
||||||
|
insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
saveInformation(data).then(res => {
|
||||||
|
if (res.result == '0') {
|
||||||
|
that.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/accountInformation'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/accountInformation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$toast(res.resultMessage)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (financeImpart == {}) {
|
||||||
|
let data = {
|
||||||
|
orderType: 'IMPART_ORDER',
|
||||||
|
orderDTO: {
|
||||||
|
orderInfoDTO: {
|
||||||
|
orderNo: window.localStorage.getItem('orderNo')
|
||||||
|
},
|
||||||
|
|
||||||
|
// 投保人
|
||||||
|
appntDTO: {
|
||||||
|
impartDTO: obj,
|
||||||
|
financeImpartDTO: financeImpartDTO
|
||||||
|
},
|
||||||
|
// 被保人
|
||||||
|
insuredDTOs: [{ impartDTO: objInsured }]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
saveInformation(data).then(res => {
|
||||||
|
if (res.result == '0') {
|
||||||
|
that.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/accountInformation'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/accountInformation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$toast(res.resultMessage)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
let data = {
|
||||||
|
orderType: 'IMPART_ORDER',
|
||||||
|
orderDTO: {
|
||||||
|
orderInfoDTO: {
|
||||||
|
orderNo: window.localStorage.getItem('orderNo')
|
||||||
|
},
|
||||||
|
|
||||||
// 投保人
|
// 投保人
|
||||||
appntDTO: {
|
appntDTO: {
|
||||||
impartDTO: obj,
|
impartDTO: obj,
|
||||||
@@ -278,6 +343,7 @@ export default {
|
|||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$toast(this.$validator.errors.all()[0])
|
this.$toast(this.$validator.errors.all()[0])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user