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