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

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-wrap">
<div class="doc-detail-header" style="position: fixed;top: 0"> <div class="doc-detail-header" style="position: fixed;top: 0">
<div class="doc-detail-title"> <div class="doc-detail-title">
<!-- <span style="line-height: 66px;display: inline-block;float: left">--> <!-- <span style="line-height: 66px;display: inline-block;float: left">-->
<!-- <a-icon type="home" style="margin-right: 6px;"/>--> <!-- <a-icon type="home" style="margin-right: 6px;"/>-->
<!-- </span>--> <!-- </span>-->
<a-tooltip placement="topLeft"> <a-tooltip placement="topLeft">
<template slot="title"> <template slot="title">
<span <span
v-html="titleHeader"></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 == undefined || this.$route.query.title == null || !this.$route.query.title ? ''+'》': this.$route.query.title+'》'"></span>
<span> {{$t('StandardDetails')}}</span> <span> {{$t('StandardDetails')}}</span>
</a-tooltip> </a-tooltip>
@@ -353,7 +354,7 @@
}, },
methods: { methods: {
getInfoById() { 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) console.log(_id)
getAction(this.url.getInfo, { id: _id }).then((res) => { getAction(this.url.getInfo, { id: _id }).then((res) => {
if (res.success) { if (res.success) {