|
|
@ -117,7 +117,6 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
getOrderList(datas).then(res => { |
|
|
|
getOrderList(datas).then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
|
console.log('======='+JSON.stringify(res)) |
|
|
|
|
|
|
|
if (res.return_code == '000000' && res.return_data.list !='') { |
|
|
|
if (res.return_code == '000000' && res.return_data.list !='') { |
|
|
|
this.isLoadMore = res.return_data.list.length == this.pageSize ? false : true; |
|
|
|
this.isLoadMore = res.return_data.list.length == this.pageSize ? false : true; |
|
|
|
this.serviceList = this.serviceList.concat(res.return_data.list); |
|
|
|
this.serviceList = this.serviceList.concat(res.return_data.list); |
|
|
@ -127,11 +126,6 @@ |
|
|
|
this.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum; |
|
|
|
this.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.serviceList = []; |
|
|
|
this.serviceList = []; |
|
|
|
uni.showToast({ |
|
|
|
|
|
|
|
title: res.return_msg, |
|
|
|
|
|
|
|
duration: 2000, |
|
|
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|