From 158270393e40b8bb96eb3c853154fcfefd28817f Mon Sep 17 00:00:00 2001 From: yuweiqi Date: Mon, 2 Mar 2020 14:11:55 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]nbs-=E6=99=BA=E8=83=BD=E5=88=86=E6=9E=90?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/ebiz/nbs.js | 2 +- src/views/ebiz/nbs/PDF.vue | 2 +- src/views/ebiz/nbs/Result.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/router/ebiz/nbs.js b/src/router/ebiz/nbs.js index a8d95108e..19f02cbed 100644 --- a/src/router/ebiz/nbs.js +++ b/src/router/ebiz/nbs.js @@ -37,7 +37,7 @@ export default [ } }, { - path: '/nbs/result/:id/:half/:nbsState', + path: '/nbs/result/:id/:half/:nbsState/:canClick', name: 'nbsResult', component: nbsResult, meta: { diff --git a/src/views/ebiz/nbs/PDF.vue b/src/views/ebiz/nbs/PDF.vue index 7a67c31fe..81172141f 100644 --- a/src/views/ebiz/nbs/PDF.vue +++ b/src/views/ebiz/nbs/PDF.vue @@ -57,7 +57,7 @@ export default { routerInfo: { type: 2, index: -1, - path: `/nbs/result/${this.orderNo}/${this.half}/${this.nbsState}` + path: `/nbs/result/${this.orderNo}/${this.half}/${this.nbsState}/true` } }) } diff --git a/src/views/ebiz/nbs/Result.vue b/src/views/ebiz/nbs/Result.vue index d45fa00fd..fc07c4c99 100644 --- a/src/views/ebiz/nbs/Result.vue +++ b/src/views/ebiz/nbs/Result.vue @@ -17,12 +17,12 @@ import { makePDF } from '@/api/ebiz/nbs' export default { created() { window.appCallBack = this.appCallBack //app回调 - this.canClick = true + this.canClick = this.$route.params.canClick || true }, data() { return { isHalfActive: this.$route.params.half === '0', - canClick: true, + canClick: this.$route.params.canClick || true, nbsState: this.$route.params.nbsState, orderNo: this.$route.params.id, half: this.$route.params.half