|
@@ -100,11 +100,11 @@ export default {
|
|
|
// 完成: orderStatu = 4-完成
|
|
|
this.$u.api.getOrderList(param)
|
|
|
.then(res=>{
|
|
|
- for(let item of res.data.rows){
|
|
|
+ for(let item of res.data.pageInfo.rows){
|
|
|
this.orderList[orderType.index].push(item);
|
|
|
}
|
|
|
console.log('this.list[orderType.index]',this.list[orderType.index]);
|
|
|
- this.list[this.current].total = res.data.total;
|
|
|
+ this.list[this.current].total = res.data.pageInfo.total;
|
|
|
this.list[orderType.index].pageNum++;
|
|
|
if(this.orderList[this.current].length>=this.list[this.current].total){
|
|
|
this.loadStatus.splice(this.list[orderType.index].index,1,"nomore");
|