添加参会人状态
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user