1.修改三期优化点

This commit is contained in:
sunFlower
2022-09-27 11:26:55 +08:00
parent befe49b135
commit c39419061a
4 changed files with 22 additions and 3 deletions
+1
View File
@@ -1310,4 +1310,5 @@ module.exports = {
notExport:'Not export',
hasBeenExport:'Has been export',
firstLevelDirectory:'First level directory',
deselectAll:'Deselect All',
}
+1
View File
@@ -1411,4 +1411,5 @@ module.exports = {
notExport:'未导出',
hasBeenExport:'已导出',
firstLevelDirectory:'一级目录',
deselectAll:'取消全选',
}
@@ -31,6 +31,10 @@
</a-form>
</div>
<div class="box-content-right">
<div @click="deselectAllClick" class="operator-text">
<a-icon type="eye"/>
{{$t('deselectAll')}}
</div>
<div @click="selectAllClick" class="operator-text">
<a-icon type="eye"/>
{{$t('selectAll')}}
@@ -106,6 +110,16 @@
})
})
},
deselectAllClick(){
this.dataList.forEach(res => {
res.showOrNot = false
this.dataListOne.forEach(val => {
if (res.id == val.id) {
val.showOrNot = false
}
})
})
},
searchQuery() {
if (this.queryParam.labelName) {
this.dataList = this.dataList.filter(res => {
@@ -220,10 +234,13 @@
.operator-text {
cursor: pointer;
margin-right: 13px;
margin-right: 56px;
font-size: 14px;
font-weight: 400;
color: #040B29;
display: inline-block;
}
.operator-text:last-child{
margin-right: 13px;
}
</style>
@@ -37,9 +37,9 @@
{{$t('DocumentComparison')}}
</div>
<div @click="KnowledgeDatabaseClick" v-has="'bussLog:database'" class="operator-text-text"
:title="$t('KnowledgeDatabase')">
:title="$t('problemKnowledgeBase')">
<a-icon type="folder"/>
{{$t('KnowledgeDatabase')}}
{{$t('problemKnowledgeBase')}}
</div>
</div>
</div>