添加参会人状态
This commit is contained in:
@@ -108,15 +108,24 @@
|
|||||||
{name: this.count(0) + "人未确认"},
|
{name: this.count(0) + "人未确认"},
|
||||||
{name: this.count(1) + "人已确认"},
|
{name: this.count(1) + "人已确认"},
|
||||||
{name: this.count(2) + "人已请假"},
|
{name: this.count(2) + "人已请假"},
|
||||||
|
{name: this.count(3) + "人待定"},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toDo(){
|
toDo(){
|
||||||
this.$u.toast("会议待定");
|
this.$http.post("/app/appmeetinginfo/tobeConfirm", null, {
|
||||||
setTimeout(_=>{
|
params: {
|
||||||
uni.navigateBack();
|
meetingId: this.id,
|
||||||
},800)
|
}
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$u.toast("会议待定");
|
||||||
|
setTimeout(_=>{
|
||||||
|
uni.navigateBack();
|
||||||
|
},800)
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
count(sta) {
|
count(sta) {
|
||||||
return this.detail.attendees?.filter(e => e.joinStatus == sta)?.length;
|
return this.detail.attendees?.filter(e => e.joinStatus == sta)?.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user