This commit is contained in:
wanglei
2021-12-01 09:38:39 +08:00
parent 14d9edd786
commit 416b667067

View File

@@ -52,6 +52,7 @@
<div class="footer" v-if="['1','2'].includes(detail.status) && detail.joinStatus==0"> <div class="footer" v-if="['1','2'].includes(detail.status) && detail.joinStatus==0">
<div @click="updateStatus(0)">请假</div> <div @click="updateStatus(0)">请假</div>
<div @click="toDo">待定</div>
<div @click="updateStatus(1)">确认会议</div> <div @click="updateStatus(1)">确认会议</div>
</div> </div>
@@ -111,6 +112,12 @@
}, },
}, },
methods: { methods: {
toDo(){
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;
}, },
@@ -448,8 +455,8 @@
color: #333333; color: #333333;
} }
& > div:first-child { & > div:nth-child(1), & > div:nth-child(2){
width: 270px; width: 135px;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;