mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 02:56:43 +08:00
签名确认页pdf阅读顺序修改
This commit is contained in:
@@ -141,7 +141,8 @@ export default {
|
|||||||
isWeixin,
|
isWeixin,
|
||||||
changeCard: localStorage.changeCard, //是否从修改银行卡号进来
|
changeCard: localStorage.changeCard, //是否从修改银行卡号进来
|
||||||
productCode: localStorage.productCode, //获取产品编号
|
productCode: localStorage.productCode, //获取产品编号
|
||||||
protocol: false
|
protocol: false,
|
||||||
|
documentCodeType: false,
|
||||||
// manageComCode:''//代理人管理机构 52贵州 45广西
|
// manageComCode:''//代理人管理机构 52贵州 45广西
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -181,6 +182,7 @@ export default {
|
|||||||
// this.manageComCode = dataReturn.manageComCode
|
// this.manageComCode = dataReturn.manageComCode
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.documentCodeType = localStorage.getItem('documentCodeType')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||||
@@ -188,6 +190,7 @@ export default {
|
|||||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||||
})
|
})
|
||||||
}, 100)
|
}, 100)
|
||||||
|
console.log(this.documentCodeType,'documentCodeType');
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -253,8 +256,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 下一步
|
// 下一步
|
||||||
goNext() {
|
goNext() {
|
||||||
let documentCodeType = window.localStorage.getItem('documentCodeType')
|
|
||||||
console.log(documentCodeType,'documentCodeType');
|
|
||||||
this.$toast.loading({
|
this.$toast.loading({
|
||||||
duration: 0, // 持续展示 toast
|
duration: 0, // 持续展示 toast
|
||||||
forbidClick: true, // 禁用背景点击
|
forbidClick: true, // 禁用背景点击
|
||||||
@@ -296,11 +297,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
saveInformation(data).then(res => {
|
saveInformation(data).then(res => {
|
||||||
|
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
window.localStorage.setItem('detailJump', '')
|
window.localStorage.setItem('detailJump', '')
|
||||||
if(documentCodeType == true) {
|
if(this.documentCodeType == 'true') {
|
||||||
|
console.log('11111111111111111111');
|
||||||
let url = 'AnswerTip'
|
let url = 'AnswerTip'
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
@@ -313,6 +316,7 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
console.log('222222222222222222222');
|
||||||
//GFRS_M0003为万能型产品需要投保人签署产品说明书
|
//GFRS_M0003为万能型产品需要投保人签署产品说明书
|
||||||
let url = 'insuranceClauses'
|
let url = 'insuranceClauses'
|
||||||
this.$jump({
|
this.$jump({
|
||||||
@@ -371,20 +375,48 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
saveInformation(data).then(res => {
|
saveInformation(data).then(res => {
|
||||||
|
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
window.localStorage.setItem('detailJump', '')
|
window.localStorage.setItem('detailJump', '')
|
||||||
console.log('保存了结果:' + localStorage.getItem('insurance-policyUrl'))
|
console.log('保存了结果:' + localStorage.getItem('insurance-policyUrl'))
|
||||||
let url = 'insuranceClauses'
|
if(this.documentCodeType == 'true') {
|
||||||
this.$jump({
|
console.log('3333333333333333333');
|
||||||
flag: 'h5',
|
let url = 'AnswerTip'
|
||||||
extra: {
|
this.$jump({
|
||||||
url: location.origin + '/#/sale/' + url
|
flag: 'h5',
|
||||||
},
|
extra: {
|
||||||
routerInfo: {
|
url: location.origin + '/#/sale/' + url
|
||||||
path: '/sale/' + url
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/' + url
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
} else {
|
||||||
|
console.log('4444444444444444');
|
||||||
|
//GFRS_M0003为万能型产品需要投保人签署产品说明书
|
||||||
|
let url = 'insuranceClauses'
|
||||||
|
this.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/' + url
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/' + url
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
// let url = 'insuranceClauses'
|
||||||
|
// this.$jump({
|
||||||
|
// flag: 'h5',
|
||||||
|
// extra: {
|
||||||
|
// url: location.origin + '/#/sale/' + url
|
||||||
|
// },
|
||||||
|
// routerInfo: {
|
||||||
|
// path: '/sale/' + url
|
||||||
|
// }
|
||||||
|
// })
|
||||||
} else {
|
} else {
|
||||||
that.$toast(res.resultMessage)
|
that.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user