【建议书】建议书预览页面,左上角×返回建议书列表页

This commit is contained in:
yuweiqi
2020-05-23 21:09:40 +08:00
parent a932677a45
commit 44af90aaaa
2 changed files with 15 additions and 1 deletions

View File

@@ -111,11 +111,26 @@ export default {
},
created() {
// document.body.style.backgroundColor = '#F5F5F5'
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = this.appCallBack
},
mounted() {
this.loadMore()
},
methods: {
appCallBack(data) {
if (data.trigger == 'left_button_click') {
this.$jump({
flag: 'home',
extra: {}
})
}
},
//获取建议书列表
getProposalList(tabType, pageInfo) {
let status = '0' + tabType