|
@@ -43,11 +43,12 @@ export default {
|
|
|
{ title: '收益', sauts: 1 },
|
|
{ title: '收益', sauts: 1 },
|
|
|
{ title: '支出', sauts: 2 }
|
|
{ title: '支出', sauts: 2 }
|
|
|
],
|
|
],
|
|
|
- list: []
|
|
|
|
|
|
|
+ list: [],
|
|
|
|
|
+ page:1
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onShow: function() {
|
|
onShow: function() {
|
|
|
- page = 1
|
|
|
|
|
|
|
+ this.page = 1
|
|
|
this.list = []
|
|
this.list = []
|
|
|
this.loadData()
|
|
this.loadData()
|
|
|
},
|
|
},
|
|
@@ -60,7 +61,7 @@ export default {
|
|
|
limit: 10
|
|
limit: 10
|
|
|
}
|
|
}
|
|
|
uni.showLoading({ mask: true })
|
|
uni.showLoading({ mask: true })
|
|
|
- u_post("ShuZiTeaIntegral/integral/integralList", data).then(res => {
|
|
|
|
|
|
|
+ post("/my/integral", data).then(res => {
|
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
|
let obj = res.dataList
|
|
let obj = res.dataList
|