diff --git a/src/project/sanjianxi/AppApplyPoint/AppApplyPoint.vue b/src/project/sanjianxi/AppApplyPoint/AppApplyPoint.vue index 641fcf4..60c54fd 100644 --- a/src/project/sanjianxi/AppApplyPoint/AppApplyPoint.vue +++ b/src/project/sanjianxi/AppApplyPoint/AppApplyPoint.vue @@ -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 diff --git a/src/project/sanjianxi/AppApplyPoint/add.vue b/src/project/sanjianxi/AppApplyPoint/add.vue index 1457fc2..ac6ac8d 100644 --- a/src/project/sanjianxi/AppApplyPoint/add.vue +++ b/src/project/sanjianxi/AppApplyPoint/add.vue @@ -47,6 +47,10 @@ export default { }; }, onLoad(options) { + uni.setNavigationBarColor({ + frontColor: "#ffffff", + backgroundColor: "#E76056", + }) this.integralRuleId = options.integralRuleId this.integralRuleName = options.integralRuleName }, diff --git a/src/project/sanjianxi/AppApplyPoint/detail.vue b/src/project/sanjianxi/AppApplyPoint/detail.vue index a9b9602..af13b8c 100644 --- a/src/project/sanjianxi/AppApplyPoint/detail.vue +++ b/src/project/sanjianxi/AppApplyPoint/detail.vue @@ -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() diff --git a/src/project/sanjianxi/AppApplyPoint/list.vue b/src/project/sanjianxi/AppApplyPoint/list.vue index c5568cc..1034391 100644 --- a/src/project/sanjianxi/AppApplyPoint/list.vue +++ b/src/project/sanjianxi/AppApplyPoint/list.vue @@ -56,6 +56,10 @@ export default { }; }, onLoad() { + uni.setNavigationBarColor({ + frontColor: "#ffffff", + backgroundColor: "#E76056", + }) this.getTypeList() this.$dict.load("integralDeclareStatus").then(() => { this.getList() diff --git a/src/project/sanjianxi/AppPartyPoint/AppPartyPoint.vue b/src/project/sanjianxi/AppPartyPoint/AppPartyPoint.vue index 6c515ca..d72cab6 100644 --- a/src/project/sanjianxi/AppPartyPoint/AppPartyPoint.vue +++ b/src/project/sanjianxi/AppPartyPoint/AppPartyPoint.vue @@ -6,10 +6,10 @@
- 王守义 + {{user.realName}}
-

178

+

{{info.integral}}

累计获得积分

@@ -22,11 +22,11 @@
本月获得积分
-
30
+
{{info.nowMonthIntegral}}
-
双山街道排名
-
第11名
+
{{info.partyOrgName}}排名
+
第{{info.orderIndex}}名