| | |
| | | isShow: false, |
| | | formInline: { |
| | | litigant: '', |
| | | phone: '' |
| | | phone: '', |
| | | current:this.pageIndex, |
| | | size:this.pageSize |
| | | }, |
| | | pageSize: 10, |
| | | pageIndex: 1, |
| | |
| | | getDataList(type) { |
| | | // this.$nextTick(()=>{ |
| | | if (type == 0) { |
| | | this.formInline.type = type |
| | | this.formInline.type = type; |
| | | this.formInline.current=this.pageIndex; |
| | | this.formInline.size=this.pageSize; |
| | | getObj(this.formInline).then(res => { |
| | | this.tableData = res.data.data.records |
| | | this.total =res.data.data.total |
| | | }) |
| | | } else { |
| | | // this.formInline.type = type; |
| | | this.formInline.current=this.pageIndex; |
| | | this.formInline.size=this.pageSize; |
| | | // this.formInline.user=333 |
| | | getObj().then(res => { |
| | | getObj(this.formInline).then(res => { |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | } |
| | |
| | | sizeChangeHandle(val) { |
| | | this.pageSize = val; |
| | | this.pageIndex = 1; |
| | | // this.getDataList(); |
| | | this.getDataList(0); |
| | | }, |
| | | // 当前页 |
| | | currentChangeHandle(val) { |
| | | this.pageIndex = val; |
| | | // this.getDataList(); |
| | | this.getDataList(0); |
| | | }, |
| | | } |
| | | } |