diff --git a/src/apps/AppMeetingNotice/components/belongToMe.vue b/src/apps/AppMeetingNotice/components/belongToMe.vue index 0b081056..04bf531f 100644 --- a/src/apps/AppMeetingNotice/components/belongToMe.vue +++ b/src/apps/AppMeetingNotice/components/belongToMe.vue @@ -65,10 +65,10 @@ ] } }, + created() { + this.getList() + }, methods: { - emitShow(){ - this.getList() - }, emitReachBottom(){ this.current = this.current + 1; this.getList() diff --git a/src/apps/AppMeetingNotice/components/detail.vue b/src/apps/AppMeetingNotice/components/detail.vue index 76912005..87943bfd 100644 --- a/src/apps/AppMeetingNotice/components/detail.vue +++ b/src/apps/AppMeetingNotice/components/detail.vue @@ -52,6 +52,7 @@ @@ -77,7 +78,7 @@ - + @@ -107,10 +108,25 @@ {name: this.count(0) + "人未确认"}, {name: this.count(1) + "人已确认"}, {name: this.count(2) + "人已请假"}, + {name: this.count(3) + "人待定"}, ] }, }, methods: { + toDo(){ + 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; }, @@ -448,8 +464,8 @@ color: #333333; } - & > div:first-child { - width: 270px; + & > div:nth-child(1), & > div:nth-child(2){ + width: 135px; height: 100%; display: flex; align-items: center;