会议签到
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
<u-input type="text" placeholder="请输入" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" v-model="name" maxlength="50" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item-flex">
|
||||
<div class="label">
|
||||
<span class="tips">*</span>手机号
|
||||
@@ -72,8 +71,8 @@ export default {
|
||||
}).catch((err) => {
|
||||
this.linkTo('./AddUserSuccess?status=0')
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
linkTo(url) {
|
||||
uni.navigateTo({ url })
|
||||
},
|
||||
|
||||
@@ -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