fix:选择model搜索后,去除条件选择type搜索,删除model条件

This commit is contained in:
zhangyu
2020-11-21 11:44:44 +08:00
parent 2ed024d173
commit d25eb264e7

View File

@@ -918,6 +918,13 @@
// endpoint弹框的asset子弹框顶部搜索条件选中事件
dropdownSelect(label) {
this.assetSearch.text = "";
if(this.assetSearch.label!==label){
this.assetSearch.host = '';
this.assetSearch.sn = '';
this.assetSearch.modelId = "";
this.assetSearch.typeIds = "";
this.assetSearch.idcId = "";
}
this.assetSearch.label = label;
this.assetSearch.dropdownShow = false;
},