| | |
| | | }, |
| | | loading: true, |
| | | mypage: { |
| | | size: 10, |
| | | current: 1, |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | }, |
| | | fileViewModel:false, |
| | |
| | | }, |
| | | nodeClick(data) { |
| | | //this.treeDeptId = data.id; |
| | | this.mypage.current = 1; |
| | | this.mypage.currentPage = 1; |
| | | this.onLoad(this.page); |
| | | }, |
| | | getQueryObj(){ |
| | |
| | | param.createTimeBegin = param.createTime[0]; |
| | | param.createTimeEnd = param.createTime[1]; |
| | | } |
| | | param.current = this.mypage.currentPage; |
| | | param.size = this.mypage.pageSize; |
| | | return param; |
| | | }, |
| | | handleExport() { |
| | |
| | | //this.onLoad(this.mypage); |
| | | }, |
| | | searchChange(params, done) { |
| | | this.mypage.current = 1; |
| | | this.mypage.currentPage = 1; |
| | | this.onLoad(); |
| | | done(); |
| | | }, |
| | | currentChange(current) { |
| | | this.mypage.current = current; |
| | | this.mypage.currentPage = current; |
| | | }, |
| | | sizeChange(size) { |
| | | this.mypage.size = size; |
| | | this.mypage.pageSize = size; |
| | | }, |
| | | refreshChange() { |
| | | |