| @@ -356,20 +356,10 @@ export default { | |||||
| this.getList() | this.getList() | ||||
| }, | }, | ||||
| onSearch(val) { | 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.getList() | ||||
| } | |||||
| this.loading = false; | |||||
| }, | }, | ||||
| onL() { | onL() { | ||||
| this.refreshing = true; | this.refreshing = true; | ||||