添加权限

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>
</div>
<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')">
<a-icon type="reload"/>
{{$t('UpdateLog')}}
@@ -95,7 +95,7 @@
return {
title: this.$t('projectDetails'),
isDisplayNum: '',
textTitle: '项目详情',
textTitle: this.$t('projectDetails'),
url: {
logList: '/project/projectLawsInventoryLogEO/page',
historicalVersionUrl: '',
@@ -133,18 +133,22 @@
textColor[0].classList.remove('Virtual-detail-left-text-color')
}
let text = document.getElementsByClassName('Virtual-detail-left-text')
if (text && text.length > 0) {
for (let i = 0; i < text.length; i++) {
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')
} 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')
} else if (text[i].title == name) {
text[i].classList.add('Virtual-detail-left-text-color')
if (num == 0) {
text[num].classList.add('Virtual-detail-left-text-color')
} else {
if (text && text.length > 0) {
for (let i = 0; i < text.length; i++) {
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')
} 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')
} else if (text[i].title == name) {
text[i].classList.add('Virtual-detail-left-text-color')
}
}
}
}