修改禅道已知bug
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user