mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 08:16:44 +08:00
头部返回修改为返回列表
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: jiawei
|
||||
* @Date: 2023-02-15 13:21:04
|
||||
* @LastEditors: jiawei jia.wei@ebiz-digits.com
|
||||
* @LastEditTime: 2023-02-22 14:22:03
|
||||
* @LastEditTime: 2023-02-22 18:02:11
|
||||
* @FilePath: \ebiz-h5\src\views\ebiz\sale\answerSuccess.vue
|
||||
* @Description:
|
||||
-->
|
||||
@@ -77,6 +77,14 @@ export default {
|
||||
})
|
||||
},
|
||||
mounted(){
|
||||
setTimeout(() => {
|
||||
// eslint-disable-next-line no-undef
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
img: this.$assetsUrl + 'images/del-close-btn@3x.png',
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
}, 100)
|
||||
window.appCallBack = this.appCallBack
|
||||
if (!this.$route.query.edit) {
|
||||
//如果不是编辑/导航条跳转进来的
|
||||
localStorage.setItem('salePageFlag', this.salePageFlag)
|
||||
@@ -91,6 +99,35 @@ export default {
|
||||
|
||||
},
|
||||
methods:{
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'left_button_click') {
|
||||
// return this.$dialog
|
||||
// .confirm({
|
||||
// className: 'dialog-delete',
|
||||
// title: '提示',
|
||||
// message: '退出流程可能会丢失部分数据,是否确认退出?',
|
||||
// cancelButtonColor: '#E9332E',
|
||||
// confirmButtonColor: '#FFFFFF'
|
||||
// })
|
||||
// .then(() => {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
title: '电子投保单列表',
|
||||
forbidSwipeBack: 1, //当前页面禁止右滑返回
|
||||
url: location.origin + `/#/sale/list`
|
||||
},
|
||||
routerInfo: {
|
||||
path: `/sale/list`,
|
||||
type: '1'
|
||||
}
|
||||
})
|
||||
// })
|
||||
// .catch(() => {
|
||||
// return
|
||||
// })
|
||||
}
|
||||
},
|
||||
getStatement(){
|
||||
if(this.riskEvaluationDTO.statementContent) {
|
||||
this.statementlist = this.riskEvaluationDTO.statementContent.split('\n')
|
||||
|
||||
Reference in New Issue
Block a user