|
|
@@ -356,20 +356,10 @@ export default { |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
onSearch(val) { |
|
|
|
this.loading = true; |
|
|
|
if(this.infoList.length>0){ |
|
|
|
let newList = [] |
|
|
|
for(let j = 0 ;j<this.infoList.length;j++){ |
|
|
|
if(this.infoList[j].content.indexOf(val)>-1){ |
|
|
|
newList.push(this.infoList[j]); |
|
|
|
} |
|
|
|
} |
|
|
|
this.infoList = newList |
|
|
|
} |
|
|
|
if(val==""){ |
|
|
|
this.infoList = [] |
|
|
|
this.queryParams.pageNum = '1' |
|
|
|
this.queryParams.projectName = val |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
this.loading = false; |
|
|
|
}, |
|
|
|
onL() { |
|
|
|
this.refreshing = true; |
|
|
|