强国
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.id}`)">修改学习强国</div>
|
<div class="editBtn" @click="$linkTo(`./editIntegral?partyMemberId=${user.partyId}&id=${user.partyId}`)">修改学习强国</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -48,7 +48,7 @@ export default {
|
|||||||
getIntegral() {
|
getIntegral() {
|
||||||
this.$instance.post('/app/appparty/getPartyIntegralDetail',null,{
|
this.$instance.post('/app/appparty/getPartyIntegralDetail',null,{
|
||||||
params: {
|
params: {
|
||||||
id: this.user.id,
|
id: this.user.partyId,
|
||||||
}
|
}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if(res?.data) {
|
if(res?.data) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="title"><span>*</span>学习强国</div>
|
<div class="title"><span>*</span>学习强国</div>
|
||||||
<div class="inp">
|
<div class="inp">
|
||||||
<u-input v-model="learningIntegral" :type="number" />
|
<u-input v-model="learningIntegral" :type="number" clearable />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -27,13 +27,14 @@ export default {
|
|||||||
},
|
},
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
this.partyMemberId = o.partyMemberId
|
this.partyMemberId = o.partyMemberId
|
||||||
this.id = o.id
|
this.id = o.partyId
|
||||||
|
this.getIntegral()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getIntegral() {
|
getIntegral() {
|
||||||
this.$instance.post('/app/appparty/getPartyIntegralDetail',{
|
this.$instance.post('/app/appparty/getPartyIntegralDetail',{
|
||||||
params: {
|
params: {
|
||||||
id: this.id,
|
id: this.partyId,
|
||||||
}
|
}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if(res?.data) {
|
if(res?.data) {
|
||||||
@@ -69,12 +70,13 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.editIntegral {
|
.editIntegral {
|
||||||
padding: 0 30px;
|
background: #F3F4F5;
|
||||||
box-sizing: border-box;
|
|
||||||
.item {
|
.item {
|
||||||
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 30px 0;
|
padding: 30px 30px;
|
||||||
|
background: #FFF;
|
||||||
.title {
|
.title {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
span {
|
span {
|
||||||
|
|||||||
Reference in New Issue
Block a user