From 17f431d3df6f4873a3280a59a0fef8418ed8bd01 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Wed, 11 May 2022 11:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/documentManage/library/docDetail/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index de9f8d171..92379a71d 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -9,7 +9,7 @@ @@ -276,6 +276,7 @@ getInfo: 'document/bussDocumentLibraryEO/getInfoById', list: 'log/bussLogEO/page' }, + titleHeader: '', visibleFile: false, columnsRelated: [ { @@ -340,6 +341,15 @@ }, created() { this.getInfoById() + if (this.$route.query.serial_number && this.$route.query.title) { + this.titleHeader = this.$route.query.serial_number + ' 《' + this.$route.query.title + ' 》' + this.$t('StandardDetails') + } else if (!this.$route.query.serial_number && this.$route.query.title) { + this.titleHeader = '《' + this.$route.query.title + '》' + this.$t('StandardDetails') + } else if (this.$route.query.serial_number && !this.$route.query.title) { + this.titleHeader = this.$route.query.serial_number + ' 《' + ' 》' + this.$t('StandardDetails') + } else { + this.titleHeader = ' 《' + ' 》' + this.$t('StandardDetails') + } }, methods: { getInfoById() {