页签标题个性化修改

This commit is contained in:
qq787203167
2022-06-10 17:57:24 +08:00
parent 820006fe18
commit 8af3b8d2b7
11 changed files with 39 additions and 2 deletions
+1
View File
@@ -930,4 +930,5 @@ module.exports = {
pleaseWaitWhileRunning: 'Please wait while running',
roleSwitching: 'Role switching',
setCreator:'Set Creator',
documentLibraryDetails:'Document library details',
}
+1
View File
@@ -935,4 +935,5 @@ module.exports = {
pleaseWaitWhileRunning: '运行中请稍等',
roleSwitching:'角色切换',
setCreator:'设置创建人',
documentLibraryDetails:'文档库详情',
}
@@ -345,6 +345,7 @@
created() {
let _this = this
this.loading = true
document.title = this.$t('documentLibraryDetails')
this.getTitle(function() {
_this.getInfoById()
})
@@ -10,7 +10,8 @@
</span>
</div>
<div class="Virtual-detail-right">
<div @click="UpdateLogClick" v-has="'dummyLog:page'" class="operator-text-text" style="margin-right: 37px;cursor: pointer"
<div @click="UpdateLogClick" v-has="'dummyLog:page'" class="operator-text-text"
style="margin-right: 37px;cursor: pointer"
:title="$t('UpdateLog')">
<a-icon type="reload"/>
{{$t('UpdateLog')}}
@@ -584,7 +585,13 @@
]
}
},
created() {
if (this.$route.query.title == '虚拟清单详情') {
document.title = this.$t('virtualListDetails')
} else {
document.title = this.$t('maintainVirtualList')
}
},
mounted() {
this.title = this.$route.query.title
this.isTrue = this.$route.query.title == '虚拟清单详情' ? false : true
@@ -117,6 +117,9 @@
textLoading: this.$t('dataLoading')
}
},
created() {
document.title = this.$t('regulatoryCertificationTaskConfirmation')
},
mounted() {
let _this = this
this.isDisplay = false
@@ -33,6 +33,9 @@
processStep: null
}
},
created() {
document.title = this.$t('circulationHistory')
},
mounted() {
this.processNum()
},
@@ -189,6 +189,15 @@
return false
}
},
created() {
if (this.$route.query.flowType == 2) {
document.title = this.$t('confirmationOfDesignConformity')
} else if (this.$route.query.flowType == 3) {
document.title = this.$t('PrehomoConfirmation')
} else if (this.$route.query.flowType == 4) {
document.title = this.$t('verificationAndConformityconfirmation')
}
},
mounted() {
let _this = this
if (this.$route.query.flowType == 2) {
@@ -113,6 +113,9 @@
// 清单信息
this.paramsManifest = JSON.parse(localStorage.getItem('paramsManifest'))
},
created() {
document.title = this.$t('projectDetails') + '-' + this.$route.query.projectName
},
methods: {
textColor() {
let textColor = document.getElementsByClassName('Virtual-detail-left-text-color')
@@ -104,6 +104,9 @@
areaOfResponsibility: {}
}
},
created() {
document.title = this.$t('projectDetails') + '-' + this.$route.query.projectName
},
mounted() {
this.textColor(0)
this.getTaskId()
@@ -60,6 +60,9 @@
getTime: []
}
},
created() {
document.title = this.$t('regulatoryCertificationTaskPlan')
},
mounted() {
this.getTimeline()
},
@@ -128,6 +128,9 @@
]
}
},
created() {
document.title = this.$t('projectStatusAndProgress')
},
mounted() {
this.getList()
},