| | |
| | | |
| | | constructor() { |
| | | this.cards = []; |
| | | this.size = 40; |
| | | this.pageSizeOption = [30, 40, 50] |
| | | this.size = 60; |
| | | this.pageSizeOption = [30, 60, 120] |
| | | this.alarmlevel = []; |
| | | this.inputValue = ""; |
| | | this.searchTime = []; |
| | |
| | | clearStatus() { |
| | | //this.cards = []; |
| | | this.page = 1; |
| | | this.size = 40; |
| | | this.pageSizeOption = [30, 40, 50] |
| | | this.size = 60; |
| | | this.pageSizeOption = [30, 60, 120] |
| | | this.alarmlevel = []; |
| | | this.inputValue = ""; |
| | | this.showType = "search"; |
| | |
| | | |
| | | const rsp: any = await getSearchList(param); |
| | | if (rsp && rsp.success) { |
| | | debugger |
| | | this.cards.length = 0 // 清两次,第一次是为了点完之后不会出现之前数据的残影,这次是为了防止因为异步问题两次请求会出现双倍数据的问题 |
| | | this.preCards.length = 0 |
| | | if (rsp.data.datalist) { |