[FIX]nbs-智能分析结果查看

This commit is contained in:
yuweiqi
2020-03-02 15:52:09 +08:00
parent 1ca41f65fd
commit 363b9da1e5
3 changed files with 9 additions and 15 deletions

View File

@@ -91,7 +91,7 @@ export default [
}
},
{
path: '/nbs/pdf/:content/:id/:half/:nbsState',
path: '/nbs/pdf/:content',
name: 'nbsPDF',
component: nbsPDF,
meta: {

View File

@@ -7,10 +7,7 @@ export default {
data() {
return {
pdfUrl: '',
downLoadUrl: '',
nbsState: this.$route.params.nbsState,
orderNo: this.$route.params.id,
half: this.$route.params.half
downLoadUrl: ''
}
},
created() {
@@ -24,9 +21,9 @@ export default {
},
mounted() {
console.log('11=== ', this.downLoadUrl)
EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
// EWebBridge.webCallAppInJs('webview_left_button', {
// intercept: '1' //是否拦截原生返回事件 1是 其他否
// })
},
methods: {
// 下载按钮
@@ -57,7 +54,7 @@ export default {
routerInfo: {
type: 2,
index: -1,
path: `/nbs/result/${this.orderNo}/${this.half}/${this.nbsState}`
path: `/nbs/result`
}
})
}

View File

@@ -24,10 +24,7 @@ export default {
data() {
return {
isHalfActive: this.$route.params.half === '0',
canClick: true,
nbsState: this.$route.params.nbsState,
orderNo: this.$route.params.id,
half: this.$route.params.half
canClick: true
}
},
methods: {
@@ -61,10 +58,10 @@ export default {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#/nbs/pdf/${content}/${this.orderNo}/${this.half}/${this.nbsState}`
url: location.origin + `/#/nbs/pdf/${content}`
},
routerInfo: {
path: `/nbs/pdf/${content}/${this.orderNo}/${this.half}/${this.nbsState}`
path: `/nbs/pdf/${content}`
}
})
})