会议签到
This commit is contained in:
@@ -56,7 +56,8 @@
|
||||
</u-row>
|
||||
</div>
|
||||
|
||||
<div class="footer cancel" v-if="detail.status == 2 && data.joinStatus == 0">签到</div>
|
||||
<div class="footer cancel" v-if="detail.status == 2 && data.joinStatus == 1 && data.isSignIn != 1" @click="sign()">签到</div>
|
||||
|
||||
<div class="footer cancel" v-if="detail.status==1 && detail.createUserId == user.id" @click="handleCancel">取消会议</div>
|
||||
|
||||
<template v-else>
|
||||
@@ -229,6 +230,16 @@ export default {
|
||||
this.pageShow = true
|
||||
}
|
||||
})
|
||||
},
|
||||
sign() {
|
||||
this.$confirm('确定签到参会吗').then(() => {
|
||||
this.$http.post(`/app/appmeetinginfo/signin?meetingId=${this.id}`).then(res => {
|
||||
if (res && res.data) {
|
||||
this.$u.toast(`签到成功`)
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user