|
|
@@ -234,14 +234,20 @@
|
|
|
/*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */
|
|
|
upCallback(page) {
|
|
|
|
|
|
+ let status = this.index
|
|
|
+ if (this.index === 3){
|
|
|
+ status = 4
|
|
|
+ }
|
|
|
+
|
|
|
//联网加载数据
|
|
|
let httpData = {
|
|
|
pageNum: page.num,
|
|
|
pageSize: 10,
|
|
|
- type: this.index
|
|
|
+ orderType:'SERVICE',
|
|
|
+ status:status
|
|
|
}
|
|
|
|
|
|
- this.$api.getMyCouponList(httpData).then((res) => {
|
|
|
+ this.$api.getOrderList(httpData).then((res) => {
|
|
|
//联网成功的回调,隐藏下拉刷新和上拉加载的状态;
|
|
|
this.mescroll.endSuccess(res.data.rows.length, res.data.rows.length === 10);
|
|
|
//设置列表数据
|