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

修改小队

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