mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 06:06:43 +08:00
【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】团险与非团险支付分享页面统一脚本,支付分享页面添加isGroupCard:'' //1 团险标识
This commit is contained in:
@@ -288,7 +288,8 @@ export default {
|
|||||||
isAreaListShow: false,
|
isAreaListShow: false,
|
||||||
accBankProvince: '',
|
accBankProvince: '',
|
||||||
accBankCity: '',
|
accBankCity: '',
|
||||||
areaStr: ''
|
areaStr: '',
|
||||||
|
isGroupCard:'' //1 团险标识
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -298,7 +299,7 @@ export default {
|
|||||||
riskName: orderDetail.insuredDTOs[0].riskDTOLst[0].riskName,
|
riskName: orderDetail.insuredDTOs[0].riskDTOLst[0].riskName,
|
||||||
appntName: orderDetail.appntDTO.name,
|
appntName: orderDetail.appntDTO.name,
|
||||||
insuredName: orderDetail.insuredDTOs,
|
insuredName: orderDetail.insuredDTOs,
|
||||||
orderAmount: orderDetail.insuredDTOs[0].riskDTOLst[0].prem,
|
orderAmount: orderDetail.orderInfoDTO.orderAmount,
|
||||||
schemeName: orderDetail.insuredDTOs[0].riskDTOLst[0].proScheme,
|
schemeName: orderDetail.insuredDTOs[0].riskDTOLst[0].proScheme,
|
||||||
idType: orderDetail.appntDTO.idType,
|
idType: orderDetail.appntDTO.idType,
|
||||||
bankCode: orderDetail.orderAccountDTO.cardBookCode,
|
bankCode: orderDetail.orderAccountDTO.cardBookCode,
|
||||||
@@ -532,7 +533,7 @@ export default {
|
|||||||
// cardBookCode: res.orderDTO.orderAccountDTO.cardBookCode,
|
// cardBookCode: res.orderDTO.orderAccountDTO.cardBookCode,
|
||||||
schemeName: res.orderDTO.insuredDTOs[0].riskDTOLst[0].proScheme,
|
schemeName: res.orderDTO.insuredDTOs[0].riskDTOLst[0].proScheme,
|
||||||
idType: res.orderDTO.appntDTO.idType,
|
idType: res.orderDTO.appntDTO.idType,
|
||||||
orderAmount: res.orderDTO.insuredDTOs[0].riskDTOLst[0].prem,
|
orderAmount: res.orderDTO.orderInfoDTO.orderAmount,
|
||||||
orderNo: res.orderDTO.orderAccountDTO.orderNo,
|
orderNo: res.orderDTO.orderAccountDTO.orderNo,
|
||||||
result: '',
|
result: '',
|
||||||
resultMessage: '交易处理成功',
|
resultMessage: '交易处理成功',
|
||||||
@@ -545,7 +546,9 @@ export default {
|
|||||||
this.underWriteData.cardBookCode =
|
this.underWriteData.cardBookCode =
|
||||||
res.orderDTO.orderAccountDTO.cardBookCode !== null ? res.orderDTO.orderAccountDTO.cardBookCode : this.$route.query.bankCode
|
res.orderDTO.orderAccountDTO.cardBookCode !== null ? res.orderDTO.orderAccountDTO.cardBookCode : this.$route.query.bankCode
|
||||||
this.bankListName = res.orderDTO.orderAccountDTO.bankName !== null ? res.orderDTO.orderAccountDTO.bankName : this.$route.query.bankListName
|
this.bankListName = res.orderDTO.orderAccountDTO.bankName !== null ? res.orderDTO.orderAccountDTO.bankName : this.$route.query.bankListName
|
||||||
// if (this.isWeixin) {
|
// isGroupCard 1 团险标识
|
||||||
|
this.isGroupCard = res.orderDTO.orderInfoDTO.isGroupCard
|
||||||
|
// if (this.isWeixin) {
|
||||||
// this.pay()
|
// this.pay()
|
||||||
// }
|
// }
|
||||||
} else {
|
} else {
|
||||||
@@ -815,7 +818,7 @@ export default {
|
|||||||
localStorage.bankCode = this.underWriteData.bankCode
|
localStorage.bankCode = this.underWriteData.bankCode
|
||||||
localStorage.bankListName = this.bankListName
|
localStorage.bankListName = this.bankListName
|
||||||
let res = await getShareParam({ shareType: 'card_pay' })
|
let res = await getShareParam({ shareType: 'card_pay' })
|
||||||
let url = location.origin + '/#/cardList/phoneCode?orderNo=' + localStorage.orderNo + '&token=' + res.content
|
let url = location.origin + '/#/cardList/phoneCode?orderNo=' + localStorage.orderNo + '&token=' + res.content + '&isGroupCard=' + this.isGroupCard
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
EWebBridge.webCallAppInJs('bridge', {
|
EWebBridge.webCallAppInJs('bridge', {
|
||||||
flag: 'share',
|
flag: 'share',
|
||||||
|
|||||||
@@ -289,7 +289,8 @@ export default {
|
|||||||
isAreaListShow: false,
|
isAreaListShow: false,
|
||||||
accBankProvince: '',
|
accBankProvince: '',
|
||||||
accBankCity: '',
|
accBankCity: '',
|
||||||
areaStr: ''
|
areaStr: '',
|
||||||
|
isGroupCard:'' //1 团险标识
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -547,6 +548,8 @@ export default {
|
|||||||
this.underWriteData.cardBookCode =
|
this.underWriteData.cardBookCode =
|
||||||
res.orderDTO.orderAccountDTO.cardBookCode !== null ? res.orderDTO.orderAccountDTO.cardBookCode : this.$route.query.bankCode
|
res.orderDTO.orderAccountDTO.cardBookCode !== null ? res.orderDTO.orderAccountDTO.cardBookCode : this.$route.query.bankCode
|
||||||
this.bankListName = res.orderDTO.orderAccountDTO.bankName !== null ? res.orderDTO.orderAccountDTO.bankName : this.$route.query.bankListName
|
this.bankListName = res.orderDTO.orderAccountDTO.bankName !== null ? res.orderDTO.orderAccountDTO.bankName : this.$route.query.bankListName
|
||||||
|
// isGroupCard 1 团险标识
|
||||||
|
this.isGroupCard = res.orderDTO.orderInfoDTO.isGroupCard
|
||||||
// if (this.isWeixin) {
|
// if (this.isWeixin) {
|
||||||
// this.pay()
|
// this.pay()
|
||||||
// }
|
// }
|
||||||
@@ -817,7 +820,7 @@ export default {
|
|||||||
localStorage.bankCode = this.underWriteData.bankCode
|
localStorage.bankCode = this.underWriteData.bankCode
|
||||||
localStorage.bankListName = this.bankListName
|
localStorage.bankListName = this.bankListName
|
||||||
let res = await getShareParam({ shareType: 'card_pay' })
|
let res = await getShareParam({ shareType: 'card_pay' })
|
||||||
let url = location.origin + '/#/cardList/phoneCode?orderNo=' + localStorage.orderNo + '&token=' + res.content
|
let url = location.origin + '/#/cardList/phoneCode?orderNo=' + localStorage.orderNo + '&token=' + res.content + '&isGroupCard=' + this.isGroupCard
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
EWebBridge.webCallAppInJs('bridge', {
|
EWebBridge.webCallAppInJs('bridge', {
|
||||||
flag: 'share',
|
flag: 'share',
|
||||||
|
|||||||
@@ -64,10 +64,16 @@ export default {
|
|||||||
code: this.userInfo.authCode,
|
code: this.userInfo.authCode,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
|
let url
|
||||||
|
if(this.$route.query.isGroupCard == '1'){
|
||||||
|
url = `/#/cardList/GroupCheckInfo?cardOrderNo=`+ this.$route.query.orderNo
|
||||||
|
}else{
|
||||||
|
url = `/#/cardList/cardDetail`
|
||||||
|
}
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
url: location.origin + `/#/cardList/cardDetail`,
|
url: location.origin + url,
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: `/cardList/cardDetail`,
|
path: `/cardList/cardDetail`,
|
||||||
|
|||||||
Reference in New Issue
Block a user