| | |
| | | if(newval) { |
| | | this.sourceDataMapParams=this.sourceDataMap(); |
| | | this.getParams(); |
| | | this.handleRefresh(); |
| | | // this.handleRefresh(); |
| | | } |
| | | }, |
| | | deep: true, |
| | |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | if (Object.keys(this.sourceData).length>0 && this.isShow) { |
| | | this.tableList = []; |
| | | this.loading = true; |
| | | getList(page.currentPage, page.pageSize, Object.assign({},this.params,this.query,params)).then(res => { |
| | | let data = []; |
| | |
| | | this.onLoad(this.page,parms); |
| | | }, |
| | | searchReset() { |
| | | console.log('searchReset') |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | |
| | | } |
| | | }, |
| | | handleRefresh(type) { |
| | | console.log('handleRefresh') |
| | | this.onLoad(this.page); |
| | | }, |
| | | rowExcel() { |