修改禅道已知bug

This commit is contained in:
qq787203167
2022-05-11 11:36:12 +08:00
parent 44a2fa1d16
commit 17f431d3df
@@ -9,7 +9,7 @@
<a-tooltip placement="topLeft"> <a-tooltip placement="topLeft">
<template slot="title"> <template slot="title">
<span <span
v-html="this.$route.query.serial_number + ' 《'+this.$route.query.title + ' 》'+$t('StandardDetails')"></span> v-html="titleHeader"></span>
</template> </template>
<span v-html="$route.query.serial_number"></span> <span v-html="$route.query.serial_number"></span>
<span v-html="'《'+ this.$route.query.title+'》'"></span> <span v-html="'《'+ this.$route.query.title+'》'"></span>
@@ -276,6 +276,7 @@
getInfo: 'document/bussDocumentLibraryEO/getInfoById', getInfo: 'document/bussDocumentLibraryEO/getInfoById',
list: 'log/bussLogEO/page' list: 'log/bussLogEO/page'
}, },
titleHeader: '',
visibleFile: false, visibleFile: false,
columnsRelated: [ columnsRelated: [
{ {
@@ -340,6 +341,15 @@
}, },
created() { created() {
this.getInfoById() 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: { methods: {
getInfoById() { getInfoById() {