This commit is contained in:
wanglei
2021-12-03 18:42:32 +08:00
parent c4adcd508e
commit 75721c008e
2 changed files with 20 additions and 17 deletions

View File

@@ -50,7 +50,8 @@
</u-row>
</div>
<div class="footer cancel" v-if="detail.status==1 && detail.createUserId == user.id" @click="handleCancel">取消会议</div>
<div class="footer cancel" v-if="detail.status==1 && detail.createUserId == user.id" @click="handleCancel">取消会议
</div>
<template v-else>
<div class="footer" v-if="['1','2'].includes(detail.status) && ['0','3'].includes(detail.joinStatus)">
@@ -59,10 +60,10 @@
<div @click="updateStatus(1)">确认会议</div>
</div>
<!-- <div class="footer" v-if="['1','2'].includes(detail.status) && detail.joinStatus!=0">-->
<!-- <label>{{ detail.joinStatus|transform }}</label>-->
<!-- <img :src="$cdn + tag(detail.joinStatus)" alt="">-->
<!-- </div>-->
<!-- <div class="footer" v-if="['1','2'].includes(detail.status) && detail.joinStatus!=0">-->
<!-- <label>{{ detail.joinStatus|transform }}</label>-->
<!-- <img :src="$cdn + tag(detail.joinStatus)" alt="">-->
<!-- </div>-->
</template>
</template>
@@ -78,7 +79,7 @@
<u-avatar :src="item.avatar || (($cdn + 'common/xztx.png'))" size="74" mode="square"></u-avatar>
<text class="name" style="margin-left: 8px">{{ item.name }}</text>
</div>
<!-- <img :src="$cdn + 'common/phone.png'" alt="" @click="call(item)">-->
<!-- <img :src="$cdn + 'common/phone.png'" alt="" @click="call(item)">-->
</div>
</div>
</template>
@@ -89,7 +90,7 @@
<script>
import AiBack from "../../../components/AiBack";
import {mapActions,mapState} from "vuex";
import {mapActions, mapState} from "vuex";
import AiTopFixed from "../../../components/AiTopFixed";
export default {
@@ -105,7 +106,7 @@
detail: {},
list: false,
current: 0,
show:false,
show: false,
}
},
computed: {
@@ -120,7 +121,7 @@
},
},
methods: {
onConfirm(){
onConfirm() {
this.$http.post("/app/appmeetinginfo/cancel", null, {
params: {
meetingId: this.params,
@@ -132,10 +133,10 @@
}
})
},
handleCancel(){
handleCancel() {
this.show = true;
},
toDo(){
toDo() {
this.$http.post("/app/appmeetinginfo/tobeConfirm", null, {
params: {
meetingId: this.params,
@@ -143,9 +144,9 @@
}).then(res => {
if (res.code == 0) {
this.$u.toast("会议待定");
setTimeout(_=>{
setTimeout(_ => {
uni.navigateBack();
},800)
}, 800)
}
})
},
@@ -329,6 +330,8 @@
width: 56px;
height: 56px;
vertical-align: middle;
color: #ffffff;
background-color: #2266FF;
}
img {
@@ -485,7 +488,7 @@
color: #333333;
}
& > div:nth-child(1), & > div:nth-child(2){
& > div:nth-child(1), & > div:nth-child(2) {
width: 135px;
height: 100%;
display: flex;
@@ -518,8 +521,8 @@
}
}
.cancel{
color:#ffffff;
.cancel {
color: #ffffff;
font-size: 36px;
background-color: #005DFF
}

View File

@@ -20,7 +20,7 @@
</u-row>
<u-row class="info">
<span>发起人员</span>
<span>{{item.userName}}</span>
<ai-open-data type="userName" :openid="item.createUserId"/>
</u-row>
<u-gap height="20"></u-gap>
<u-row class="info">