mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 04:56:45 +08:00
Merge branch 'feature/GFRS-2301【需求】健康险渠道国富无忧卡金掌桂开发的需求' into dev
This commit is contained in:
@@ -12,7 +12,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<van-cell-group v-if="payStatus == 1">
|
<van-cell-group v-if="payStatus == 1">
|
||||||
<van-cell title="产品名称" :value="card.appntName" />
|
<!-- <van-cell title="产品名称" :value="card.appntName" /> -->
|
||||||
|
<van-cell title="付款人" :value="card.appntName" />
|
||||||
<van-cell title="支付金额" :value="`${payInfo.amnt}元` | moneyFormat" v-if="payInfo.amnt != ''" />
|
<van-cell title="支付金额" :value="`${payInfo.amnt}元` | moneyFormat" v-if="payInfo.amnt != ''" />
|
||||||
<van-cell v-if="card.bankCode" title="卡号" :value="card.bankCode" />
|
<van-cell v-if="card.bankCode" title="卡号" :value="card.bankCode" />
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
|
|||||||
@@ -85,29 +85,41 @@ export default {
|
|||||||
// })
|
// })
|
||||||
},
|
},
|
||||||
gotoInformation() {
|
gotoInformation() {
|
||||||
Dialog.confirm({
|
if (this.productCode == 'GFRS_M0041') {
|
||||||
title: '温馨提示',
|
Dialog.confirm({
|
||||||
messageAlign:'left',
|
title: '温馨提示',
|
||||||
confirmButtonColor:'#ee0a24',
|
messageAlign: 'left',
|
||||||
confirmButtonText:'立即投保',
|
confirmButtonColor: '#ee0a24',
|
||||||
cancelButtonText:'返回',
|
confirmButtonText: '立即投保',
|
||||||
message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。<br/>2.您的投保过程和操作将被记录。`,
|
cancelButtonText: '返回',
|
||||||
})
|
message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。<br/>2.您的投保过程和操作将被记录。`,
|
||||||
.then(() => {
|
})
|
||||||
// on confirm
|
.then(() => {
|
||||||
this.$jump({
|
// on confirm
|
||||||
flag: 'h5',
|
this.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/cardList/information',
|
extra: {
|
||||||
},
|
url: location.origin + '/#/cardList/information',
|
||||||
routerInfo: {
|
},
|
||||||
path: '/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) {
|
async getData(code) {
|
||||||
let data = {
|
let data = {
|
||||||
@@ -166,7 +178,7 @@ export default {
|
|||||||
await getProductInfo(data)
|
await getProductInfo(data)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
this.trialInfos = res.trialDTOS[0].productTrialInfoDTO
|
this.trialInfos = res.trialDTOS[0].productTrialInfoDTO
|
||||||
let resultData = res.trialDTOS[0]
|
let resultData = res.trialDTOS[0]
|
||||||
if (resultData.productTrialInfoDTO.dutyGroup != null) {
|
if (resultData.productTrialInfoDTO.dutyGroup != null) {
|
||||||
resultData.productTrialInfoDTO.dutyGroup.map((item) => {
|
resultData.productTrialInfoDTO.dutyGroup.map((item) => {
|
||||||
@@ -229,7 +241,7 @@ export default {
|
|||||||
insureTrial(data)
|
insureTrial(data)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log('resrrrrrr', res)
|
console.log('resrrrrrr', res)
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
CacheUtils.setLocItem('trialList', JSON.stringify(res.trialList))
|
CacheUtils.setLocItem('trialList', JSON.stringify(res.trialList))
|
||||||
} else {
|
} else {
|
||||||
Toast.fail(res.resultMessage)
|
Toast.fail(res.resultMessage)
|
||||||
|
|||||||
Reference in New Issue
Block a user