修改全局的标题和编号两行展示

This commit is contained in:
qq787203167
2022-06-01 16:37:11 +08:00
parent a72b1dbe92
commit 2c3d3d39cf
@@ -3,16 +3,17 @@
<div class="doc-detail-wrap">
<div class="doc-detail-header" style="position: fixed;top: 0">
<div class="doc-detail-title">
<!-- <span style="line-height: 66px;display: inline-block;float: left">-->
<!-- <a-icon type="home" style="margin-right: 6px;"/>-->
<!-- </span>-->
<!-- <span style="line-height: 66px;display: inline-block;float: left">-->
<!-- <a-icon type="home" style="margin-right: 6px;"/>-->
<!-- </span>-->
<a-tooltip placement="topLeft">
<template slot="title">
<span
v-html="titleHeader"></span>
</template>
<span v-html="$route.query.serial_number"></span>
<span v-html="'《'+ this.$route.query.title+'》'"></span>
<span
v-html="'《'+ this.$route.query.title == undefined || this.$route.query.title == null || !this.$route.query.title ? ''+'': this.$route.query.title+'》'"></span>
<span> {{$t('StandardDetails')}}</span>
</a-tooltip>
@@ -353,7 +354,7 @@
},
methods: {
getInfoById() {
let _id = this.$route.query.documentId === undefined ? this.$route.query.id : this.$route.query.documentId
let _id = this.$route.query.documentId === undefined ? this.$route.query.id : this.$route.query.documentId
console.log(_id)
getAction(this.url.getInfo, { id: _id }).then((res) => {
if (res.success) {