mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 21:52:53 +08:00
【IMP】 拦截原生返回事件,点击自定义关闭图片返回服务页,更改微信端签名状态的判断
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
@click="goApply"
|
||||
>理赔申请</van-button>
|
||||
<van-button
|
||||
v-if="active == 'applying'"
|
||||
v-if="active == 'applying' && item.caseStatus != '3'"
|
||||
round
|
||||
size="small"
|
||||
class="mr5"
|
||||
@@ -89,7 +89,7 @@
|
||||
@click="goEdit(item.nextSlaveStatus, item.businessNo)"
|
||||
>编辑</van-button>
|
||||
<van-button
|
||||
v-if="active == 'applying'"
|
||||
v-if="active == 'applying' && item.caseStatus != '3'"
|
||||
round
|
||||
plain
|
||||
size="small"
|
||||
@@ -357,7 +357,6 @@ export default {
|
||||
case 'Y':
|
||||
text = '已支付'
|
||||
break
|
||||
|
||||
}
|
||||
return text
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ export default {
|
||||
console.log('signInfo.status:' + signInfo.status)
|
||||
if (signInfo.status == '3') {
|
||||
console.log('``````````````````')
|
||||
// this.$set(this.list, 'applyerSignState', '1')
|
||||
this.$set(this.list, 'applyerSignState', '1')
|
||||
// console.log('list.applyerSignState: ' + this.list.applyerSignState)
|
||||
this.isDisabledComplite = false
|
||||
}
|
||||
|
||||
@@ -465,7 +465,6 @@ export default {
|
||||
url: location.origin + '/#/claims/SignatureConfirmation',
|
||||
forbidSwipeBack: '1',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/claims/SignatureConfirmation'
|
||||
|
||||
@@ -612,8 +612,7 @@ export default {
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/claims/reportSuccess',
|
||||
forbidSwipeBack: '1'
|
||||
// backToFirst: '1'
|
||||
forbidSwipeBack: '1',
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/claims/reportSuccess'
|
||||
|
||||
@@ -36,6 +36,10 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
img: this.$assetsUrl + 'images/del-close@3x.png',
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
window.appCallBack = this.appCallBack
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
@@ -62,7 +66,6 @@ export default {
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/claims/insuredInfo'
|
||||
// backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/claims/insuredInfo'
|
||||
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
typeface: false,
|
||||
idcardName: '',
|
||||
idcardNumber: ''
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -123,11 +123,20 @@ export default {
|
||||
[Collapse.name]: Collapse,
|
||||
[CollapseItem.name]: CollapseItem,
|
||||
[Dialog.name]: Dialog,
|
||||
UploadImageFile: UploadImageFile,
|
||||
UploadImageFile: UploadImageFile
|
||||
},
|
||||
created() {
|
||||
this.init()
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$route.query.edit) {
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
img: this.$assetsUrl + 'images/del-close@3x.png',
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
window.appCallBack = this.appCallBack
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 初始化
|
||||
async init() {
|
||||
@@ -158,7 +167,6 @@ export default {
|
||||
} else {
|
||||
this.progressDetail()
|
||||
this.getSignInvalid() // 获取微信中token是否失效标识码
|
||||
|
||||
}
|
||||
},
|
||||
progressDetail() {
|
||||
@@ -255,9 +263,9 @@ export default {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.idcardData.typeface = !this.idcardData.typeface
|
||||
this.idcardData.idcardName = this.list.applyerName
|
||||
this.idcardData.idcardNumber = this.list.applyerCertiCode
|
||||
this.idcardData.typeface = !this.idcardData.typeface
|
||||
this.idcardData.idcardName = this.list.applyerName
|
||||
this.idcardData.idcardNumber = this.list.applyerCertiCode
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -310,6 +318,14 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
//页面返回服务页
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'left_button_click') {
|
||||
this.$jump({
|
||||
flag: 'service'
|
||||
})
|
||||
}
|
||||
},
|
||||
// 提交
|
||||
next() {
|
||||
let that = this
|
||||
|
||||
@@ -20,6 +20,10 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
img: this.$assetsUrl + 'images/del-close@3x.png',
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
window.appCallBack = this.appCallBack
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
|
||||
Reference in New Issue
Block a user