|
@@ -636,7 +636,6 @@
|
|
|
});
|
|
|
},
|
|
|
dutyNameSearch() {
|
|
|
- console.log(this.filterData);
|
|
|
|
|
|
if(this.filterText == "" || this.filterText == null){
|
|
|
this.treeListponly = this.filterData;
|
|
@@ -659,17 +658,13 @@
|
|
|
if(item.loginNameStr !== undefined){
|
|
|
|
|
|
if(item.loginNameStr.indexOf(this.filterText) !== -1){
|
|
|
- // console.log(item.loginNameStr);
|
|
|
this.treeListponly = this.treeListponly.filter(n=>{
|
|
|
- // console.log(n.loginNameStr);
|
|
|
- // console.log('2222', item.loginNameStr);
|
|
|
if(n.loginNameStr)
|
|
|
return n.loginNameStr.indexOf(this.filterText)!=-1;
|
|
|
else
|
|
|
{
|
|
|
return false;
|
|
|
}
|
|
|
- // return n.loginNameStr == item.loginNameStr;
|
|
|
})
|
|
|
}
|
|
|
}
|