From c4ec4c0eb51a0339823856529e2d8e97102498ef Mon Sep 17 00:00:00 2001
From: proudlx <965752348@qq.com>
Date: Fri, 9 Apr 2021 16:52:46 +0800
Subject: [PATCH] =?UTF-8?q?'=E6=97=A0=E5=BF=A7=E5=8D=A1=E7=94=9F=E6=95=88?=
=?UTF-8?q?=E6=97=A5=E6=9C=9F=E9=AA=8C=E8=AF=81'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/cardList/PayResult.vue | 3 +-
src/views/ebiz/cardList/productDetails.vue | 58 +++++++++++++---------
2 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/src/views/ebiz/cardList/PayResult.vue b/src/views/ebiz/cardList/PayResult.vue
index 8533337c3..6cf16e678 100644
--- a/src/views/ebiz/cardList/PayResult.vue
+++ b/src/views/ebiz/cardList/PayResult.vue
@@ -12,7 +12,8 @@
-
+
+
diff --git a/src/views/ebiz/cardList/productDetails.vue b/src/views/ebiz/cardList/productDetails.vue
index 764e3de82..626659108 100644
--- a/src/views/ebiz/cardList/productDetails.vue
+++ b/src/views/ebiz/cardList/productDetails.vue
@@ -85,29 +85,41 @@ export default {
// })
},
gotoInformation() {
- Dialog.confirm({
- title: '温馨提示',
- messageAlign:'left',
- confirmButtonColor:'#ee0a24',
- confirmButtonText:'立即投保',
- cancelButtonText:'返回',
- message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。
2.您的投保过程和操作将被记录。`,
- })
- .then(() => {
- // on confirm
- this.$jump({
- flag: 'h5',
- extra: {
- url: location.origin + '/#/cardList/information',
- },
- routerInfo: {
- path: '/cardList/information',
- },
+ if (this.productCode == 'GFRS_M0041') {
+ Dialog.confirm({
+ title: '温馨提示',
+ messageAlign: 'left',
+ confirmButtonColor: '#ee0a24',
+ confirmButtonText: '立即投保',
+ cancelButtonText: '返回',
+ message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。
2.您的投保过程和操作将被记录。`,
+ })
+ .then(() => {
+ // on confirm
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/cardList/information',
+ },
+ routerInfo: {
+ path: '/cardList/information',
+ },
+ })
})
+ .catch(() => {
+ // on cancel
+ })
+ } else {
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/cardList/information',
+ },
+ routerInfo: {
+ path: '/cardList/information',
+ },
})
- .catch(() => {
- // on cancel
- })
+ }
},
async getData(code) {
let data = {
@@ -166,7 +178,7 @@ export default {
await getProductInfo(data)
.then((res) => {
if (res.result == 0) {
- this.trialInfos = res.trialDTOS[0].productTrialInfoDTO
+ this.trialInfos = res.trialDTOS[0].productTrialInfoDTO
let resultData = res.trialDTOS[0]
if (resultData.productTrialInfoDTO.dutyGroup != null) {
resultData.productTrialInfoDTO.dutyGroup.map((item) => {
@@ -229,7 +241,7 @@ export default {
insureTrial(data)
.then((res) => {
console.log('resrrrrrr', res)
- if (res.result == 0) {
+ if (res.result == 0) {
CacheUtils.setLocItem('trialList', JSON.stringify(res.trialList))
} else {
Toast.fail(res.resultMessage)