提交 bed29a8e authored 作者: pengxiaohui's avatar pengxiaohui

已完成会议允许进入会议

上级 ba54099c
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<el-button type="text" size="small" v-if="!operatable" @click="handleDetails">查看</el-button> <el-button type="text" size="small" v-if="!operatable" @click="handleDetails">查看</el-button>
</template> </template>
<template v-if="status === 2"> <template v-if="status === 2">
<el-button type="text" size="small" v-if="operatable && isFuture" @click="handleJoin">进入会议</el-button>
<el-button type="text" size="small" v-if="operatable" @click="handleRecord">下载回放</el-button> <el-button type="text" size="small" v-if="operatable" @click="handleRecord">下载回放</el-button>
<el-button type="text" size="small" @click="handleDetails">查看</el-button> <el-button type="text" size="small" @click="handleDetails">查看</el-button>
<el-button type="text" size="small" v-if="operatable" @click="handleDelete">删除</el-button> <el-button type="text" size="small" v-if="operatable" @click="handleDelete">删除</el-button>
...@@ -51,6 +52,7 @@ import DialogDetails from './DialogDetails.vue' ...@@ -51,6 +52,7 @@ import DialogDetails from './DialogDetails.vue'
import DialogCopyInvite from './DialogCopyInvite' import DialogCopyInvite from './DialogCopyInvite'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { getMeetingDetails, stopMeeting, cancelMeeting, getMeetingRecordAddr } from '@api/common' import { getMeetingDetails, stopMeeting, cancelMeeting, getMeetingRecordAddr } from '@api/common'
import { timeTrans } from '@/utils/dateAlgs'
export default { export default {
props: { props: {
rowData: {} rowData: {}
...@@ -96,6 +98,9 @@ export default { ...@@ -96,6 +98,9 @@ export default {
} }
return flag return flag
}, },
isFuture() {
return timeTrans(this.rowData.end_time).getTime() > Date.now()
},
hasLive() { hasLive() {
return this.rowData.enable_live || false return this.rowData.enable_live || false
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论