添加权限

This commit is contained in:
qq787203167
2022-06-09 09:19:15 +08:00
parent 52613541ad
commit d5712cfc70
2 changed files with 18 additions and 14 deletions
@@ -10,7 +10,7 @@
</span> </span>
</div> </div>
<div class="Virtual-detail-right"> <div class="Virtual-detail-right">
<div @click="UpdateLogClick" 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')"> :title="$t('UpdateLog')">
<a-icon type="reload"/> <a-icon type="reload"/>
{{$t('UpdateLog')}} {{$t('UpdateLog')}}
@@ -95,7 +95,7 @@
return { return {
title: this.$t('projectDetails'), title: this.$t('projectDetails'),
isDisplayNum: '', isDisplayNum: '',
textTitle: '项目详情', textTitle: this.$t('projectDetails'),
url: { url: {
logList: '/project/projectLawsInventoryLogEO/page', logList: '/project/projectLawsInventoryLogEO/page',
historicalVersionUrl: '', historicalVersionUrl: '',
@@ -133,18 +133,22 @@
textColor[0].classList.remove('Virtual-detail-left-text-color') textColor[0].classList.remove('Virtual-detail-left-text-color')
} }
let text = document.getElementsByClassName('Virtual-detail-left-text') let text = document.getElementsByClassName('Virtual-detail-left-text')
if (text && text.length > 0) { if (num == 0) {
for (let i = 0; i < text.length; i++) { text[num].classList.add('Virtual-detail-left-text-color')
if (text[i].title == name) { } else {
text[i].classList.add('Virtual-detail-left-text-color') if (text && text.length > 0) {
} else if (text[i].title == name) { for (let i = 0; i < text.length; i++) {
text[i].classList.add('Virtual-detail-left-text-color') if (text[i].title == name) {
} else if (text[i].title == name) { text[i].classList.add('Virtual-detail-left-text-color')
text[i].classList.add('Virtual-detail-left-text-color') } else if (text[i].title == name) {
} else if (text[i].title == name) { text[i].classList.add('Virtual-detail-left-text-color')
text[i].classList.add('Virtual-detail-left-text-color') } else if (text[i].title == name) {
} else if (text[i].title == name) { text[i].classList.add('Virtual-detail-left-text-color')
text[i].classList.add('Virtual-detail-left-text-color') } else if (text[i].title == name) {
text[i].classList.add('Virtual-detail-left-text-color')
} else if (text[i].title == name) {
text[i].classList.add('Virtual-detail-left-text-color')
}
} }
} }
} }