From d6eaf1ea2ff1a7de1cdf8fda8967ae3bc82700fd Mon Sep 17 00:00:00 2001 From: "yang.huaxiang" Date: Wed, 11 Nov 2020 10:49:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E9=97=A8=E7=BA=A2=E9=9C=80=E6=B1=82-?= =?UTF-8?q?=E7=94=B5=E6=8A=95=E6=8F=90=E7=A4=BA=EF=BC=9A=E7=94=B5=E6=8A=95?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=A4=84=E7=90=86=E5=88=9D=E7=89=88=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4=20--=E6=8F=90=E4=BA=A4=E4=BA=BA?= =?UTF-8?q?=EF=BC=9A=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/SelectedProduct.vue | 57 ++++++++++++++--------- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index d07cb6c96..da77965f1 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -375,7 +375,6 @@ export default { let resultData = await getOrderActiveInfo(param) if (resultData.result == 0) { if (resultData.content.activeFlag != '1') { - // todo 弹框 显示 this.active_show = true return } @@ -396,31 +395,43 @@ export default { }) }, comfirmCheckActive() { - let param = { - orderDTO: { - orderInfoDTO: { - orderNo: localStorage.orderNo, - activeType: 'KMH' + if (this.active_radio == '1') { + let param = { + orderDTO: { + orderInfoDTO: { + 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() { //判断投保人年龄是否大于等于60岁