查询流水进行区分

This commit is contained in:
GYJ
2024-12-14 14:40:56 +08:00
parent e79e7f5874
commit cfcc0c15ec
6 changed files with 17 additions and 12 deletions

View File

@@ -155,7 +155,7 @@
//钱包明细
goqianbao() {
uni.navigateTo({
url: '/me/invite/moneyList?moneyType=1'
url: '/me/invite/moneyList?moneyType=1&viewType=2'
});
},
list() {

View File

@@ -263,12 +263,12 @@
methods: {
toGold(){
uni.navigateTo({
url:'/me/invite/moneyList?moneyType=2'
url:'/me/invite/moneyList?moneyType=2&viewType=1'
})
},
toPack(){
uni.navigateTo({
url:'/me/invite/moneyList?moneyType=1'
url:'/me/invite/moneyList?moneyType=1&viewType=1'
})
},
//获取用户分销比例

View File

@@ -36,7 +36,8 @@
page: 1,
limit: 10,
totalCount: 0,
moneyType: null
moneyType: null,
viewType: null,
}
},
onLoad: function(e) {
@@ -47,6 +48,9 @@
title: e.moneyType == 1 ? '红包明细' : '金币明细'
});
}
if (e.viewType) {
this.viewType = e.viewType
}
this.getMoney();
},
@@ -60,6 +64,7 @@
page : that.page,
limit : that.limit,
moneyType : this.moneyType,
viewType: this.viewType,
}
this.$Request.getT('app/moneyDetails/queryUserMoneyDetails', data).then(res => {