会议签到

This commit is contained in:
liuye
2022-03-18 17:37:40 +08:00
parent 6c2f96da10
commit 4224194954
2 changed files with 13 additions and 3 deletions

View File

@@ -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() {