党员积分

This commit is contained in:
liuye
2022-06-30 10:24:14 +08:00
parent b7915238c3
commit 8d3d16a5f4
2 changed files with 8 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
<span>{{user.realName}}</span>
</div>
<div class="point">
<h2>{{info.integral}}</h2>
<h2>{{info.integral || 0}}</h2>
<p>累计获得积分</p>
</div>
</div>
@@ -22,11 +22,11 @@
<div class="list">
<div class="item border">
<div>本月获得积分</div>
<div>{{info.nowMonthIntegral}}</div>
<div>{{info.nowMonthIntegral || 0}}</div>
</div>
<div class="item">
<div>{{info.partyOrgName}}排名</div>
<div>{{info.orderIndex}}</div>
<div>{{info.orderIndex || 0}}</div>
</div>
</div>
<div class="footer" @click="linkTo(`../AppApplyPoint/AppApplyPoint`)">

View File

@@ -110,9 +110,13 @@ export default {
});
},
getPartyOrgList() {
this.$instance.post(`/app/partyOrganization/queryPartyOrganizationServiceList`).then((res) => {
this.$instance.post(`/app/partyOrganization/queryAllChildren`).then((res) => {
if (res.code == 0) {
this.partyOrgList = res.data
this.partyOrgList.unshift({
id: this.user.partyOrgId,
name: this.user.partyOrgName
})
}
});
},