29230
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
|
||||
<div class="btn">
|
||||
<div class="editBtn" @click="$linkTo(`./editIntegral?partyMemberId=${user.partyId}&id=${user.partyId}`)">修改学习强国</div>
|
||||
<div class="editBtn" @click="$linkTo(`./editIntegral?partyMemberId=${user.partyId}`)">修改学习强国</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -21,24 +21,22 @@ export default {
|
||||
return {
|
||||
learningIntegral: '',
|
||||
partyMemberId: '',
|
||||
id: '',
|
||||
flag: false,
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
this.partyMemberId = o.partyMemberId
|
||||
this.id = o.partyId
|
||||
this.getIntegral()
|
||||
},
|
||||
methods: {
|
||||
getIntegral() {
|
||||
this.$instance.post('/app/appparty/getPartyIntegralDetail',{
|
||||
this.$instance.post('/app/appparty/getPartyIntegralDetail',null,{
|
||||
params: {
|
||||
id: this.partyId,
|
||||
id: this.partyMemberId,
|
||||
}
|
||||
}).then((res) => {
|
||||
if(res?.data) {
|
||||
this.learningIntegral = { ...res.data.learningIntegral }
|
||||
this.learningIntegral = res.data.learningIntegral
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user