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
@@ -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>