1.修改三期优化点
This commit is contained in:
+18
-1
@@ -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>
|
||||
Reference in New Issue
Block a user