diff --git a/src/apps/AppMeetingNotice/components/detail.vue b/src/apps/AppMeetingNotice/components/detail.vue index c4958dc7..87943bfd 100644 --- a/src/apps/AppMeetingNotice/components/detail.vue +++ b/src/apps/AppMeetingNotice/components/detail.vue @@ -108,15 +108,24 @@ {name: this.count(0) + "人未确认"}, {name: this.count(1) + "人已确认"}, {name: this.count(2) + "人已请假"}, + {name: this.count(3) + "人待定"}, ] }, }, methods: { toDo(){ - this.$u.toast("会议待定"); - setTimeout(_=>{ - uni.navigateBack(); - },800) + this.$http.post("/app/appmeetinginfo/tobeConfirm", null, { + params: { + meetingId: this.id, + } + }).then(res => { + if (res.code == 0) { + this.$u.toast("会议待定"); + setTimeout(_=>{ + uni.navigateBack(); + },800) + } + }) }, count(sta) { return this.detail.attendees?.filter(e => e.joinStatus == sta)?.length;