提交 c56307c6 编写于 作者: U unknown

【数据中心】修复视图搜索和高级搜索切换显示的数据未切换的问题

上级 003d2229
......@@ -796,6 +796,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
this.createViewNode({"filterList": filterData});
}else{
this.filterItems = [];
this.createViewNode();
}
}
......@@ -813,6 +814,11 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
}
},
loadCustomSearch: function(){
if( this.lastFilterItems ){
this.filterItems = this.lastFilterItems;
}else{
this.filterItems = [];
}
debugger;
this.viewSearchIconNode.setStyle("display", "none");
this.viewSearchInputBoxNode.setStyle("display", "none");
......@@ -1074,6 +1080,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
if(this.setContentHeightFun)this.setContentHeightFun();
}.bind(this));
this.lastFilterItems = this.filterItems;
this.createViewNode({"filterList": this.json.filter ? this.json.filter.clone() : null});
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册