结果页面增加返回按钮

This commit is contained in:
mengxiaolong
2020-08-21 13:20:23 +08:00
parent c4e6f7ba1d
commit 3335075256
2 changed files with 35 additions and 2 deletions

View File

@@ -485,6 +485,20 @@ export default {
extra: shareObj
})
}
if (data.trigger == 'left_button_click') {
this.$jump({
flag: 'h5',
extra: {
title: '电投问题件',
// 当前页面禁止右滑返回
forbidSwipeBack: 1,
url: location.origin + `/#/questions/list`
},
routerInfo: {
path: `/questions/list`
}
})
}
},
modeChange(mode) {
if (mode !== 1) {
@@ -621,7 +635,6 @@ export default {
prtNo: this.$route.query.prtNo,
userType: Number(this.$route.query.receiveType)
})
console.log(rs.content)
// 包含投保人和被保人证件id和姓名
this.problemInfo = rs.content
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.problemInfo.pdfUrl}`)
@@ -758,7 +771,6 @@ export default {
content: localStorage.getItem('bankcardA')
})
}
console.log('转账不成功类型:::回显完成', this.transfer)
}
// 补充资料问题件
@@ -838,6 +850,9 @@ export default {
}
]
})
window.EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1'
})
}
}, 1000)
window['appCallBack'] = this.appCallBack