| | |
| | | this.page.currentPage=this.referConfig.options.page.page || this.referConfig.options.page.currentPage; |
| | | } |
| | | }, |
| | | |
| | | computed:{ |
| | | valueInfo:function (){ |
| | | return this.text ? ("已设置的值为[" + this.text + "]"): '未设置值' |
| | |
| | | } |
| | | } |
| | | getList(Object.assign(params,this.params,this.query, query),page.currentPage, page.pageSize, this.url).then(res => { |
| | | this.data = res.data.records || res.data.data.records; |
| | | this.page.total=res.data.total || res.data.data.total; |
| | | if(res.data.records){ |
| | | this.data = res.data.records |
| | | this.page.total=res.data.total ; |
| | | }else{ |
| | | this.data = res.data.data.records; |
| | | this.page.total=res.data.data.total; |
| | | } |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | }).catch(error=>{ |