党员积分
This commit is contained in:
@@ -42,11 +42,23 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
toAdd(row) {
|
||||
uni.navigateTo({url: `./add?integralRuleId=${row.id}&integralRuleName=${row.eventName}`})
|
||||
this.$instance.post(`/app/apppartyintegralrule/integralApply?integralId=${row.id}&partyId=${this.user.partyId}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
uni.navigateTo({url: `./add?integralRuleId=${row.id}&integralRuleName=${row.eventName}`})
|
||||
}else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.$u.toast(err)
|
||||
})
|
||||
},
|
||||
getList() {
|
||||
if(this.current > this.pages) return
|
||||
|
||||
@@ -47,6 +47,10 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.integralRuleId = options.integralRuleId
|
||||
this.integralRuleName = options.integralRuleName
|
||||
},
|
||||
|
||||
@@ -75,6 +75,10 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.id = options.id
|
||||
this.$dict.load("integralDeclareStatus").then(() => {
|
||||
this.getDetail()
|
||||
|
||||
@@ -56,6 +56,10 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.getTypeList()
|
||||
this.$dict.load("integralDeclareStatus").then(() => {
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user