开门红需求-电投提示:电投提示处理初版代码提交 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2020-11-11 10:49:57 +08:00
parent ed7d5575ef
commit d6eaf1ea2f

View File

@@ -375,7 +375,6 @@ export default {
let resultData = await getOrderActiveInfo(param) let resultData = await getOrderActiveInfo(param)
if (resultData.result == 0) { if (resultData.result == 0) {
if (resultData.content.activeFlag != '1') { if (resultData.content.activeFlag != '1') {
// todo 弹框 显示
this.active_show = true this.active_show = true
return return
} }
@@ -396,31 +395,43 @@ export default {
}) })
}, },
comfirmCheckActive() { comfirmCheckActive() {
let param = { if (this.active_radio == '1') {
orderDTO: { let param = {
orderInfoDTO: { orderDTO: {
orderNo: localStorage.orderNo, orderInfoDTO: {
activeType: 'KMH' orderNo: localStorage.orderNo,
activeType: 'KMH'
}
} }
} }
saveOrderActiveType(param).then(res => {
this.active_show = false
localStorage.setItem('active_type', 'KMH')
if (res.result == 0) {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/common/mainRiskList'
},
routerInfo: {
path: '/common/mainRiskList'
}
})
} else {
this.$toast(res.resultMessage)
}
})
} else {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/common/mainRiskList'
},
routerInfo: {
path: '/common/mainRiskList'
}
})
} }
saveOrderActiveType(param).then(res => {
this.active_show = false
localStorage.setItem('active_type', 'KMH')
if (res.result == 0) {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/common/mainRiskList'
},
routerInfo: {
path: '/common/mainRiskList'
}
})
} else {
this.$toast(res.resultMessage)
}
})
}, },
showTipForDoubleRecord() { showTipForDoubleRecord() {
//判断投保人年龄是否大于等于60岁 //判断投保人年龄是否大于等于60岁