邻里互助 去参与按钮

This commit is contained in:
liuye
2023-04-12 11:30:21 +08:00
parent 39067e6285
commit 4ba8594b28
2 changed files with 12 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ div<template>
<h3>{{ info.createUserName }}</h3> <h3>{{ info.createUserName }}</h3>
<span v-if="info.publishDepartName">{{ info.publishDepartName }}</span> <span v-if="info.publishDepartName">{{ info.publishDepartName }}</span>
</div> </div>
<div class="top-btn" v-if="info.integralTaskId && info.integralTaskInfo.status != 2" @click="toTask">去参与</div> <div class="top-btn" v-if="info.integralTaskId && info.integralTaskInfo.status != 2 && info.showSignBtn" @click="toTask">去参与</div>
</div> </div>
<div class="item-content"> <div class="item-content">
<span v-if="name" @click="toTopic('./TopicDetail?themeId=' + themeId + '&name=' + name)">#{{ name }}</span> <span v-if="name" @click="toTopic('./TopicDetail?themeId=' + themeId + '&name=' + name)">#{{ name }}</span>
@@ -254,7 +254,6 @@ div<template>
}).then(res => { }).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.info = res.data this.info = res.data
this.pageShow = true this.pageShow = true
} }

View File

@@ -93,9 +93,19 @@ export default {
...mapState(['user']), ...mapState(['user']),
}, },
onLoad() { onLoad() {
this.getList()
}, },
methods: { methods: {
getListInit() {
},
getList() {
this.$instance.post(`/app/appintegralsupermarketgoods/list`).then(res => {
if (res.code === 0) {
}
})
},
changeTab(index) { changeTab(index) {
this.currentTabs = index this.currentTabs = index
// this.getListInit() // this.getListInit()