提交 484200a5 编写于 作者: 2 222000134

修改小队

上级 348d72ec
......@@ -117,16 +117,32 @@
}))
await this.showTT1();
} else if (opt == '报名已停止') {}
} else {}
},
Refresh() {
// 刷新当前页面
var pages = getCurrentPages(); //获取所有页面的数组对象
var currPage = pages[pages.length - 1]; //当前页面
uni.reLaunch({
url: currPage.$page.fullPath
})
uniCloud.callFunction({
name: 'fe-team-activityDetail',
data: {
userId: this.userId,
activityId: this.activityId
}
})
.then(res => {
console.log(res)
this.name = res.result.data.username
this.production = res.result.data.content
this.startDate = res.result.data.startDate
this.endDate = res.result.data.endDate
this.object = res.result.data.participants
this.alreadyObject = res.result.data.enrollment
this.place = res.result.data.place
this.contact = res.result.data.contact
this.icon = res.result.data.icon
this.signStatus = res.result.qualification
}).catch((err => {
console.log(err)
}))
},
showTT1() {
if (this.applyCode2 == 200) {
......
......@@ -46,6 +46,7 @@
<script>
export default {
data() {
return {
single: '2021-04-3',
......@@ -58,7 +59,7 @@
object: '',
place: '',
contact: '',
start_date: '',
start_date: '',
end_date: '',
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册